Uses of Class
com.kenai.jffi.Function
Packages that use Function
-
Uses of Function in com.kenai.jffi
Methods in com.kenai.jffi with parameters of type FunctionModifier and TypeMethodDescriptionprivate static byte[]
private static byte[]
private static byte[]
private static byte[]
HeapObjectParameterInvoker.encodeN6
(Function function, long n1, long n2, long n3, long n4, long n5, long n6) final void
Invokes a function, with the parameters loaded into native memory buffers, and the function result is stored in a native memory buffer.long
Invoker.invokeAddress
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a native memory address.final BigDecimal
Invoker.invokeBigDecimal
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit floating point value.final double
Invoker.invokeDouble
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit floating point value.final float
Invoker.invokeFloat
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a 32 bit floating point value.final int
Invoker.invokeIIIIIIrI
(Function function, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) Deprecated.final int
Invoker.invokeIIIIIrI
(Function function, int arg1, int arg2, int arg3, int arg4, int arg5) Deprecated.final int
Invoker.invokeIIIIrI
(Function function, int arg1, int arg2, int arg3, int arg4) Deprecated.final int
Invoker.invokeIIIrI
(Function function, int arg1, int arg2, int arg3) Deprecated.final int
Invoker.invokeIIrI
(Function function, int arg1, int arg2) Deprecated.final int
Invoker.invokeInt
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a 32 bit integer value.final int
Deprecated.final long
Invoker.invokeLLLLLLrL
(Function function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6) Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.final long
Invoker.invokeLLLLLrL
(Function function, long arg1, long arg2, long arg3, long arg4, long arg5) Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.final long
Invoker.invokeLLLLrL
(Function function, long arg1, long arg2, long arg3, long arg4) Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.final long
Invoker.invokeLLLrL
(Function function, long arg1, long arg2, long arg3) Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.final long
Invoker.invokeLLrL
(Function function, long arg1, long arg2) Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.final long
Invoker.invokeLong
(Function function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit integer value.final long
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.long
HeapObjectParameterInvoker.invokeN1O1rN
(Function function, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) final long
NativeObjectParameterInvoker.invokeN1O1rN
(Function function, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) abstract long
ObjectParameterInvoker.invokeN1O1rN
(Function function, long n1, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.long
HeapObjectParameterInvoker.invokeN2O1rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) final long
NativeObjectParameterInvoker.invokeN2O1rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Invokes a function with two numeric arguments, and returns a numeric value.abstract long
ObjectParameterInvoker.invokeN2O1rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Invokes a function with two numeric arguments, and returns a numeric value.long
HeapObjectParameterInvoker.invokeN2O2rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) final long
NativeObjectParameterInvoker.invokeN2O2rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) Invokes a function with two numeric arguments, and returns a numeric value.abstract long
ObjectParameterInvoker.invokeN2O2rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) Invokes a function with two numeric arguments, and returns a numeric value.long
HeapObjectParameterInvoker.invokeN3O1rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) final long
NativeObjectParameterInvoker.invokeN3O1rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Invokes a function with two numeric arguments, and returns a numeric value.abstract long
ObjectParameterInvoker.invokeN3O1rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Invokes a function with two numeric arguments, and returns a numeric value.long
HeapObjectParameterInvoker.invokeN3O2rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) final long
NativeObjectParameterInvoker.invokeN3O2rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) Invokes a function with two numeric arguments, and returns a numeric value.abstract long
ObjectParameterInvoker.invokeN3O2rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
HeapObjectParameterInvoker.invokeN3O3rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final long
NativeObjectParameterInvoker.invokeN3O3rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) abstract long
ObjectParameterInvoker.invokeN3O3rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) long
HeapObjectParameterInvoker.invokeN4O1rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) final long
NativeObjectParameterInvoker.invokeN4O1rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) abstract long
ObjectParameterInvoker.invokeN4O1rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) long
HeapObjectParameterInvoker.invokeN4O2rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) final long
NativeObjectParameterInvoker.invokeN4O2rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) abstract long
ObjectParameterInvoker.invokeN4O2rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
HeapObjectParameterInvoker.invokeN4O3rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final long
NativeObjectParameterInvoker.invokeN4O3rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) abstract long
ObjectParameterInvoker.invokeN4O3rN
(Function function, long n1, long n2, long n3, long n4, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) long
HeapObjectParameterInvoker.invokeN5O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) long
NativeObjectParameterInvoker.invokeN5O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) abstract long
ObjectParameterInvoker.invokeN5O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) long
HeapObjectParameterInvoker.invokeN5O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
NativeObjectParameterInvoker.invokeN5O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) abstract long
ObjectParameterInvoker.invokeN5O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
HeapObjectParameterInvoker.invokeN5O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final long
NativeObjectParameterInvoker.invokeN5O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) abstract long
ObjectParameterInvoker.invokeN5O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) long
HeapObjectParameterInvoker.invokeN6O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) long
NativeObjectParameterInvoker.invokeN6O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) abstract long
ObjectParameterInvoker.invokeN6O1rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) long
HeapObjectParameterInvoker.invokeN6O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
NativeObjectParameterInvoker.invokeN6O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) abstract long
ObjectParameterInvoker.invokeN6O2rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) long
HeapObjectParameterInvoker.invokeN6O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final long
NativeObjectParameterInvoker.invokeN6O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) abstract long
ObjectParameterInvoker.invokeN6O3rN
(Function function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final long
Invoker.invokeNNNNNNrN
(Function function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6) Invokes a function with six numeric arguments, and returns a numeric value.final long
Invoker.invokeNNNNNrN
(Function function, long arg1, long arg2, long arg3, long arg4, long arg5) Invokes a function with five numeric arguments, and returns a numeric value.final long
Invoker.invokeNNNNrN
(Function function, long arg1, long arg2, long arg3, long arg4) Invokes a function with four numeric arguments, and returns a numeric value.final long
Invoker.invokeNNNO1rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Deprecated.final long
Invoker.invokeNNNO2rN
(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) Deprecated.final long
Invoker.invokeNNNrN
(Function function, long arg1, long arg2, long arg3) Invokes a function with three numeric arguments, and returns a numeric value.final long
Invoker.invokeNNO1rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) Deprecated.final long
Invoker.invokeNNO2rN
(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) Deprecated.final long
Invoker.invokeNNrN
(Function function, long arg1, long arg2) Invokes a function with two numeric arguments, and returns a numeric value.final int
Invoker.invokeNoErrnoIIIrI
(Function function, int arg1, int arg2, int arg3) Deprecated.final int
Invoker.invokeNoErrnoIIrI
(Function function, int arg1, int arg2) Deprecated.final int
Invoker.invokeNoErrnoIrI
(Function function, int arg1) Deprecated.final int
Invoker.invokeNoErrnoVrI
(Function function) Deprecated.final long
Invokes a function with one numeric argument, and returns a numeric value.private long
HeapObjectParameterInvoker.invokeO1
(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags) private long
HeapObjectParameterInvoker.invokeO2
(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags) private long
HeapObjectParameterInvoker.invokeO3
(Function function, byte[] paramBuffer, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags, Object o3, int o3off, int o3len, ObjectParameterInfo o3flags) final Object
Invoker.invokeObject
(Function function, HeapInvocationBuffer buffer) final byte[]
Invoker.invokeStruct
(Function function, HeapInvocationBuffer buffer) Invokes a function that returns a C struct by value.final void
Invoker.invokeStruct
(Function function, HeapInvocationBuffer buffer, byte[] returnBuffer, int offset) Invokes a function that returns a C struct by value.final int
Deprecated.final long
Invokes a function with no arguments, and returns a 64 bit integer.final long
Invokes a function with no arguments, and returns a numeric value.Constructors in com.kenai.jffi with parameters of type FunctionModifierConstructorDescriptionHeapInvocationBuffer
(Function function) Creates a new instance ofHeapInvocationBuffer
.