Skip navigation links
A B C D E F G H I L M N O P R S T U V 

A

address(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
 
addressMask() - Method in class com.kenai.jffi.Platform
Gets the 32/64bit mask of a C address/pointer on the native platform.
addressMask - Variable in enum com.kenai.jffi.Platform.CPU
 
addressSize() - Method in class com.kenai.jffi.Platform
Gets the size of a C address/pointer on the native platform.
Aggregate - Class in com.kenai.jffi
 
alignment() - Method in class com.kenai.jffi.Type
Gets the alignment of this type.
allocate(Object) - Method in class com.kenai.jffi.ClosureMagazine
 
allocateMemory(long, boolean) - Method in class com.kenai.jffi.MemoryIO
Allocates native memory.
allocatePages(int, int) - Method in class com.kenai.jffi.PageManager
Allocates native memory pages.
Array - Class in com.kenai.jffi
Describes the layout of a C array
Array(Type, int) - Constructor for class com.kenai.jffi.Array
Creates a new C array layout description.
ARRAY - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
ARRAY - Static variable in class com.kenai.jffi.ObjectParameterType
 
ArrayFlags - Class in com.kenai.jffi
Flags to use when adding an array as a pointer parameter

B

BOOLEAN - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
BOOLEAN - Static variable in class com.kenai.jffi.ObjectParameterType
 
BUFFER - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
BUFFER - Static variable in class com.kenai.jffi.ObjectParameterType
 
BYTE - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
BYTE - Static variable in class com.kenai.jffi.ObjectParameterType
 

C

CallContext - Class in com.kenai.jffi
Native function call context This class holds all the information that JFFI needs to correctly call a native function, or to implement a callback from native code to java.
CallContext(Type, Type...) - Constructor for class com.kenai.jffi.CallContext
Creates a new instance of Function with default calling convention.
CallContext(Type, Type[], CallingConvention) - Constructor for class com.kenai.jffi.CallContext
Creates a new instance of Function.
CallContext(Type, Type[], CallingConvention, boolean) - Constructor for class com.kenai.jffi.CallContext
 
CallContextCache - Class in com.kenai.jffi
 
CallingConvention - Enum in com.kenai.jffi
Defines the function calling conventions.
CHAR - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
CHAR - Static variable in class com.kenai.jffi.ObjectParameterType
 
CLEAR - Static variable in class com.kenai.jffi.ArrayFlags
For OUT arrays, clear the native memory area before passing to the native function
CLEAR - Static variable in class com.kenai.jffi.ObjectParameterInfo
For OUT arrays, clear the native memory area before passing to the native function
Closure - Interface in com.kenai.jffi
Represents a native closure.
Closure.Buffer - Interface in com.kenai.jffi
An interface to the native callback parameter buffer.
Closure.Handle - Interface in com.kenai.jffi
A Handle is allocated by the ClosureManager, as a strong reference to the native closure trampoline.
ClosureMagazine - Class in com.kenai.jffi
 
ClosureManager - Class in com.kenai.jffi
Allocates and manages the lifecycle of native closures (aka callbacks)
ClosurePool - Class in com.kenai.jffi
 
com.kenai.jffi - package com.kenai.jffi
 
com.kenai.jffi.internal - package com.kenai.jffi.internal
 
copyMemory(long, long, long) - Method in class com.kenai.jffi.MemoryIO
Copies contents of a native memory location to another native memory location.
create(int, ObjectParameterInfo.ObjectType, ObjectParameterInfo.ComponentType, int) - Static method in class com.kenai.jffi.ObjectParameterInfo
 
create(int, int) - Static method in class com.kenai.jffi.ObjectParameterInfo
 
create(ObjectParameterType.ObjectType, ObjectParameterType.ComponentType) - Static method in class com.kenai.jffi.ObjectParameterType
 

D

dataModel - Variable in enum com.kenai.jffi.Platform.CPU
 
DIRECT - Static variable in class com.kenai.jffi.ObjectParameterStrategy
 
DirectObjectParameterStrategy - Class in com.kenai.jffi
 
DirectObjectParameterStrategy(boolean, ObjectParameterType) - Constructor for class com.kenai.jffi.DirectObjectParameterStrategy
 
dispose() - Method in class com.kenai.jffi.Aggregate
 
dispose() - Method in class com.kenai.jffi.CallContext
Deprecated.
dispose() - Method in interface com.kenai.jffi.Closure.Handle
Releases the closure memory back to the operating system.
dispose() - Method in class com.kenai.jffi.ClosureMagazine
 
dispose() - Method in class com.kenai.jffi.Function
Deprecated.
DOUBLE - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
DOUBLE - Static variable in class com.kenai.jffi.ObjectParameterType
 
DOUBLE - Static variable in class com.kenai.jffi.Type
The native double type

E

equals(Object) - Method in class com.kenai.jffi.Array
 
equals(Object) - Method in class com.kenai.jffi.CallContext
 
equals(Object) - Method in class com.kenai.jffi.ObjectParameterInfo
 
equals(Object) - Method in class com.kenai.jffi.ObjectParameterType
 
equals(Object) - Method in class com.kenai.jffi.Struct
 
equals(Object) - Method in class com.kenai.jffi.Type
 
equals(Object) - Method in class com.kenai.jffi.Union
 
equalsIgnoreCase(String, String, Locale) - Static method in class com.kenai.jffi.Util
 

F

FaultException - Exception in com.kenai.jffi
 
finalize() - Method in class com.kenai.jffi.Aggregate
 
finalize() - Method in class com.kenai.jffi.CallContext
 
finalize() - Method in class com.kenai.jffi.ClosureMagazine
 
finalize() - Method in class com.kenai.jffi.Library
 
FLOAT - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
FLOAT - Static variable in class com.kenai.jffi.ObjectParameterType
 
FLOAT - Static variable in class com.kenai.jffi.Type
The native float type
free() - Method in interface com.kenai.jffi.Closure.Handle
Deprecated.
freeMemory(long) - Method in class com.kenai.jffi.MemoryIO
Releases memory allocated via MemoryIO.allocateMemory(long, boolean) back to the system.
freePages(long, int) - Method in class com.kenai.jffi.PageManager
Free pages allocated via PageManager.allocatePages(int, int)
Function - Class in com.kenai.jffi
Native function invocation context This class holds all the information that JFFI needs to correctly call a native function.
Function(long, Type, Type...) - Constructor for class com.kenai.jffi.Function
Creates a new instance of Function with default calling convention.
Function(long, CallContext) - Constructor for class com.kenai.jffi.Function
Creates a new instance of Function with default calling convention.
Function(long, Type, Type[], CallingConvention) - Constructor for class com.kenai.jffi.Function
Creates a new instance of Function.
Function(long, Type, Type[], CallingConvention, boolean) - Constructor for class com.kenai.jffi.Function
Creates a new instance of Function.

G

get() - Method in class com.kenai.jffi.LastError
Gets the errno set by the last C function invoked by the current thread.
getAddress(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a native pointer parameter.
getAddress() - Method in interface com.kenai.jffi.Closure.Handle
Gets the native code address of the closure.
getAddress(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
 
getAddress(long) - Method in class com.kenai.jffi.MemoryIO
Reads a native memory address from a native memory location.
getByte(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of an 8 bit integer parameter.
getByte(long) - Method in class com.kenai.jffi.MemoryIO
Reads an 8 bit integer from a native memory location.
getByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java byte array from native memory.
getCachedInstance(String, int) - Static method in class com.kenai.jffi.Library
Gets a handle for the named library.
getCallContext(Type, Type[], CallingConvention, boolean) - Static method in class com.kenai.jffi.CallContext
Returns a CallContext instance.
getCallContext(Type, Type[], CallingConvention, boolean, boolean) - Static method in class com.kenai.jffi.CallContext
 
getCallContext(Type, Type[], CallingConvention) - Method in class com.kenai.jffi.CallContextCache
 
getCallContext(Type, Type[], CallingConvention, boolean) - Method in class com.kenai.jffi.CallContextCache
 
getCallContext(Type, Type[], CallingConvention, boolean, boolean) - Method in class com.kenai.jffi.CallContextCache
 
getCallContext() - Method in class com.kenai.jffi.Function
 
getCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java char array from native memory.
getCheckedInstance() - Static method in class com.kenai.jffi.MemoryIO
 
getClosurePool(CallContext) - Method in class com.kenai.jffi.ClosureManager
 
getCPU() - Static method in class com.kenai.jffi.internal.StubLoader
 
getCPU() - Method in class com.kenai.jffi.Platform
Gets the current processor architecture the JVM is running on.
getDefault() - Static method in class com.kenai.jffi.Library
Gets a handle to the default library.
getDirectBufferAddress(Buffer) - Method in class com.kenai.jffi.MemoryIO
Gets the native memory address of a direct ByteBuffer
getDouble(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a 64 bit floating point parameter.
getDouble(long) - Method in class com.kenai.jffi.MemoryIO
Reads a 64 bit floating point value from a native memory location.
getDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java double array from native memory.
getElementType() - Method in class com.kenai.jffi.Array
Returns the type of elements in the array
getErrnoSaveFunction() - Static method in class com.kenai.jffi.Internals
 
getError() - Method in class com.kenai.jffi.LastError
Deprecated.
getFailureCause() - Static method in class com.kenai.jffi.internal.StubLoader
 
getFastNumericInvoker(CallContext, long) - Static method in class com.kenai.jffi.InvokeDynamicSupport
 
getFloat(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a 32 bit floating point parameter.
getFloat(long) - Method in class com.kenai.jffi.MemoryIO
Reads a 32 bit floating point value from a native memory location.
getFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java float array from native memory.
getFunctionAddress() - Method in class com.kenai.jffi.Function
Gets the address of the function.
getInstance() - Static method in class com.kenai.jffi.CallContextCache
Gets the global instance of the CallContextCache
getInstance() - Static method in class com.kenai.jffi.ClosureManager
Gets the global instance of the ClosureManager
getInstance() - Static method in class com.kenai.jffi.Invoker
Gets the Invoker singleton.
getInstance() - Static method in class com.kenai.jffi.LastError
Gets the singleton instance of the LastError object.
getInstance() - Static method in class com.kenai.jffi.MemoryIO
Gets an instance of MemoryIO that can be used to access native memory.
getInstance() - Static method in class com.kenai.jffi.ObjectParameterInvoker
 
getInstance() - Static method in class com.kenai.jffi.PageManager
Gets the page manager for the current platform.
getInt(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a 32 bit integer parameter.
getInt(long) - Method in class com.kenai.jffi.MemoryIO
Reads a 32 bit integer from a native memory location.
getIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java int array from native memory.
getJavaMajorVersion() - Method in class com.kenai.jffi.Platform
Gets the version of the Java Virtual Machine (JVM) jffi is running on.
getLastError() - Static method in class com.kenai.jffi.Library
Gets the current error string from dlopen/LoadLibrary.
getLibraryNamePattern() - Method in class com.kenai.jffi.Platform
Gets the regex string used to match platform-specific libraries
getLong(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a 64 bit integer parameter.
getLong(long) - Method in class com.kenai.jffi.MemoryIO
Reads a 64 bit integer from a native memory location.
getLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java long array from native memory.
getMethod() - Method in class com.kenai.jffi.InvokeDynamicSupport.Invoker
 
getMethodHandle() - Method in class com.kenai.jffi.InvokeDynamicSupport.Invoker
 
getName() - Method in class com.kenai.jffi.Platform
Gets the name of this Platform.
getObjectParameterInvoker() - Method in class com.kenai.jffi.Invoker
Gets the fast-path object parameter invoker.
getOS() - Static method in class com.kenai.jffi.internal.StubLoader
 
getOS() - Method in class com.kenai.jffi.Platform
Gets the current Operating System.
getParameterCount() - Method in class com.kenai.jffi.CallContext
Gets the number of parameters the native function accepts.
getParameterCount() - Method in class com.kenai.jffi.Function
Gets the number of parameters the native function accepts.
getParameterIndex() - Method in class com.kenai.jffi.ObjectParameterInfo
 
getParameterType(int) - Method in class com.kenai.jffi.CallContext
Gets the type of a parameter.
getParameterType(int) - Method in class com.kenai.jffi.Function
Gets the type of a parameter.
getPlatform() - Static method in class com.kenai.jffi.Platform
Gets the current Platform
getPlatformName() - Static method in class com.kenai.jffi.internal.StubLoader
Gets the name of this Platform.
getRawParameterSize() - Method in class com.kenai.jffi.CallContext
Gets the number of bytes required to pack all the parameters this function accepts, into a region of memory.
getRawParameterSize() - Method in class com.kenai.jffi.Function
Gets the number of bytes required to pack all the parameters this function accepts, into a region of memory.
getReturnType() - Method in class com.kenai.jffi.CallContext
Gets the native return type of this function.
getReturnType() - Method in class com.kenai.jffi.Function
Gets the native return type of this function.
getShort(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the value of a 16 bit integer parameter.
getShort(long) - Method in class com.kenai.jffi.MemoryIO
Reads a 16 bit integer from a native memory location.
getShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO
Reads a java short array from native memory.
getSignal() - Method in exception com.kenai.jffi.FaultException
 
getStringLength(long) - Method in class com.kenai.jffi.MemoryIO
Gets the length of a native ascii or utf-8 string.
getStruct(int) - Method in interface com.kenai.jffi.Closure.Buffer
Gets the address of a struct parameter that is passed by value.
getSymbolAddress(String) - Method in class com.kenai.jffi.Library
Gets the address of a symbol within the Library.
getZeroTerminatedByteArray(long) - Method in class com.kenai.jffi.MemoryIO
Reads a byte array from native memory, stopping when a zero byte is found.
getZeroTerminatedByteArray(long, int) - Method in class com.kenai.jffi.MemoryIO
Reads a byte array from native memory, stopping when a zero byte is found, or the maximum length is reached.
getZeroTerminatedByteArray(long, long) - Method in class com.kenai.jffi.MemoryIO
Deprecated.
GLOBAL - Static variable in class com.kenai.jffi.Library
All symbols in the library are made available to other libraries

H

hashCode() - Method in class com.kenai.jffi.Array
 
hashCode() - Method in class com.kenai.jffi.CallContext
 
hashCode() - Method in class com.kenai.jffi.ObjectParameterInfo
 
hashCode() - Method in class com.kenai.jffi.ObjectParameterType
 
hashCode() - Method in class com.kenai.jffi.Struct
 
hashCode() - Method in class com.kenai.jffi.Type
 
hashCode() - Method in class com.kenai.jffi.Union
 
HEAP - Static variable in class com.kenai.jffi.ObjectParameterStrategy
 
HeapInvocationBuffer - Class in com.kenai.jffi
An implementation of InvocationBuffer that packs its parameters onto a java heap allocated buffer.
HeapInvocationBuffer(Function) - Constructor for class com.kenai.jffi.HeapInvocationBuffer
Creates a new instance of HeapInvocationBuffer.
HeapInvocationBuffer(CallContext) - Constructor for class com.kenai.jffi.HeapInvocationBuffer
Creates a new instance of HeapInvocationBuffer.
HeapInvocationBuffer(CallContext, int) - Constructor for class com.kenai.jffi.HeapInvocationBuffer
Creates a new instance of HeapInvocationBuffer.

I

IN - Static variable in class com.kenai.jffi.ArrayFlags
Copy the array contents to native memory before calling the function
IN - Static variable in class com.kenai.jffi.ObjectParameterInfo
Copy the array contents to native memory before calling the function
indexOf(long, byte) - Method in class com.kenai.jffi.MemoryIO
Finds the location of a byte value in a native memory region.
indexOf(long, byte, int) - Method in class com.kenai.jffi.MemoryIO
Finds the location of a byte value in a native memory region.
INT - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
INT - Static variable in class com.kenai.jffi.ObjectParameterType
 
Internals - Class in com.kenai.jffi
Retrieves metadata about jffi C internals
InvocationBuffer - Class in com.kenai.jffi
A parameter buffer used when invoking a function
InvocationBuffer() - Constructor for class com.kenai.jffi.InvocationBuffer
 
invoke(Closure.Buffer) - Method in interface com.kenai.jffi.Closure
 
invoke(Function, long, long[]) - Method in class com.kenai.jffi.Invoker
Invokes a function, with the parameters loaded into native memory buffers, and the function result is stored in a native memory buffer.
invoke(CallContext, long, long, long[]) - Method in class com.kenai.jffi.Invoker
Invokes a function, with the parameters loaded into native memory buffers, and the function result is stored in a native memory buffer.
invokeAddress(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a native memory address.
invokeAddress(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a native memory address.
invokeBigDecimal(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit floating point value.
invokeBigDecimal(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit floating point value.
invokeDouble(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit floating point value.
invokeDouble(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit floating point value.
InvokeDynamicSupport - Class in com.kenai.jffi
Provide a factory for invokedynamic handles that are bound to a particular call context+function
InvokeDynamicSupport.Invoker - Class in com.kenai.jffi
 
invokeFloat(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 32 bit floating point value.
invokeFloat(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 32 bit floating point value.
invokeI0(CallContext, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with no arguments, and returns a 32 bit integer.
invokeI0NoErrno(CallContext, long) - Method in class com.kenai.jffi.Invoker
 
invokeI1(CallContext, long, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with one integer argument, and returns a 32 bit integer.
invokeI1NoErrno(CallContext, long, int) - Method in class com.kenai.jffi.Invoker
 
invokeI2(CallContext, long, int, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with two integer arguments, and returns a 32 bit integer.
invokeI2NoErrno(CallContext, long, int, int) - Method in class com.kenai.jffi.Invoker
 
invokeI3(CallContext, long, int, int, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with three integer arguments, and returns a 32 bit integer.
invokeI3NoErrno(CallContext, long, int, int, int) - Method in class com.kenai.jffi.Invoker
 
invokeI4(CallContext, long, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with four integer arguments, and returns a 32 bit integer.
invokeI4NoErrno(CallContext, long, int, int, int, int) - Method in class com.kenai.jffi.Invoker
 
invokeI5(CallContext, long, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with five integer arguments, and returns a 32 bit integer.
invokeI5NoErrno(CallContext, long, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
 
invokeI6(CallContext, long, int, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Invokes a function with six integer arguments, and returns a 32 bit integer.
invokeI6NoErrno(CallContext, long, int, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
 
invokeIIIIIIrI(Function, int, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeIIIIIrI(Function, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeIIIIrI(Function, int, int, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeIIIrI(Function, int, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeIIrI(Function, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeInt(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 32 bit integer value.
invokeInt(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 32 bit integer value.
invokeIrI(Function, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeL0(CallContext, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with no arguments, and returns a 64 bit integer.
invokeL0NoErrno(CallContext, long) - Method in class com.kenai.jffi.Invoker
 
invokeL1(CallContext, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.
invokeL1NoErrno(CallContext, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeL2(CallContext, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.
invokeL2NoErrno(CallContext, long, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeL3(CallContext, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.
invokeL3NoErrno(CallContext, long, long, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeL4(CallContext, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.
invokeL4NoErrno(CallContext, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeL5(CallContext, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.
invokeL5NoErrno(CallContext, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeL6(CallContext, long, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.
invokeL6NoErrno(CallContext, long, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
 
invokeLLLLLLrL(Function, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.
invokeLLLLLrL(Function, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.
invokeLLLLrL(Function, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.
invokeLLLrL(Function, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.
invokeLLrL(Function, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.
invokeLong(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit integer value.
invokeLong(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function and returns a 64 bit integer value.
invokeLrL(Function, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.
invokeN0(CallContext, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with no arguments, and returns a numeric value.
invokeN1(CallContext, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with one numeric argument, and returns a numeric value.
invokeN1(CallContext, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN1O1(CallContext, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN1O1rN(Function, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
Invokes a function with one numeric argument (which may be a pointer), and returns a numeric value.
invokeN2(CallContext, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with two numeric arguments, and returns a numeric value.
invokeN2(CallContext, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN2(CallContext, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN2O1(CallContext, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN2O1rN(Function, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
Invokes a function with two numeric arguments, and returns a numeric value.
invokeN2O2(CallContext, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN2O2rN(Function, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
Invokes a function with two numeric arguments, and returns a numeric value.
invokeN3(CallContext, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with three numeric arguments, and returns a numeric value.
invokeN3(CallContext, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3(CallContext, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3(CallContext, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3O1(CallContext, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3O1rN(Function, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
Invokes a function with two numeric arguments, and returns a numeric value.
invokeN3O2(CallContext, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3O2rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN3O3(CallContext, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN3O3rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN4(CallContext, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with four numeric arguments, and returns a numeric value.
invokeN4(CallContext, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4(CallContext, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4(CallContext, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4(CallContext, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4O1(CallContext, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4O1rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN4O2(CallContext, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4O2rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN4O3(CallContext, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN4O3rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN5(CallContext, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with five numeric arguments, and returns a numeric value.
invokeN5(CallContext, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5(CallContext, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5(CallContext, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5(CallContext, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5(CallContext, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5O1(CallContext, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5O1rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN5O2(CallContext, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5O2rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN5O3(CallContext, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN5O3rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN6(CallContext, long, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with six numeric arguments, and returns a numeric value.
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6(CallContext, long, long, long, long, long, long, long, int, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6O1(CallContext, long, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6O1rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN6O2(CallContext, long, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6O2rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeN6O3(CallContext, long, long, long, long, long, long, long, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo, Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
 
invokeN6O3rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
 
invokeNNNNNNrN(Function, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with six numeric arguments, and returns a numeric value.
invokeNNNNNrN(Function, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with five numeric arguments, and returns a numeric value.
invokeNNNNrN(Function, long, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with four numeric arguments, and returns a numeric value.
invokeNNNO1rN(Function, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNNNO2rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNNNrN(Function, long, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with three numeric arguments, and returns a numeric value.
invokeNNO1rN(Function, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNNO2rN(Function, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNNrN(Function, long, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with two numeric arguments, and returns a numeric value.
invokeNoErrnoIIIrI(Function, int, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNoErrnoIIrI(Function, int, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNoErrnoIrI(Function, int) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNoErrnoVrI(Function) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeNrN(Function, long) - Method in class com.kenai.jffi.Invoker
Invokes a function with one numeric argument, and returns a numeric value.
invokeObject(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
 
Invoker - Class in com.kenai.jffi
Provides native function invocation facilities.
invokeStruct(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function that returns a C struct by value.
invokeStruct(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
Invokes a function that returns a C struct by value.
invokeStruct(Function, HeapInvocationBuffer, byte[], int) - Method in class com.kenai.jffi.Invoker
Invokes a function that returns a C struct by value.
invokeStruct(CallContext, long, HeapInvocationBuffer, byte[], int) - Method in class com.kenai.jffi.Invoker
Invokes a function that returns a C struct by value.
invokeVrI(Function) - Method in class com.kenai.jffi.Invoker
Deprecated.
invokeVrL(Function) - Method in class com.kenai.jffi.Invoker
Invokes a function with no arguments, and returns a 64 bit integer.
invokeVrN(Function) - Method in class com.kenai.jffi.Invoker
Invokes a function with no arguments, and returns a numeric value.
isDirect() - Method in class com.kenai.jffi.ObjectParameterStrategy
 
isIn(int) - Static method in class com.kenai.jffi.ArrayFlags
Tests if the flags indicate data should be copied to native memory.
isLoaded() - Static method in class com.kenai.jffi.internal.StubLoader
 
isNative() - Method in class com.kenai.jffi.ObjectParameterInvoker
 
isOut(int) - Static method in class com.kenai.jffi.ArrayFlags
Tests if the flags indicate data should be copied from native memory.
isSupported() - Method in class com.kenai.jffi.Platform
Checks if the current platform is supported by JFFI.

L

LastError - Class in com.kenai.jffi
Provides access to the value of errno on unix, or GetLastError on windows.
LAZY - Static variable in class com.kenai.jffi.Library
Perform lazy binding.
length() - Method in class com.kenai.jffi.Array
Returns the number of elements in the array
length(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
 
length(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
 
Library - Class in com.kenai.jffi
Represents a native library
LOCAL - Static variable in class com.kenai.jffi.Library
Symbols in this library are not made available to other libraries
LONG - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
LONG - Static variable in class com.kenai.jffi.ObjectParameterType
 
LONGDOUBLE - Static variable in class com.kenai.jffi.Type
The native long double type
longSize() - Method in class com.kenai.jffi.Platform
Gets the size of a C 'long' on the native platform.

M

Main - Class in com.kenai.jffi
 
Main() - Constructor for class com.kenai.jffi.Main
 
main(String[]) - Static method in class com.kenai.jffi.Main
 
MAJOR - Static variable in class com.kenai.jffi.Version
 
mapLibraryName(String) - Method in class com.kenai.jffi.Platform
Maps from a generic library name (e.g.
memchr(long, int, long) - Method in class com.kenai.jffi.MemoryIO
Gets the address of a byte value in a native memory region.
memcpy(long, long, long) - Method in class com.kenai.jffi.MemoryIO
Copies bytes from one memory location to another.
memmove(long, long, long) - Method in class com.kenai.jffi.MemoryIO
Copies potentially overlapping memory areas.
MemoryIO - Class in com.kenai.jffi
Provides facilities to access native memory from java.
memset(long, int, long) - Method in class com.kenai.jffi.MemoryIO
Sets a region of native memory to a specific byte value.
MICRO - Static variable in class com.kenai.jffi.Version
 
MINOR - Static variable in class com.kenai.jffi.Version
 

N

NativeMethod - Class in com.kenai.jffi
Represents a native implementation of a method for a class
NativeMethod(long, String, String) - Constructor for class com.kenai.jffi.NativeMethod
Creates a new native method wrapper.
NativeMethods - Class in com.kenai.jffi
Utility class to register native methods on a class
NativeType - Enum in com.kenai.jffi
 
newArray(Type, int) - Static method in class com.kenai.jffi.Array
Creates a new C array layout description.
newClosure(Closure, Type, Type[], CallingConvention) - Method in class com.kenai.jffi.ClosureManager
Wraps a java object that implements the Closure interface in a native closure.
newClosure(Closure, CallContext) - Method in class com.kenai.jffi.ClosureManager
Wraps a java object that implements the Closure interface in a native closure.
newClosureHandle(Closure) - Method in class com.kenai.jffi.ClosurePool
 
newClosureMagazine(CallContext, Method) - Method in class com.kenai.jffi.ClosureManager
 
newDirectByteBuffer(long, int) - Method in class com.kenai.jffi.MemoryIO
Creates a new Direct ByteBuffer for a native memory region.
newStruct(Type...) - Static method in class com.kenai.jffi.Struct
 
newUnion(Type...) - Static method in class com.kenai.jffi.Union
 
NOW - Static variable in class com.kenai.jffi.Library
Resolve all symbols when loading the library
NULTERMINATE - Static variable in class com.kenai.jffi.ArrayFlags
Append a NUL byte to the array contents after copying to native memory
NULTERMINATE - Static variable in class com.kenai.jffi.ObjectParameterInfo
Append a NUL byte to the array contents after copying to native memory

O

object(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
 
object(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
 
ObjectParameterInfo - Class in com.kenai.jffi
 
ObjectParameterInfo.ComponentType - Enum in com.kenai.jffi
 
ObjectParameterInfo.ObjectType - Enum in com.kenai.jffi
 
ObjectParameterInvoker - Class in com.kenai.jffi
 
ObjectParameterInvoker() - Constructor for class com.kenai.jffi.ObjectParameterInvoker
 
ObjectParameterStrategy<T> - Class in com.kenai.jffi
 
ObjectParameterStrategy(boolean) - Constructor for class com.kenai.jffi.ObjectParameterStrategy
 
ObjectParameterStrategy(boolean, ObjectParameterType) - Constructor for class com.kenai.jffi.ObjectParameterStrategy
 
ObjectParameterStrategy(ObjectParameterStrategy.StrategyType) - Constructor for class com.kenai.jffi.ObjectParameterStrategy
 
ObjectParameterStrategy(ObjectParameterStrategy.StrategyType, ObjectParameterType) - Constructor for class com.kenai.jffi.ObjectParameterStrategy
 
ObjectParameterStrategy.StrategyType - Enum in com.kenai.jffi
 
ObjectParameterType - Class in com.kenai.jffi
Describes the type of an object parameter (e.g.
ObjectParameterType.ComponentType - Enum in com.kenai.jffi
 
ObjectParameterType.ObjectType - Enum in com.kenai.jffi
 
offset(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
 
offset(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
 
openLibrary(String, int) - Static method in class com.kenai.jffi.Library
Gets a handle for the named library.
OUT - Static variable in class com.kenai.jffi.ArrayFlags
After calling the function, reload the array contents from native memory
OUT - Static variable in class com.kenai.jffi.ObjectParameterInfo
After calling the function, reload the array contents from native memory

P

PageManager - Class in com.kenai.jffi
Manages allocation, disposal and protection of native memory pages
PageManager() - Constructor for class com.kenai.jffi.PageManager
 
pageSize() - Method in class com.kenai.jffi.PageManager
Gets the system page size.
PINNED - Static variable in class com.kenai.jffi.ArrayFlags
Pin the array memory and pass the JVM memory pointer directly to the function
PINNED - Static variable in class com.kenai.jffi.ObjectParameterInfo
Pin the array memory and pass the JVM memory pointer directly to the function
Platform - Class in com.kenai.jffi
Convenience class to interrogate the system about various platform-specific details.
Platform.CPU - Enum in com.kenai.jffi
The common names of cpu architectures.
Platform.OS - Enum in com.kenai.jffi
The common names of operating systems.
POINTER - Static variable in class com.kenai.jffi.Type
The native memory address type
PROT_EXEC - Static variable in class com.kenai.jffi.PageManager
The memory should be executable
PROT_READ - Static variable in class com.kenai.jffi.PageManager
The memory should be readable
PROT_WRITE - Static variable in class com.kenai.jffi.PageManager
The memory should be writable
protectPages(long, int, int) - Method in class com.kenai.jffi.PageManager
Sets the protection mask on a memory region.
putAddress(long) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putAddress(long) - Method in class com.kenai.jffi.InvocationBuffer
Adds a native address parameter.
putAddress(long, long) - Method in class com.kenai.jffi.MemoryIO
Writes a native memory address value to a native memory location.
putArray(byte[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(short[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(int[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(long[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(float[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(double[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putArray(byte[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java byte array as a pointer parameter.
putArray(short[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java short array as a pointer parameter.
putArray(int[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java int array as a pointer parameter.
putArray(long[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java long array as a pointer parameter.
putArray(float[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java float array as a pointer parameter.
putArray(double[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java double array as a pointer parameter.
putByte(int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putByte(int) - Method in class com.kenai.jffi.InvocationBuffer
Adds an 8 bit integer parameter.
putByte(long, byte) - Method in class com.kenai.jffi.MemoryIO
Writes an 8 bit integer value to a native memory location.
putByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java byte array to native memory.
putCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java char array to native memory.
putDirectBuffer(Buffer, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putDirectBuffer(Buffer, int, int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a java direct buffer as a pointer parameter.
putDouble(double) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putDouble(double) - Method in class com.kenai.jffi.InvocationBuffer
Adds a 64 bit floating point parameter.
putDouble(long, double) - Method in class com.kenai.jffi.MemoryIO
Writes a 64 bit floating point value to a native memory location.
putDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java double array to native memory.
putFloat(float) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putFloat(float) - Method in class com.kenai.jffi.InvocationBuffer
Adds a 32 bit floating point parameter.
putFloat(long, float) - Method in class com.kenai.jffi.MemoryIO
Writes a 32 bit floating point value to a native memory location.
putFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java double array to native memory.
putInt(int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putInt(int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a 32 bit integer parameter.
putInt(long, int) - Method in class com.kenai.jffi.MemoryIO
Writes a 32 bit integer value to a native memory location.
putIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java int array to native memory.
putJNIEnvironment() - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putJNIObject(Object) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putLong(long) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putLong(long) - Method in class com.kenai.jffi.InvocationBuffer
Adds a 64 bit integer parameter.
putLong(long, long) - Method in class com.kenai.jffi.MemoryIO
Writes a 64 bit integer value to a native memory location.
putLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java long array to native memory.
putLongDouble(double) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putLongDouble(BigDecimal) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putObject(Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putObject(Object, ObjectParameterStrategy, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putShort(int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putShort(int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a 16 bit integer parameter.
putShort(long, short) - Method in class com.kenai.jffi.MemoryIO
Writes a 16 bit integer value to a native memory location.
putShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO
Writes a java short array to native memory.
putStruct(byte[], int) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putStruct(long) - Method in class com.kenai.jffi.HeapInvocationBuffer
 
putStruct(byte[], int) - Method in class com.kenai.jffi.InvocationBuffer
Adds a struct or union as a parameter.
putStruct(long) - Method in class com.kenai.jffi.InvocationBuffer
Adds a struct or union as a parameter.
putZeroTerminatedByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO
Copies a java byte array to native memory and appends a NUL terminating byte.

R

register(Class, List<NativeMethod>) - Static method in class com.kenai.jffi.NativeMethods
Registers the native methods for a class.

S

SCHAR - Static variable in class com.kenai.jffi.Type
The native signed char type
set(int) - Method in class com.kenai.jffi.LastError
Sets the system errno value.
setAddressReturn(long) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a native pointer value.
setAutoRelease(boolean) - Method in interface com.kenai.jffi.Closure.Handle
Sets whether the closure memory should be released when the Handle is garbage collected or not.
setByteReturn(byte) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to an 8 bit integer value.
setDoubleReturn(double) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a 64 bit floating point value.
setFloatReturn(float) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a 32 bit floating point value.
setIntReturn(int) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a 32 bit integer value.
setLongReturn(long) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a 64 bit integer value.
setMemory(long, long, byte) - Method in class com.kenai.jffi.MemoryIO
Sets a region of native memory to a specific byte value.
setShortReturn(short) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to a 16 bit integer value.
setStructReturn(long) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to the contents of a struct
setStructReturn(byte[], int) - Method in interface com.kenai.jffi.Closure.Buffer
Sets the closure return value to the contents of a struct
SHORT - Static variable in class com.kenai.jffi.ObjectParameterInfo
 
SHORT - Static variable in class com.kenai.jffi.ObjectParameterType
 
SINT - Static variable in class com.kenai.jffi.Type
The native signed integer type
SINT16 - Static variable in class com.kenai.jffi.Type
The native signed 16 bit integer type
SINT32 - Static variable in class com.kenai.jffi.Type
The native signed 32 bit integer type
SINT64 - Static variable in class com.kenai.jffi.Type
The native signed 64 bit integer type
SINT8 - Static variable in class com.kenai.jffi.Type
The native signed 8 bit integer type
size() - Method in class com.kenai.jffi.Type
Gets the size of this type.
SLONG - Static variable in class com.kenai.jffi.Type
The native signed long integer type
SLONG_LONG - Static variable in class com.kenai.jffi.Type
The native signed long long integer type
SSHORT - Static variable in class com.kenai.jffi.Type
The native signed short integer type
startsWithIgnoreCase(String, String, Locale) - Static method in class com.kenai.jffi.Util
 
Struct - Class in com.kenai.jffi
Describes the layout of a C struct
Struct(Type...) - Constructor for class com.kenai.jffi.Struct
Deprecated.
StubLoader - Class in com.kenai.jffi.internal
Loads the native stub library.
StubLoader() - Constructor for class com.kenai.jffi.internal.StubLoader
 
StubLoader.CPU - Enum in com.kenai.jffi.internal
The common names of cpu architectures.
StubLoader.OS - Enum in com.kenai.jffi.internal
 

T

toString() - Method in enum com.kenai.jffi.internal.StubLoader.CPU
 
toString() - Method in enum com.kenai.jffi.internal.StubLoader.OS
 
toString() - Method in enum com.kenai.jffi.Platform.CPU
 
toString() - Method in enum com.kenai.jffi.Platform.OS
 
Type - Class in com.kenai.jffi
Native parameter and return types.
Type() - Constructor for class com.kenai.jffi.Type
 
type() - Method in class com.kenai.jffi.Type
Gets the FFI type enum value for this Type

U

UCHAR - Static variable in class com.kenai.jffi.Type
The native unsigned char type
UINT - Static variable in class com.kenai.jffi.Type
The native unsigned integer type
UINT16 - Static variable in class com.kenai.jffi.Type
The native unsigned 16 bit integer type
UINT32 - Static variable in class com.kenai.jffi.Type
The native unsigned 32 bit integer type
UINT64 - Static variable in class com.kenai.jffi.Type
The native unsigned 64 bit integer type
UINT8 - Static variable in class com.kenai.jffi.Type
The native unsigned 8 bit integer type
ULONG - Static variable in class com.kenai.jffi.Type
The native unsigned long integer type
ULONG_LONG - Static variable in class com.kenai.jffi.Type
The native unsigned long long integer type
Union - Class in com.kenai.jffi
Describes the layout of a C union
Union(Type...) - Constructor for class com.kenai.jffi.Union
Creates a new C union layout description.
unregister(Class) - Static method in class com.kenai.jffi.NativeMethods
Removes all native method attachments for the specified class.
USHORT - Static variable in class com.kenai.jffi.Type
The native unsigned short integer type
Util - Class in com.kenai.jffi
 

V

valueOf(String) - Static method in enum com.kenai.jffi.CallingConvention
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.internal.StubLoader.CPU
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.internal.StubLoader.OS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.NativeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.ObjectParameterInfo.ComponentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.ObjectParameterInfo.ObjectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.ObjectParameterStrategy.StrategyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.ObjectParameterType.ComponentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.ObjectParameterType.ObjectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.Platform.CPU
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kenai.jffi.Platform.OS
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.kenai.jffi.CallingConvention
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.internal.StubLoader.CPU
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.internal.StubLoader.OS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.NativeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.ObjectParameterInfo.ComponentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.ObjectParameterInfo.ObjectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.ObjectParameterStrategy.StrategyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.ObjectParameterType.ComponentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.ObjectParameterType.ObjectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.Platform.CPU
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kenai.jffi.Platform.OS
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in com.kenai.jffi
 
VERSION_MAJOR - Static variable in class com.kenai.jffi.internal.StubLoader
 
VERSION_MINOR - Static variable in class com.kenai.jffi.internal.StubLoader
 
VOID - Static variable in class com.kenai.jffi.Type
The native void type
A B C D E F G H I L M N O P R S T U V 
Skip navigation links

Copyright © 2016. All Rights Reserved.