A B C D E F G H I J L M N O P R S T U V W X Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AARCH64 - com.kenai.jffi.internal.StubLoader.CPU
-
AArch64
- AARCH64 - com.kenai.jffi.Platform.CPU
-
AARCH64
- address(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
- ADDRESS_MASK - Static variable in class com.kenai.jffi.Invoker.ILP32
-
A mask to apply to native memory addresses to cancel sign extension
- ADDRESS_MASK - Static variable in class com.kenai.jffi.MemoryIO
-
The address mask used to truncate 32bit addresses contained in long values
- addressMask - Variable in enum com.kenai.jffi.Platform.CPU
- addressMask() - Method in class com.kenai.jffi.Platform
-
Gets the 32/64bit mask of a C address/pointer on the native platform.
- 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
- Aggregate(Foreign, long) - Constructor for class com.kenai.jffi.Aggregate
- AIX - com.kenai.jffi.internal.StubLoader.OS
-
IBM AIX
- AIX - com.kenai.jffi.Platform.OS
-
IBM AIX
- alignment - Variable in class com.kenai.jffi.Type
- alignment - Variable in class com.kenai.jffi.Type.TypeInfo
-
The minimum alignment of this type
- 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) - Static method in class com.kenai.jffi.Foreign
-
Allocates native memory.
- allocateMemory(long, boolean) - Method in class com.kenai.jffi.MemoryIO
-
Allocates native memory.
- allocateNewHandle() - Method in class com.kenai.jffi.ClosurePool
- allocatePages(int, int) - Method in class com.kenai.jffi.PageManager
-
Allocates native memory pages.
- allocatePages(int, int) - Method in class com.kenai.jffi.PageManager.Unix
- allocatePages(int, int) - Method in class com.kenai.jffi.PageManager.Windows
- allocObject(Class) - Method in class com.kenai.jffi.Foreign
- ArchHolder() - Constructor for class com.kenai.jffi.Platform.ArchHolder
- ARM - com.kenai.jffi.internal.StubLoader.CPU
-
ARM
- ARM - com.kenai.jffi.Platform.CPU
-
ARM
- array() - Method in class com.kenai.jffi.HeapInvocationBuffer
-
Gets the backing array of this
InvocationBuffer
- 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 - com.kenai.jffi.ObjectParameterInfo.ObjectType
- ARRAY - com.kenai.jffi.ObjectParameterType.ObjectType
- ARRAY - Static variable in class com.kenai.jffi.ObjectBuffer
- 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
- ArrayFlags() - Constructor for class com.kenai.jffi.ArrayFlags
- ArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- arrayTypeCache - Static variable in class com.kenai.jffi.ObjectParameterType.TypeCache
- asObjectInfo() - Method in class com.kenai.jffi.ObjectParameterInfo
- autorelease - Variable in class com.kenai.jffi.ClosurePool.Magazine.Slot
B
- BE32ArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.BE32ArrayIO
- BE64ArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.BE64ArrayIO
- BigEndianArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.BigEndianArrayIO
- BOOLEAN - com.kenai.jffi.ObjectParameterInfo.ComponentType
- BOOLEAN - com.kenai.jffi.ObjectParameterType.ComponentType
- BOOLEAN - Static variable in class com.kenai.jffi.ObjectBuffer
- BOOLEAN - Static variable in class com.kenai.jffi.ObjectParameterInfo
- BOOLEAN - Static variable in class com.kenai.jffi.ObjectParameterType
- bootLibraryPropertyName - Static variable in class com.kenai.jffi.internal.StubLoader
- bootPropertyFilename - Static variable in class com.kenai.jffi.internal.StubLoader
- buffer - Variable in class com.kenai.jffi.HeapInvocationBuffer
- BUFFER - com.kenai.jffi.ObjectParameterInfo.ObjectType
- BUFFER - com.kenai.jffi.ObjectParameterType.ObjectType
- BUFFER - Static variable in class com.kenai.jffi.ObjectBuffer
- BUFFER - Static variable in class com.kenai.jffi.ObjectParameterInfo
- BUFFER - Static variable in class com.kenai.jffi.ObjectParameterType
- bufferTypeCache - Static variable in class com.kenai.jffi.ObjectParameterType.TypeCache
- builtin(NativeType) - Static method in class com.kenai.jffi.Type
-
Creates a
Type
instance for builtin types. - Builtin(NativeType) - Constructor for class com.kenai.jffi.Type.Builtin
- BYTE - com.kenai.jffi.ObjectParameterInfo.ComponentType
- BYTE - com.kenai.jffi.ObjectParameterType.ComponentType
- BYTE - Static variable in class com.kenai.jffi.ObjectBuffer
- BYTE - Static variable in class com.kenai.jffi.ObjectParameterInfo
- BYTE - Static variable in class com.kenai.jffi.ObjectParameterType
C
- cache - Static variable in class com.kenai.jffi.Library
-
A cache of opened libraries
- CACHE - Static variable in class com.kenai.jffi.ObjectParameterInfo
- calculateExtractPath(File) - Static method in class com.kenai.jffi.internal.StubLoader
- calculateExtractPath(File, String) - Static method in class com.kenai.jffi.internal.StubLoader
- calculateHashCode() - Method in class com.kenai.jffi.CallContextCache.Signature
- calculatePageSize() - Method in class com.kenai.jffi.PageManager
- callContext - Variable in class com.kenai.jffi.ClosureMagazine
-
keep a reference to the call context, to avoid GC whilst the magazine is in use
- callContext - Variable in class com.kenai.jffi.ClosurePool
- callContext - Variable in class com.kenai.jffi.ClosurePool.Proxy
-
Keep references to the return and parameter types so they do not get garbage collected until the closure does.
- callContext - Variable in class com.kenai.jffi.DirectClosureBuffer
- callContext - Variable in class com.kenai.jffi.Function
- callContext - Variable in class com.kenai.jffi.HeapInvocationBuffer
- 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, int, Type[], CallingConvention, boolean, boolean) - Constructor for class com.kenai.jffi.CallContext
-
Creates a new instance of
Function
. - 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
- CallContextCache() - Constructor for class com.kenai.jffi.CallContextCache
-
Constructs a ClosureManager
- CallContextCache.CallContextRef - Class in com.kenai.jffi
- CallContextCache.Signature - Class in com.kenai.jffi
- CallContextCache.SingletonHolder - Class in com.kenai.jffi
-
Holder class to do lazy allocation of the ClosureManager instance
- CallContextRef(CallContextCache.Signature, CallContext, ReferenceQueue<CallContext>) - Constructor for class com.kenai.jffi.CallContextCache.CallContextRef
- CallingConvention - Enum in com.kenai.jffi
-
Defines the function calling conventions.
- CallingConvention() - Constructor for enum com.kenai.jffi.CallingConvention
- cause - Variable in class com.kenai.jffi.Foreign.InValidInstanceHolder
- CHAR - com.kenai.jffi.ObjectParameterInfo.ComponentType
- CHAR - com.kenai.jffi.ObjectParameterType.ComponentType
- CHAR - Static variable in class com.kenai.jffi.ObjectBuffer
- CHAR - Static variable in class com.kenai.jffi.ObjectParameterInfo
- CHAR - Static variable in class com.kenai.jffi.ObjectParameterType
- CheckedMemorySingletonHolder() - Constructor for class com.kenai.jffi.MemoryIO.CheckedMemorySingletonHolder
- CheckedNativeImpl() - Constructor for class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- 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.ObjectBuffer
-
For OUT arrays, clear the temporary native memory area
- CLEAR - Static variable in class com.kenai.jffi.ObjectParameterInfo
-
For OUT arrays, clear the native memory area before passing to the native function
- closure - Variable in class com.kenai.jffi.ClosurePool.Proxy
- 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. - closureAddress - Variable in class com.kenai.jffi.ClosureMagazine.Handle
- ClosureMagazine - Class in com.kenai.jffi
- ClosureMagazine(Foreign, CallContext, long) - Constructor for class com.kenai.jffi.ClosureMagazine
- ClosureMagazine.Handle - Class in com.kenai.jffi
- closureMagazineGet(long, Object) - Method in class com.kenai.jffi.Foreign
- ClosureManager - Class in com.kenai.jffi
-
Allocates and manages the lifecycle of native closures (aka callbacks)
- ClosureManager() - Constructor for class com.kenai.jffi.ClosureManager
-
Constructs a ClosureManager
- ClosureManager.SingletonHolder - Class in com.kenai.jffi
-
Holder class to do lazy allocation of the ClosureManager instance
- ClosurePool - Class in com.kenai.jffi
- ClosurePool(CallContext) - Constructor for class com.kenai.jffi.ClosurePool
- ClosurePool.Handle - Class in com.kenai.jffi
-
Manages the lifecycle of a native closure.
- ClosurePool.Magazine - Class in com.kenai.jffi
- ClosurePool.Magazine.Slot - Class in com.kenai.jffi
- ClosurePool.MagazineHolder - Class in com.kenai.jffi
- ClosurePool.Proxy - Class in com.kenai.jffi
-
This is a proxy passed to the native code, to be called by the native trampoline code.
- codeAddress - Variable in class com.kenai.jffi.ClosureMagazine.Handle
- codeAddress - Variable in class com.kenai.jffi.ClosurePool.Magazine.Slot
-
The code trampoline address
- com.kenai.jffi - package com.kenai.jffi
- com.kenai.jffi.internal - package com.kenai.jffi.internal
- compileNativeMethods(long[]) - Method in class com.kenai.jffi.Foreign
- ComponentType(int) - Constructor for enum com.kenai.jffi.ObjectParameterInfo.ComponentType
- ComponentType(int) - Constructor for enum com.kenai.jffi.ObjectParameterType.ComponentType
- contextAddress - Variable in class com.kenai.jffi.CallContext
-
The native address of the context
- contextAddress - Variable in class com.kenai.jffi.Function
- contextCache - Variable in class com.kenai.jffi.CallContextCache
- contextReferenceQueue - Variable in class com.kenai.jffi.CallContextCache
- convention - Variable in class com.kenai.jffi.CallContextCache.Signature
- copyMemory(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies contents of a native memory location to another native memory location.
- copyMemory(long, long, long) - Method in class com.kenai.jffi.MemoryIO
-
Copies contents of a native memory location to another native memory location.
- copyMemoryChecked(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies contents of a native memory location to another native memory location.
- cpu - Static variable in class com.kenai.jffi.internal.StubLoader
- cpu - Static variable in class com.kenai.jffi.Platform.ArchHolder
- CPU() - Constructor for enum com.kenai.jffi.internal.StubLoader.CPU
- CPU(int) - Constructor for enum com.kenai.jffi.Platform.CPU
- create(int, int) - Static method in class com.kenai.jffi.ObjectParameterInfo
- create(int, ObjectParameterInfo.ObjectType, ObjectParameterInfo.ComponentType, int) - Static method in class com.kenai.jffi.ObjectParameterInfo
- create(ObjectParameterType.ObjectType, ObjectParameterType.ComponentType) - Static method in class com.kenai.jffi.ObjectParameterType
- createStackTrace(long[], long[], long[], StackTraceElement[]) - Static method in exception com.kenai.jffi.FaultException
- ctx - Variable in class com.kenai.jffi.ClosurePool.Magazine
D
- Darwin() - Constructor for class com.kenai.jffi.Platform.Darwin
- DARWIN - com.kenai.jffi.internal.StubLoader.OS
-
MacOSX
- DARWIN - com.kenai.jffi.Platform.OS
-
MacOSX
- dataModel - Variable in enum com.kenai.jffi.Platform.CPU
- Default(Platform.OS) - Constructor for class com.kenai.jffi.Platform.Default
- DEFAULT - com.kenai.jffi.CallingConvention
-
The default C calling convention
- DEFAULT - Static variable in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO.SingletonHolder
- DefaultEncoder(HeapInvocationBuffer.ArrayIO) - Constructor for class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- DefaultLibrary() - Constructor for class com.kenai.jffi.Library.DefaultLibrary
- defineClass(String, Object, byte[], int, int) - Method in class com.kenai.jffi.Foreign
- defineClass(String, Object, ByteBuffer) - Method in class com.kenai.jffi.Foreign
- determineCPU() - Static method in class com.kenai.jffi.internal.StubLoader
-
Determines the CPU architecture the JVM is running on.
- determineCPU() - Static method in class com.kenai.jffi.Platform.ArchHolder
-
Determines the CPU architecture the JVM is running on.
- determineOS() - Static method in class com.kenai.jffi.internal.StubLoader
-
Determines the operating system jffi is running on
- determineOS() - Static method in class com.kenai.jffi.Platform
-
Determines the operating system jffi is running on
- determinePlatform(Platform.OS) - Static method in class com.kenai.jffi.Platform
-
Determines the
Platform
that best describes theOS
- digestMismatchError(File) - Static method in class com.kenai.jffi.internal.StubLoader
- DIRECT - com.kenai.jffi.ObjectParameterStrategy.StrategyType
- DIRECT - Static variable in class com.kenai.jffi.ObjectParameterStrategy
- DirectClosureBuffer - Class in com.kenai.jffi
-
Implementation of the
Closure.Buffer
interface to read/write parameter and return value data in native memory - DirectClosureBuffer(CallContext, long, long) - Constructor for class com.kenai.jffi.DirectClosureBuffer
- DirectClosureBuffer.NativeWordIO - Class in com.kenai.jffi
-
Reads annd writes data types that are smaller than the size of a native long, as a native long for compatibility with FFI.
- DirectClosureBuffer.NativeWordIO32 - Class in com.kenai.jffi
- DirectClosureBuffer.NativeWordIO64 - Class in com.kenai.jffi
- 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.ClosureMagazine.Handle
- dispose() - Method in class com.kenai.jffi.ClosurePool.Handle
- dispose() - Method in class com.kenai.jffi.Function
-
Deprecated.
- disposed - Variable in class com.kenai.jffi.Aggregate
- disposed - Variable in class com.kenai.jffi.CallContext
- disposed - Variable in class com.kenai.jffi.ClosureMagazine
- disposed - Variable in class com.kenai.jffi.ClosurePool.Handle
- disposed - Variable in class com.kenai.jffi.Library
-
Indicates whether this library has been disposed of.
- dlclose(long) - Static method in class com.kenai.jffi.Foreign
-
Closes a dynamic library opened by
Foreign.dlopen(java.lang.String, int)
. - dlerror() - Static method in class com.kenai.jffi.Foreign
-
Gets the last error raised by
Foreign.dlopen(java.lang.String, int)
orForeign.dlsym(long, java.lang.String)
- dlExtension() - Static method in class com.kenai.jffi.internal.StubLoader
- dlopen(Foreign, String, int) - Static method in class com.kenai.jffi.Library
-
Internal wrapper around dlopen.
- dlopen(String, int) - Static method in class com.kenai.jffi.Foreign
-
Opens a dynamic library.
- dlsym(long, String) - Static method in class com.kenai.jffi.Foreign
-
Locates the memory address of a dynamic library symbol.
- DOUBLE - com.kenai.jffi.NativeType
- DOUBLE - com.kenai.jffi.ObjectParameterInfo.ComponentType
- DOUBLE - com.kenai.jffi.ObjectParameterType.ComponentType
- DOUBLE - Static variable in class com.kenai.jffi.ObjectBuffer
- 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
- DRAGONFLY - com.kenai.jffi.internal.StubLoader.OS
-
DragonFly
- DRAGONFLY - com.kenai.jffi.Platform.OS
-
DragonFly
E
- elementType - Variable in class com.kenai.jffi.Array
- encode(HeapInvocationBuffer.Encoder, byte[], int, Type, long) - Static method in class com.kenai.jffi.HeapObjectParameterInvoker
- encodeN3(Function, long, long, long) - Static method in class com.kenai.jffi.HeapObjectParameterInvoker
- encodeN4(Function, long, long, long, long) - Static method in class com.kenai.jffi.HeapObjectParameterInvoker
- encodeN5(Function, long, long, long, long, long) - Static method in class com.kenai.jffi.HeapObjectParameterInvoker
- encodeN6(Function, long, long, long, long, long, long) - Static method in class com.kenai.jffi.HeapObjectParameterInvoker
- Encoder() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.Encoder
- ensureSpace() - Method in class com.kenai.jffi.ObjectBuffer
-
Ensures that sufficient space is available to insert at least one more object
- 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.CallContextCache.Signature
- 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.Builtin
- 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
- error - Variable in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- ex() - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
F
- F_DEFAULT - Static variable in class com.kenai.jffi.Foreign
-
Default calling convention
- F_NOERRNO - Static variable in class com.kenai.jffi.Foreign
-
Do not save errno after each call
- F_PROTECT - Static variable in class com.kenai.jffi.Foreign
-
Try to capture segmentation faults and convert to java exceptions
- F_STDCALL - Static variable in class com.kenai.jffi.Foreign
-
Windows STDCALL calling convention
- failureCause - Static variable in class com.kenai.jffi.internal.StubLoader
- fatalError(String) - Method in class com.kenai.jffi.Foreign
- FaultException - Exception in com.kenai.jffi
- FaultException(int, long[], long[], long[]) - Constructor for exception com.kenai.jffi.FaultException
- faultProtect - Variable in class com.kenai.jffi.CallContextCache.Signature
- ffi_align(int, int) - Static method in class com.kenai.jffi.Util
-
Aligns an address to a boundary
- ffiType - Variable in enum com.kenai.jffi.NativeType
- fields - Variable in class com.kenai.jffi.Struct
- fields - Variable in class com.kenai.jffi.Union
- fieldsList - Variable in class com.kenai.jffi.Struct.StructReference
- 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.ClosurePool.Magazine
- finalize() - Method in class com.kenai.jffi.ClosurePool.MagazineHolder
- finalize() - Method in class com.kenai.jffi.Library
- finalize() - Method in class com.kenai.jffi.NativeMethods.ResourceHolder
- fixedParamCount - Variable in class com.kenai.jffi.CallContext
- flags - Variable in class com.kenai.jffi.CallContext
- FLAGS_MASK - Static variable in class com.kenai.jffi.ObjectBuffer
- FLAGS_SHIFT - Static variable in class com.kenai.jffi.ObjectBuffer
- FLOAT - com.kenai.jffi.NativeType
- FLOAT - com.kenai.jffi.ObjectParameterInfo.ComponentType
- FLOAT - com.kenai.jffi.ObjectParameterType.ComponentType
- FLOAT - Static variable in class com.kenai.jffi.ObjectBuffer
- 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
- foreign - Variable in class com.kenai.jffi.Aggregate
-
A handle to the foreign interface to keep it alive as long as this object is alive
- foreign - Variable in class com.kenai.jffi.CallContext
-
A handle to the foreign interface to keep it alive as long as this object is alive
- foreign - Variable in class com.kenai.jffi.ClosureMagazine
-
A handle to the foreign interface to keep it alive as long as this object is alive
- foreign - Variable in class com.kenai.jffi.ClosurePool.Magazine
-
A handle to the foreign interface to keep it alive as long as this object is alive
- foreign - Variable in class com.kenai.jffi.Foreign.ValidInstanceHolder
- foreign - Variable in class com.kenai.jffi.HeapObjectParameterInvoker
- foreign - Variable in class com.kenai.jffi.Invoker
- foreign - Variable in class com.kenai.jffi.LastError
- foreign - Variable in class com.kenai.jffi.Library
-
A handle to the foreign interface to keep it alive as long as this object is alive
- foreign - Variable in class com.kenai.jffi.MemoryIO
-
A handle to the JNI accessor
- foreign - Variable in class com.kenai.jffi.NativeObjectParameterInvoker
- foreign - Variable in class com.kenai.jffi.PageManager
- Foreign - Class in com.kenai.jffi
- Foreign() - Constructor for class com.kenai.jffi.Foreign
- Foreign.InstanceHolder - Class in com.kenai.jffi
- Foreign.InValidInstanceHolder - Class in com.kenai.jffi
- Foreign.ValidInstanceHolder - Class in com.kenai.jffi
- free() - Method in interface com.kenai.jffi.Closure.Handle
-
Deprecated.
- free() - Method in class com.kenai.jffi.ClosureMagazine.Handle
- free() - Method in class com.kenai.jffi.ClosurePool.Handle
-
Deprecated.
- freeAggregate(long) - Method in class com.kenai.jffi.Foreign
-
Frees a FFI struct, union or array handle allocated via
Foreign.newStruct(long[], boolean)
orForeign.newArray(long, int)
. - FREEBSD - com.kenai.jffi.internal.StubLoader.OS
-
FreeBSD
- FREEBSD - com.kenai.jffi.Platform.OS
-
FreeBSD
- freeCallContext(long) - Method in class com.kenai.jffi.Foreign
-
Frees a call context created by
Foreign.newCallContext(long, long[], int)
- freeClosureMagazine(long) - Method in class com.kenai.jffi.Foreign
- freeCompiledMethods(long) - Method in class com.kenai.jffi.Foreign
- freeCount - Variable in class com.kenai.jffi.ClosurePool.Magazine
- freeMemory(long) - Static method in class com.kenai.jffi.Foreign
-
Releases memory allocated via
Foreign.allocateMemory(long, boolean)
back to the system. - freeMemory(long) - Method in class com.kenai.jffi.MemoryIO
-
Releases memory allocated via
MemoryIO.allocateMemory(long, boolean)
back to the system. - freeNativeMethod(long) - Method in class com.kenai.jffi.Foreign
- freePages(long, int) - Method in class com.kenai.jffi.PageManager
-
Free pages allocated via
PageManager.allocatePages(int, int)
- freePages(long, int) - Method in class com.kenai.jffi.PageManager.Unix
- freePages(long, int) - Method in class com.kenai.jffi.PageManager.Windows
- freeQueue - Variable in class com.kenai.jffi.ClosurePool
- function - Variable in class com.kenai.jffi.NativeMethod
- 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, CallContext) - Constructor for class com.kenai.jffi.Function
-
Creates a new instance of
Function
with default calling convention. - Function(long, Type, int, Type[], CallingConvention, boolean) - Constructor for class com.kenai.jffi.Function
-
Creates a new instance of
Function
. - Function(long, Type, Type...) - 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
. - functionAddress - Variable in class com.kenai.jffi.Function
-
The address of the function
G
- get() - Method in class com.kenai.jffi.ClosurePool.Magazine
- get() - Method in class com.kenai.jffi.LastError
-
Gets the errno set by the last C function invoked by the current thread.
- get(long) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO
-
Reads a native long argument from native memory.
- get(long) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
- get(long) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
- getAddress() - Method in class com.kenai.jffi.CallContext
-
Gets the address of the function context.
- getAddress() - Method in interface com.kenai.jffi.Closure.Handle
-
Gets the native code address of the closure.
- getAddress() - Method in class com.kenai.jffi.ClosureMagazine.Handle
- getAddress() - Method in class com.kenai.jffi.ClosurePool.Handle
- getAddress(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the value of a native pointer parameter.
- getAddress(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getAddress(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a native memory address from a native memory location.
- getAddress(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getAddress(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a native memory address from a native memory location.
- getAddress(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl32
- getAddress(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl64
- getAddress(long) - Method in class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO32
- getAddress(long) - Method in class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO64
- getAddress(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
- getAddressChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a native memory address from a native memory location.
- getAlternateLibraryPath(String) - Static method in class com.kenai.jffi.internal.StubLoader
- getArch() - Method in class com.kenai.jffi.Foreign
- getBE32IO() - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- getBE64IO() - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- getBootPath() - Static method in class com.kenai.jffi.internal.StubLoader
- getBufferSize(CallContext) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- getBufferSize(CallContext) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Gets the size in bytes of the buffer required for the function
- getByte(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the value of an 8 bit integer parameter.
- getByte(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getByte(long) - Static method in class com.kenai.jffi.Foreign
-
Reads an 8 bit integer from a native memory location.
- getByte(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getByte(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads an 8 bit integer from a native memory location.
- getByte(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getByte(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getByteArray(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java byte array from native memory.
- getByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java byte array from native memory.
- getByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getByteArrayChecked(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java byte array from native memory.
- getByteChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads an 8 bit integer from a native memory location.
- getCachedInfo(int) - Static method in class com.kenai.jffi.ObjectParameterInfo
- getCachedInstance(String, int) - Static method in class com.kenai.jffi.Library
-
Gets a handle for the named library.
- getCallContext() - Method in class com.kenai.jffi.Function
- getCallContext(Type, int, Type[], CallingConvention, boolean) - Static method in class com.kenai.jffi.CallContext
- getCallContext(Type, int, Type[], CallingConvention, boolean) - Method in class com.kenai.jffi.CallContextCache
- getCallContext(Type, int, Type[], CallingConvention, boolean, boolean) - Method in class com.kenai.jffi.CallContextCache
- getCallContext(Type, Type[], CallingConvention) - Method in class com.kenai.jffi.CallContextCache
- getCallContext(Type, Type[], CallingConvention, boolean) - Static method in class com.kenai.jffi.CallContext
-
Returns a
CallContext
instance. - getCallContext(Type, Type[], CallingConvention, boolean) - Method in class com.kenai.jffi.CallContextCache
- getCallContext(Type, Type[], CallingConvention, boolean, boolean) - Static method in class com.kenai.jffi.CallContext
- getCallContext(Type, Type[], CallingConvention, boolean, boolean) - Method in class com.kenai.jffi.CallContextCache
- getCallContextRawParameterSize(long) - Method in class com.kenai.jffi.Foreign
-
Gets the size required to pack parameters for the function in libffi raw format.
- getCharArray(long, char[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java char array from native memory.
- getCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java char array from native memory.
- getCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getCharArray(long, char[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getCharArrayChecked(long, char[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java char array from native memory.
- getCheckedInstance() - Static method in class com.kenai.jffi.MemoryIO
- getClassLoaders() - Static method in class com.kenai.jffi.Init
- getClosurePool(CallContext) - Method in class com.kenai.jffi.ClosureManager
- getContextAddress() - Method in class com.kenai.jffi.Function
-
Gets the address of the function context.
- 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.Foreign
-
Gets the native memory address of a direct ByteBuffer
- 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(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getDouble(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 64 bit floating point value from a native memory location.
- getDouble(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getDouble(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a 64 bit floating point value from a native memory location.
- getDouble(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getDouble(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getDoubleArray(long, double[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java double array from native memory.
- getDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java double array from native memory.
- getDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getDoubleArrayChecked(long, double[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java double array from native memory.
- getDoubleChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 64 bit floating point value from a native memory location.
- 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(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getFloat(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 32 bit floating point value from a native memory location.
- getFloat(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getFloat(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a 32 bit floating point value from a native memory location.
- getFloat(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getFloat(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getFloatArray(long, float[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java float array from native memory.
- getFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java float array from native memory.
- getFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getFloatArrayChecked(long, float[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java float array from native memory.
- getFloatChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 32 bit floating point value from a native memory location.
- getForeign() - Method in class com.kenai.jffi.Foreign.InstanceHolder
- getForeign() - Method in class com.kenai.jffi.Foreign.InValidInstanceHolder
- getForeign() - Method in class com.kenai.jffi.Foreign.ValidInstanceHolder
- 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.DirectClosureBuffer.NativeWordIO
- getInstance() - Static method in class com.kenai.jffi.Foreign
- getInstance() - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- getInstance() - Static method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
- getInstance() - Static method in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- 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.
- getInstanceHolder() - Static method in class com.kenai.jffi.Foreign.InstanceHolder
- getInt(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the value of a 32 bit integer parameter.
- getInt(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getInt(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 32 bit integer from a native memory location.
- getInt(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getInt(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a 32 bit integer from a native memory location.
- getInt(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getInt(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getIntArray(long, int[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java int array from native memory.
- getIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java int array from native memory.
- getIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getIntArray(long, int[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getIntArrayChecked(long, int[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java int array from native memory.
- getIntChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 32 bit integer from a native memory location.
- getJavaMajorVersion() - Method in class com.kenai.jffi.Platform
-
Gets the version of the Java Virtual Machine (JVM) jffi is running on.
- getJavaVM() - Method in class com.kenai.jffi.Foreign
- getJNIVersion() - Method in class com.kenai.jffi.Foreign
- getLastError() - Static method in class com.kenai.jffi.Foreign
-
Gets the last error returned by a native function
- getLastError() - Static method in class com.kenai.jffi.Library
-
Gets the current error string from dlopen/LoadLibrary.
- getLE32IO() - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- getLE64IO() - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- getLibraryNamePattern() - Method in class com.kenai.jffi.Platform.Darwin
- getLibraryNamePattern() - Method in class com.kenai.jffi.Platform
-
Gets the regex string used to match platform-specific libraries
- getLibraryNamePattern() - Method in class com.kenai.jffi.Platform.Windows
- getLong(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the value of a 64 bit integer parameter.
- getLong(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getLong(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 64 bit integer from a native memory location.
- getLong(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getLong(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a 64 bit integer from a native memory location.
- getLong(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getLong(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getLongArray(long, long[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java long array from native memory.
- getLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java long array from native memory.
- getLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getLongArray(long, long[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getLongArrayChecked(long, long[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java long array from native memory.
- getLongChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 64 bit integer from a native memory location.
- getMethod() - Static method in class com.kenai.jffi.ClosurePool.Proxy
-
Gets the Method to be invoked by native code
- 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.Darwin
- getName() - Method in class com.kenai.jffi.Platform
-
Gets the name of this
Platform
. - getObjectBuffer() - Method in class com.kenai.jffi.HeapInvocationBuffer
- 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.
- getResourceAsStream(String) - Static method in class com.kenai.jffi.internal.StubLoader
- 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.
- getSaveErrnoCtxFunction() - Method in class com.kenai.jffi.Foreign
- getSaveErrnoFunction() - Method in class com.kenai.jffi.Foreign
- getShort(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the value of a 16 bit integer parameter.
- getShort(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getShort(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 16 bit integer from a native memory location.
- getShort(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getShort(long) - Method in class com.kenai.jffi.MemoryIO
-
Reads a 16 bit integer from a native memory location.
- getShort(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getShort(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getShortArray(long, short[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java short array from native memory.
- getShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Reads a java short array from native memory.
- getShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getShortArray(long, short[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getShortArrayChecked(long, short[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Reads a java short array from native memory.
- getShortChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Reads a 16 bit integer from a native memory location.
- getSignal() - Method in exception com.kenai.jffi.FaultException
- getStringLength(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- getStringLength(long) - Method in class com.kenai.jffi.MemoryIO
-
Gets the length of a native ascii or utf-8 string.
- getStringLength(long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getStringLength(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getStruct(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Gets the address of a struct parameter that is passed by value.
- getStruct(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- getStubLibraryName() - Static method in class com.kenai.jffi.internal.StubLoader
-
Gets the name of the stub library.
- getStubLibraryPath() - Static method in class com.kenai.jffi.internal.StubLoader
-
Gets the path within the jar file of the stub native library.
- getStubLibraryStream() - Static method in class com.kenai.jffi.internal.StubLoader
-
Gets an
InputStream
representing the stub library image stored in the jar file. - getSymbolAddress(String) - Method in class com.kenai.jffi.Library
-
Gets the address of a symbol within the
Library
. - getTypeAlign(long) - Method in class com.kenai.jffi.Foreign
-
Gets the minimum required alignment of the FFI type
- getTypeInfo() - Method in class com.kenai.jffi.Aggregate
- getTypeInfo() - Method in class com.kenai.jffi.Type.Builtin
- getTypeInfo() - Method in class com.kenai.jffi.Type
- getTypeSize(long) - Method in class com.kenai.jffi.Foreign
-
Gets the native size of the type
- getTypeType(long) - Method in class com.kenai.jffi.Foreign
-
Gets the primitive type enum for the FFI type
- getUnsafe() - Static method in class com.kenai.jffi.UnsafeMemoryIO
- getVersion() - Method in class com.kenai.jffi.Foreign
-
Gets the native stub library version.
- getVersionField(String) - Static method in class com.kenai.jffi.Foreign
- getVersionField(String) - Static method in class com.kenai.jffi.internal.StubLoader
- getZeroTerminatedByteArray(long) - Static method in class com.kenai.jffi.Foreign
-
Copies a zero (nul) terminated by array from native memory.
- getZeroTerminatedByteArray(long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- 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) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getZeroTerminatedByteArray(long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getZeroTerminatedByteArray(long, int) - Static method in class com.kenai.jffi.Foreign
-
Copies a zero (nul) terminated by array from native memory.
- getZeroTerminatedByteArray(long, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- 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, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- getZeroTerminatedByteArray(long, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- getZeroTerminatedByteArray(long, long) - Method in class com.kenai.jffi.MemoryIO
-
Deprecated.
- getZeroTerminatedByteArrayChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Copies a zero Checked(nul) terminated by array from native memory.
- getZeroTerminatedByteArrayChecked(long, int) - Static method in class com.kenai.jffi.Foreign
-
Copies a zero Checked(nul) terminated by array from native memory.
- GLOBAL - Static variable in class com.kenai.jffi.Library
-
All symbols in the library are made available to other libraries
H
- handle - Variable in class com.kenai.jffi.Aggregate
- handle - Variable in class com.kenai.jffi.ClosurePool.Magazine.Slot
-
The address of the native closure structure.
- handle - Variable in class com.kenai.jffi.Library
-
The native dl/LoadLibrary handle
- handle - Variable in class com.kenai.jffi.Type
- handle - Variable in class com.kenai.jffi.Type.TypeInfo
-
The address of this type's ffi_type structure
- handle() - Method in class com.kenai.jffi.Type
-
Gets the native address of the ffi_type struct for this
Type
- Handle(ClosureMagazine, long, long) - Constructor for class com.kenai.jffi.ClosureMagazine.Handle
- Handle(ClosurePool.Magazine.Slot, ClosurePool.MagazineHolder) - Constructor for class com.kenai.jffi.ClosurePool.Handle
-
Creates a new Handle to lifecycle manager the native closure.
- hashCode - Variable in class com.kenai.jffi.CallContextCache.Signature
- hashCode() - Method in class com.kenai.jffi.Array
- hashCode() - Method in class com.kenai.jffi.CallContext
- hashCode() - Method in class com.kenai.jffi.CallContextCache.Signature
- 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.Builtin
- hashCode() - Method in class com.kenai.jffi.Type
- hashCode() - Method in class com.kenai.jffi.Union
- HEAP - com.kenai.jffi.ObjectParameterStrategy.StrategyType
- 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(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
. - HeapInvocationBuffer(Function) - Constructor for class com.kenai.jffi.HeapInvocationBuffer
-
Creates a new instance of
HeapInvocationBuffer
. - HeapInvocationBuffer.ArrayIO - Class in com.kenai.jffi
- HeapInvocationBuffer.ArrayIO.SingletonHolder - Class in com.kenai.jffi
- HeapInvocationBuffer.BE32ArrayIO - Class in com.kenai.jffi
-
Big endian, 32 bit array encoder
- HeapInvocationBuffer.BE64ArrayIO - Class in com.kenai.jffi
-
Big endian, 64 bit array encoder
- HeapInvocationBuffer.BigEndianArrayIO - Class in com.kenai.jffi
-
Base class for all big-endian architecture array encoders.
- HeapInvocationBuffer.DefaultEncoder - Class in com.kenai.jffi
- HeapInvocationBuffer.Encoder - Class in com.kenai.jffi
-
Encodes java data types into native parameter frames
- HeapInvocationBuffer.Encoder.SingletonHolder - Class in com.kenai.jffi
- HeapInvocationBuffer.InvalidArrayIO - Class in com.kenai.jffi
- HeapInvocationBuffer.LE32ArrayIO - Class in com.kenai.jffi
-
Little endian, 32 bit implementation of
ArrayIO
- HeapInvocationBuffer.LE64ArrayIO - Class in com.kenai.jffi
-
Little endian, 64 bit implementation of
ArrayIO
- HeapInvocationBuffer.LittleEndianArrayIO - Class in com.kenai.jffi
-
Base class for all little-endian architecture array encoders.
- HeapObjectParameterInvoker - Class in com.kenai.jffi
- HeapObjectParameterInvoker(Foreign) - Constructor for class com.kenai.jffi.HeapObjectParameterInvoker
- holder - Variable in class com.kenai.jffi.ClosurePool.Handle
-
Keep references to the closure pool so it does not get garbage collected until all closures using it do.
I
- I386 - com.kenai.jffi.internal.StubLoader.CPU
-
Intel ia32
- I386 - com.kenai.jffi.Platform.CPU
-
Intel ia32
- IBMI - com.kenai.jffi.internal.StubLoader.OS
-
IBM i
- IBMI - com.kenai.jffi.Platform.OS
-
IBM i
- ILP32() - Constructor for class com.kenai.jffi.Invoker.ILP32
- 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.ObjectBuffer
-
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
- INDEX_MASK - Static variable in class com.kenai.jffi.ObjectBuffer
- INDEX_SHIFT - Static variable in class com.kenai.jffi.ObjectBuffer
- 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.
- info - Variable in class com.kenai.jffi.ObjectBuffer
-
The flags/offset/length descriptor array.
- info() - Method in class com.kenai.jffi.ObjectBuffer
-
Gets the object descriptor array.
- infoIndex - Variable in class com.kenai.jffi.ObjectBuffer
-
The index of the next descriptor storage slot
- init() - Method in class com.kenai.jffi.Foreign
-
Initializes any native method/field/class ids
- Init - Class in com.kenai.jffi
-
Utility class to load the jffi stub library
- Init() - Constructor for class com.kenai.jffi.Init
- insertArguments - Variable in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- insertArguments(Object, int, Object...) - Method in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- INSTANCE - Static variable in class com.kenai.jffi.CallContextCache.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.ClosureManager.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
- INSTANCE - Static variable in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
- INSTANCE - Static variable in class com.kenai.jffi.Foreign.InstanceHolder
- INSTANCE - Static variable in class com.kenai.jffi.HeapInvocationBuffer.BE32ArrayIO
- INSTANCE - Static variable in class com.kenai.jffi.HeapInvocationBuffer.BE64ArrayIO
- INSTANCE - Static variable in class com.kenai.jffi.HeapInvocationBuffer.Encoder.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.HeapInvocationBuffer.LE32ArrayIO
- INSTANCE - Static variable in class com.kenai.jffi.HeapInvocationBuffer.LE64ArrayIO
- INSTANCE - Static variable in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- INSTANCE - Static variable in class com.kenai.jffi.Invoker.ILP32
- INSTANCE - Static variable in class com.kenai.jffi.Invoker.LP64
- INSTANCE - Static variable in class com.kenai.jffi.Invoker.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.LastError.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.Library.DefaultLibrary
- INSTANCE - Static variable in class com.kenai.jffi.MemoryIO.CheckedMemorySingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.MemoryIO.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.ObjectParameterInvoker.SingletonHolder
- INSTANCE - Static variable in class com.kenai.jffi.PageManager.SingletonHolder
- InstanceHolder() - Constructor for class com.kenai.jffi.Foreign.InstanceHolder
- INT - com.kenai.jffi.ObjectParameterInfo.ComponentType
- INT - com.kenai.jffi.ObjectParameterType.ComponentType
- INT - Static variable in class com.kenai.jffi.ObjectBuffer
- 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
- Internals() - Constructor for class com.kenai.jffi.Internals
- INVALID - Static variable in class com.kenai.jffi.ObjectParameterType
- InvalidArrayIO(Throwable) - Constructor for class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- InValidInstanceHolder(Throwable) - Constructor for class com.kenai.jffi.Foreign.InValidInstanceHolder
- InvocationBuffer - Class in com.kenai.jffi
-
A parameter buffer used when invoking a function
- InvocationBuffer() - Constructor for class com.kenai.jffi.InvocationBuffer
- invoke(long, long) - Method in class com.kenai.jffi.ClosurePool.Proxy
-
Invoked by the native closure trampoline to execute the java side of the closure.
- 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.
- 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.
- invokeAddress(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker.ILP32
- invokeAddress(CallContext, long, 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.LP64
- invokeAddress(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a native memory address.
- invokeArrayO1Int32(long, long, byte[], Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeArrayO1Int64(long, long, byte[], Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeArrayO2Int32(long, long, byte[], Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeArrayO2Int64(long, long, byte[], Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeArrayReturnDouble(long, long, byte[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function that returns a 64 bit floating point value.
- invokeArrayReturnFloat(long, long, byte[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function that returns a 32 bit floating point value.
- invokeArrayReturnInt(long, long, byte[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function that returns a 32 bit integer.
- invokeArrayReturnLong(long, long, byte[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function that returns a 64 bit integer.
- invokeArrayReturnStruct(long, long, byte[], byte[], int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function and pack the return value into a byte array.
- invokeArrayWithObjectsDouble(long, long, byte[], int, int[], Object[]) - Static method in class com.kenai.jffi.Foreign
- invokeArrayWithObjectsFloat(long, long, byte[], int, int[], Object[]) - Static method in class com.kenai.jffi.Foreign
- invokeArrayWithObjectsInt32(long, long, byte[], int, int[], Object[]) - Static method in class com.kenai.jffi.Foreign
- invokeArrayWithObjectsInt32(long, long, HeapInvocationBuffer, ObjectBuffer) - Method in class com.kenai.jffi.Invoker
-
Convenience method to pass the objects and object descriptor array down as normal arguments, so hotspot can optimize it.
- invokeArrayWithObjectsInt64(long, long, byte[], int, int[], Object[]) - Static method in class com.kenai.jffi.Foreign
- invokeArrayWithObjectsInt64(long, long, HeapInvocationBuffer, ObjectBuffer) - Method in class com.kenai.jffi.Invoker
-
Convenience method to pass the objects and object descriptor array down as normal arguments, so hotspot can optimize it.
- invokeArrayWithObjectsReturnObject(long, long, byte[], int, int[], Object[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function that returns a java object.
- invokeArrayWithObjectsReturnStruct(long, long, byte[], int, int[], Object[], byte[], int) - Static method in class com.kenai.jffi.Foreign
- invokeBigDecimal(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a 64 bit floating point value.
- invokeBigDecimal(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.
- invokeDouble(Function, 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() - Constructor for class com.kenai.jffi.InvokeDynamicSupport
- InvokeDynamicSupport.Invoker - Class in com.kenai.jffi
- InvokeDynamicSupport.JSR292 - Class in com.kenai.jffi
- invokeFloat(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a 32 bit floating point value.
- invokeFloat(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a 32 bit floating point value.
- invokeI0(long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with no arguments, and returns a 32 bit integer.
- invokeI0(CallContext, long) - Method in class com.kenai.jffi.Invoker
-
Invokes a function with no arguments, and returns a 32 bit integer.
- invokeI0NoErrno(long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with no arguments, and returns a 32 bit integer.
- invokeI0NoErrno(CallContext, long) - Method in class com.kenai.jffi.Invoker
- invokeI1(long, long, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with one integer argument, and returns a 32 bit integer.
- 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(long, long, int) - Static method in class com.kenai.jffi.Foreign
-
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(long, long, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with two integer arguments, and returns a 32 bit integer.
- 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(long, long, int, int) - Static method in class com.kenai.jffi.Foreign
-
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(long, long, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with three integer arguments, and returns a 32 bit integer.
- 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(long, long, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
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(long, long, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with four integer arguments, and returns a 32 bit integer.
- 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(long, long, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeI4NoErrno(CallContext, long, int, int, int, int) - Method in class com.kenai.jffi.Invoker
- invokeI5(long, long, int, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with five integer arguments, and returns a 32 bit integer.
- 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(long, long, int, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeI5NoErrno(CallContext, long, int, int, int, int, int) - Method in class com.kenai.jffi.Invoker
- invokeI6(long, long, int, int, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with six integer arguments, and returns a 32 bit integer.
- 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(long, long, int, int, int, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a 32 bit integer value.
- invokeInt(Function, 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(long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with no arguments, and returns a 64 bit integer.
- invokeL0(CallContext, long) - Method in class com.kenai.jffi.Invoker
-
Invokes a function with no arguments, and returns a 64 bit integer.
- invokeL0NoErrno(long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL0NoErrno(CallContext, long) - Method in class com.kenai.jffi.Invoker
- invokeL1(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.
- 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(long, long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL1NoErrno(CallContext, long, long) - Method in class com.kenai.jffi.Invoker
- invokeL2(long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.
- 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(long, long, long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL2NoErrno(CallContext, long, long, long) - Method in class com.kenai.jffi.Invoker
- invokeL3(long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.
- 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(long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL3NoErrno(CallContext, long, long, long, long) - Method in class com.kenai.jffi.Invoker
- invokeL4(long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.
- 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(long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL4NoErrno(CallContext, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
- invokeL5(long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.
- 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(long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
- invokeL5NoErrno(CallContext, long, long, long, long, long, long) - Method in class com.kenai.jffi.Invoker
- invokeL6(long, long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.
- 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(long, long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
- 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(CallContext, long, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
-
Invokes a function and returns a 64 bit integer value.
- invokeLong(Function, 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(long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with zero numeric arguments, and returns a numeric value.
- invokeN0(CallContext, long) - Method in class com.kenai.jffi.Invoker
-
Invokes a function with no arguments, and returns a numeric value.
- invokeN1(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with one numeric 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(long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with one numeric argument, and returns a numeric value.
- invokeN1O1(CallContext, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- 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.HeapObjectParameterInvoker
- invokeN1O1rN(Function, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- 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(long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with two numeric arguments, 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(long, long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with two numeric arguments, and returns a numeric value.
- invokeN2O1(CallContext, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
-
Invokes a function with two numeric arguments, and returns a numeric value.
- 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.HeapObjectParameterInvoker
- invokeN2O1rN(Function, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
-
Invokes a function with two numeric arguments, and returns a numeric value.
- 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(long, long, long, long, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
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.HeapObjectParameterInvoker
- invokeN2O2rN(Function, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
-
Invokes a function with two numeric arguments, and returns a numeric value.
- 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(long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with three 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(long, long, long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with three numeric arguments, and returns a numeric value.
- 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.HeapObjectParameterInvoker
- invokeN3O1rN(Function, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
-
Invokes a function with two numeric arguments, and returns a numeric value.
- 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(long, long, long, long, long, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN3O2rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
-
Invokes a function with two numeric arguments, and returns a numeric value.
- invokeN3O2rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN3O3(long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN3O3rN(Function, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- 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(long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with four numeric arguments, and returns a numeric value.
- 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(long, long, long, long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN4O1rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN4O1rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN4O2(long, long, long, long, long, long, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN4O2rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN4O2rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN4O3(long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN4O3rN(Function, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- 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
- invokeN4O4(long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeN5(long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with five numeric arguments, and returns a numeric value.
- 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(long, long, long, long, long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN5O1rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN5O1rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN5O2(long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN5O2rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN5O2rN(Function, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN5O3(long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- 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.NativeObjectParameterInvoker
- 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
- invokeN5O4(long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeN5O5(long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeN6(long, long, long, long, long, long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function with six numeric arguments, and returns a numeric value.
- 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(long, long, long, long, long, long, long, long, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN6O1rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN6O1rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN6O2(long, long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- invokeN6O2rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- invokeN6O2rN(Function, long, long, long, long, long, long, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterInvoker
- invokeN6O3(long, long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.HeapObjectParameterInvoker
- 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.NativeObjectParameterInvoker
- 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
- invokeN6O4(long, long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeN6O5(long, long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- invokeN6O6(long, long, long, long, long, long, long, long, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int, Object, int, int, int) - Static method in class com.kenai.jffi.Foreign
- 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.
- invokeO1(Function, byte[], Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.HeapObjectParameterInvoker
- invokeO2(Function, byte[], Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.HeapObjectParameterInvoker
- invokeO3(Function, byte[], Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo, Object, int, int, ObjectParameterInfo) - Method in class com.kenai.jffi.HeapObjectParameterInvoker
- invokeObject(Function, HeapInvocationBuffer) - Method in class com.kenai.jffi.Invoker
- invokePointerParameterArray(long, long, long, long[]) - Static method in class com.kenai.jffi.Foreign
-
Invokes a function, with the parameters loaded into native memory buffers, and the function result is stored in a native memory buffer.
- Invoker - Class in com.kenai.jffi
-
Provides native function invocation facilities.
- Invoker() - Constructor for class com.kenai.jffi.Invoker
-
Creates a new
Invoker
- Invoker(Foreign, ObjectParameterInvoker) - Constructor for class com.kenai.jffi.Invoker
- Invoker(Method, Object) - Constructor for class com.kenai.jffi.InvokeDynamicSupport.Invoker
- Invoker.ILP32 - Class in com.kenai.jffi
-
A 32 bit invoker implementation
- Invoker.LP64 - Class in com.kenai.jffi
-
A 64 bit invoker implementation
- Invoker.SingletonHolder - Class in com.kenai.jffi
-
Lazy initialization singleton holder
- invokeStruct(CallContext, long, HeapInvocationBuffer) - 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.
- invokeStruct(Function, 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.
- 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.
- io - Variable in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- IO - Static variable in class com.kenai.jffi.ClosurePool.Magazine
-
Store a reference to the MemoryIO accessor here for easy access
- IO - Static variable in class com.kenai.jffi.DirectClosureBuffer
- IO - Static variable in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
- IO - Static variable in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
- ioflags - Variable in class com.kenai.jffi.ObjectParameterInfo
- ioflags() - Method in class com.kenai.jffi.ObjectParameterInfo
- isAvailable() - Static method in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- isDirect - Variable in class com.kenai.jffi.ObjectParameterStrategy
- isDirect() - Method in class com.kenai.jffi.ObjectParameterStrategy
- isEmpty() - Method in class com.kenai.jffi.ClosurePool.Magazine
- isFaultProtectionEnabled() - Static method in class com.kenai.jffi.Foreign
- isFull() - Method in class com.kenai.jffi.ClosurePool.Magazine
- 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
- isMemoryProtectionEnabled() - Static method in class com.kenai.jffi.Foreign
- isNative() - Method in class com.kenai.jffi.HeapObjectParameterInvoker
- isNative() - Method in class com.kenai.jffi.NativeObjectParameterInvoker
- 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.
- isRawParameterPackingEnabled() - Method in class com.kenai.jffi.Foreign
- isSupported() - Method in class com.kenai.jffi.Platform
-
Checks if the current platform is supported by JFFI.
- isUnsafeAvailable() - Static method in class com.kenai.jffi.MemoryIO
-
Determines the best Unsafe implementation to use.
J
- javaVersionMajor - Variable in class com.kenai.jffi.Platform
- JFFI_EXTRACT_DIR - Static variable in class com.kenai.jffi.internal.StubLoader
- JFFI_EXTRACT_NAME - Static variable in class com.kenai.jffi.internal.StubLoader
- jffiExtractDir - Static variable in class com.kenai.jffi.internal.StubLoader
- jffiExtractName - Static variable in class com.kenai.jffi.internal.StubLoader
- JNI - Static variable in class com.kenai.jffi.ObjectBuffer
- JNI_EDETACHED - Static variable in class com.kenai.jffi.Foreign
- JNI_EEXIST - Static variable in class com.kenai.jffi.Foreign
- JNI_EINVAL - Static variable in class com.kenai.jffi.Foreign
- JNI_ENOMEM - Static variable in class com.kenai.jffi.Foreign
- JNI_ERR - Static variable in class com.kenai.jffi.Foreign
- JNI_EVERSION - Static variable in class com.kenai.jffi.Foreign
- JNI_OK - Static variable in class com.kenai.jffi.Foreign
- JNIENV - Static variable in class com.kenai.jffi.ObjectBuffer
-
The JNIEnv address
- JNIOBJECT - Static variable in class com.kenai.jffi.ObjectBuffer
-
The jobject handle
- JSR292(Object, Method, Class, Method) - Constructor for class com.kenai.jffi.InvokeDynamicSupport.JSR292
L
- lastError - Static variable in class com.kenai.jffi.Library
-
Stores the last error returned by a dlopen or dlsym call
- LastError - Class in com.kenai.jffi
-
Provides access to the value of errno on unix, or GetLastError on windows.
- LastError() - Constructor for class com.kenai.jffi.LastError
-
Creates a new
LastError
instance - LastError.SingletonHolder - Class in com.kenai.jffi
-
Lazy-initialization singleton holder
- LAZY - Static variable in class com.kenai.jffi.Library
-
Perform lazy binding.
- LE32ArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.LE32ArrayIO
- LE64ArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.LE64ArrayIO
- length - Variable in class com.kenai.jffi.Array
- 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
- Library(Foreign, String, long) - Constructor for class com.kenai.jffi.Library
- Library.DefaultLibrary - Class in com.kenai.jffi
-
A handle to the current process
- LINUX - com.kenai.jffi.internal.StubLoader.OS
-
Linux
- LINUX - com.kenai.jffi.Platform.OS
-
Linux
- LittleEndianArrayIO() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.LittleEndianArrayIO
- load() - Static method in class com.kenai.jffi.Init
-
Loads the stub library
- load() - Static method in class com.kenai.jffi.internal.StubLoader
-
Loads the stub library
- loaded - Static variable in class com.kenai.jffi.Init
- loaded - Static variable in class com.kenai.jffi.internal.StubLoader
- loadFromBootPath(String, String, Collection<Throwable>) - Static method in class com.kenai.jffi.internal.StubLoader
- loadFromJar(File) - Static method in class com.kenai.jffi.internal.StubLoader
- LOCAL - Static variable in class com.kenai.jffi.Library
-
Symbols in this library are not made available to other libraries
- LOCALE - Static variable in class com.kenai.jffi.internal.StubLoader
- LOCALE - Static variable in class com.kenai.jffi.Platform
- lock - Static variable in class com.kenai.jffi.Library
-
A lock used to serialize all dlopen/dlsym calls
- LONG - com.kenai.jffi.ObjectParameterInfo.ComponentType
- LONG - com.kenai.jffi.ObjectParameterType.ComponentType
- LONG - Static variable in class com.kenai.jffi.ObjectBuffer
- LONG - Static variable in class com.kenai.jffi.ObjectParameterInfo
- LONG - Static variable in class com.kenai.jffi.ObjectParameterType
- LONGDOUBLE - com.kenai.jffi.NativeType
- LONGDOUBLE - Static variable in class com.kenai.jffi.Type
-
The native long double type
- longDoubleFromDouble(double, byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longDoubleFromString(String, byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longDoubleToDouble(byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longDoubleToEngineeringString(byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longDoubleToPlainString(byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longDoubleToString(byte[], int, int) - Method in class com.kenai.jffi.Foreign
- longSize() - Method in class com.kenai.jffi.Platform.Darwin
- longSize() - Method in class com.kenai.jffi.Platform.Default
- longSize() - Method in class com.kenai.jffi.Platform
-
Gets the size of a C 'long' on the native platform.
- longSize() - Method in class com.kenai.jffi.Platform.Windows
- lookup - Variable in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- lookupBuiltinType(int) - Method in class com.kenai.jffi.Foreign
-
Gets the address of the ffi_type structure for the builtin type
- lookupTypeInfo() - Method in class com.kenai.jffi.Type.Builtin
- LOONGARCH64 - com.kenai.jffi.internal.StubLoader.CPU
-
LOONGARCH64
- LOONGARCH64 - com.kenai.jffi.Platform.CPU
-
LOONGARCH64
- LP64() - Constructor for class com.kenai.jffi.Invoker.LP64
M
- magazine - Variable in class com.kenai.jffi.ClosureMagazine.Handle
- magazine - Variable in class com.kenai.jffi.ClosurePool.Magazine
- magazine - Variable in class com.kenai.jffi.ClosurePool.MagazineHolder
- Magazine(CallContext) - Constructor for class com.kenai.jffi.ClosurePool.Magazine
- magazineAddress - Variable in class com.kenai.jffi.ClosureMagazine
- MagazineHolder(ClosurePool, ClosurePool.Magazine) - Constructor for class com.kenai.jffi.ClosurePool.MagazineHolder
- magazines - Variable in class com.kenai.jffi.ClosurePool
- main(String[]) - Static method in class com.kenai.jffi.Main
- Main - Class in com.kenai.jffi
- Main() - Constructor for class com.kenai.jffi.Main
- MAJOR - Static variable in class com.kenai.jffi.Version
- makeBufferFlags(int) - Static method in class com.kenai.jffi.ObjectBuffer
-
Encodes the native object flags for an NIO Buffer.
- makeJNIFlags(int, int) - Static method in class com.kenai.jffi.ObjectBuffer
- makeObjectFlags(int, int, int) - Static method in class com.kenai.jffi.ObjectBuffer
-
Encodes the native object flags for an array.
- MAP_ALIGN - Static variable in class com.kenai.jffi.Foreign
- MAP_ANON - Static variable in class com.kenai.jffi.Foreign
- MAP_FIXED - Static variable in class com.kenai.jffi.Foreign
-
Use the specified address
- MAP_NORESERVE - Static variable in class com.kenai.jffi.Foreign
- MAP_PRIVATE - Static variable in class com.kenai.jffi.Foreign
- MAP_SHARED - Static variable in class com.kenai.jffi.Foreign
-
Share changes
- MAP_TEXT - Static variable in class com.kenai.jffi.Foreign
-
Code segment memory
- mapLibraryName(String) - Method in class com.kenai.jffi.Platform.Darwin
- mapLibraryName(String) - Method in class com.kenai.jffi.Platform
-
Maps from a generic library name (e.g.
- MEM_4MB_PAGES - Static variable in class com.kenai.jffi.Foreign
- MEM_COMMIT - Static variable in class com.kenai.jffi.Foreign
- MEM_DECOMMIT - Static variable in class com.kenai.jffi.Foreign
- MEM_FREE - Static variable in class com.kenai.jffi.Foreign
- MEM_MAPPED - Static variable in class com.kenai.jffi.Foreign
- MEM_PHYSICAL - Static variable in class com.kenai.jffi.Foreign
- MEM_PRIVATE - Static variable in class com.kenai.jffi.Foreign
- MEM_RELEASE - Static variable in class com.kenai.jffi.Foreign
- MEM_RESERVE - Static variable in class com.kenai.jffi.Foreign
- MEM_RESET - Static variable in class com.kenai.jffi.Foreign
- MEM_TOP_DOWN - Static variable in class com.kenai.jffi.Foreign
- memchr(long, int, long) - Static method in class com.kenai.jffi.Foreign
-
Gets the address of a byte value in a native memory region.
- memchr(long, int, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- memchr(long, int, long) - Method in class com.kenai.jffi.MemoryIO
-
Gets the address of a byte value in a native memory region.
- memchr(long, int, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- memchr(long, int, long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- memchrChecked(long, int, long) - Static method in class com.kenai.jffi.Foreign
-
Gets the address of a byte value in a native memory region.
- memcpy(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies non-overlapping memory areas.
- memcpy(long, long, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- memcpy(long, long, long) - Method in class com.kenai.jffi.MemoryIO
-
Copies bytes from one memory location to another.
- memcpy(long, long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- memcpy(long, long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- memcpyChecked(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies non-overlapping memory areas.
- memmove(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies potentially overlapping memory areas.
- memmove(long, long, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- memmove(long, long, long) - Method in class com.kenai.jffi.MemoryIO
-
Copies potentially overlapping memory areas.
- memmove(long, long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- memmove(long, long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- memmoveChecked(long, long, long) - Static method in class com.kenai.jffi.Foreign
-
Copies potentially overlapping memory areas.
- memory - Variable in class com.kenai.jffi.NativeMethods
- memory - Variable in class com.kenai.jffi.NativeMethods.ResourceHolder
- MemoryIO - Class in com.kenai.jffi
-
Provides facilities to access native memory from java.
- MemoryIO() - Constructor for class com.kenai.jffi.MemoryIO
- MemoryIO.CheckedMemorySingletonHolder - Class in com.kenai.jffi
- MemoryIO.CheckedNativeImpl - Class in com.kenai.jffi
- MemoryIO.NativeImpl - Class in com.kenai.jffi
-
An implementation of MemoryIO using JNI methods.
- MemoryIO.NativeImpl32 - Class in com.kenai.jffi
-
A 32 bit optimized implementation of
MemoryIO
using JNI. - MemoryIO.NativeImpl64 - Class in com.kenai.jffi
-
A 64 bit optimized implementation of
MemoryIO
using JNI. - MemoryIO.SingletonHolder - Class in com.kenai.jffi
-
Holds a single instance of
MemoryIO
- memset(long, int, long) - Method in class com.kenai.jffi.MemoryIO
-
Sets a region of native memory to a specific byte value.
- method - Variable in class com.kenai.jffi.InvokeDynamicSupport.Invoker
- METHOD - Static variable in class com.kenai.jffi.ClosurePool.Proxy
- methodHandle - Variable in class com.kenai.jffi.InvokeDynamicSupport.Invoker
- methodHandles - Variable in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- MICRO - Static variable in class com.kenai.jffi.Version
- MINOR - Static variable in class com.kenai.jffi.Version
- MIPS64EL - com.kenai.jffi.internal.StubLoader.CPU
-
MIPS 64-bit little endian
- MIPS64EL - com.kenai.jffi.Platform.CPU
-
MIPS64EL
- MIPSEL - com.kenai.jffi.internal.StubLoader.CPU
-
MIPS 32-bit little endian
- MIPSEL - com.kenai.jffi.Platform.CPU
-
MIPSEL
- mm - Variable in class com.kenai.jffi.NativeMethods.ResourceHolder
- mmap(long, long, int, int, int, long) - Static method in class com.kenai.jffi.Foreign
-
Calls the Unix mmap(2) function This method is undefined on windows.
- mprotect(long, long, int) - Static method in class com.kenai.jffi.Foreign
-
Calls the Unix mprotect(2) function.
- munmap(long, long) - Static method in class com.kenai.jffi.Foreign
-
Calls the Unix munmap(2) function.
N
- name - Variable in class com.kenai.jffi.Library
-
The name of this
Library
- name - Variable in class com.kenai.jffi.NativeMethod
- nativeHandles(Type[]) - Static method in class com.kenai.jffi.Type
-
Converts an array of
Type
objects into an array of pointers to ffi_type structures. - nativeHandles(List<Type>) - Static method in class com.kenai.jffi.Type
-
Converts a list of
Type
objects into an array of pointers to ffi_type structures. - NativeImpl() - Constructor for class com.kenai.jffi.MemoryIO.NativeImpl
- NativeImpl32() - Constructor for class com.kenai.jffi.MemoryIO.NativeImpl32
- NativeImpl64() - Constructor for class com.kenai.jffi.MemoryIO.NativeImpl64
- 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
- NativeMethods(NativeMethods.ResourceHolder) - Constructor for class com.kenai.jffi.NativeMethods
- NativeMethods.ResourceHolder - Class in com.kenai.jffi
- NativeObjectParameterInvoker - Class in com.kenai.jffi
- NativeObjectParameterInvoker(Foreign) - Constructor for class com.kenai.jffi.NativeObjectParameterInvoker
- nativeType - Variable in class com.kenai.jffi.Type.Builtin
- NativeType - Enum in com.kenai.jffi
- NativeType(int) - Constructor for enum com.kenai.jffi.NativeType
- NativeWordIO() - Constructor for class com.kenai.jffi.DirectClosureBuffer.NativeWordIO
- NativeWordIO32() - Constructor for class com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
- NativeWordIO64() - Constructor for class com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
- NETBSD - com.kenai.jffi.internal.StubLoader.OS
-
NetBSD
- NETBSD - com.kenai.jffi.Platform.OS
-
NetBSD
- newArray(long, int) - Method in class com.kenai.jffi.Foreign
-
Allocates a new FFI array type.
- newArray(Type, int) - Static method in class com.kenai.jffi.Array
-
Creates a new C array layout description.
- newCallContext(long, long[], int) - Method in class com.kenai.jffi.Foreign
-
Creates a new native call context.
- newClosure(Closure, CallContext) - Method in class com.kenai.jffi.ClosureManager
-
Wraps a java object that implements the
Closure
interface in a native closure. - 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. - newClosureHandle(Closure) - Method in class com.kenai.jffi.ClosurePool
- newClosureMagazine(long, Method, boolean) - Method in class com.kenai.jffi.Foreign
- newClosureMagazine(CallContext, Method) - Method in class com.kenai.jffi.ClosureManager
- newDarwinPlatform() - Static method in class com.kenai.jffi.Platform
- newDefaultPlatform(Platform.OS) - Static method in class com.kenai.jffi.Platform
- newDirectByteBuffer(long, int) - Method in class com.kenai.jffi.Foreign
-
Creates a new Direct ByteBuffer for a native memory region.
- newDirectByteBuffer(long, int) - Method in class com.kenai.jffi.MemoryIO
-
Creates a new Direct ByteBuffer for a native memory region.
- newHeapInvoker() - Static method in class com.kenai.jffi.ObjectParameterInvoker
- newHeapObjectCountError(int) - Static method in class com.kenai.jffi.Invoker
- newInsufficientObjectCountError(int) - Static method in class com.kenai.jffi.Invoker
- newInvalidArrayIO(Throwable) - Static method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- newLoadError(Throwable) - Static method in class com.kenai.jffi.Foreign
- newLoadError(Throwable) - Static method in class com.kenai.jffi.Init
- newMemoryIO() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new instance of
MemoryIO
optimized for the current platform. - newNativeCheckedImpl() - Static method in class com.kenai.jffi.MemoryIO
- newNativeImpl() - Static method in class com.kenai.jffi.MemoryIO
- newNativeImpl32() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new JNI implementation of
MemoryIO
optimized for 32 bit platforms - newNativeImpl64() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new JNI implementation of
MemoryIO
optimized for 64 bit platforms - newNativeInvoker() - Static method in class com.kenai.jffi.ObjectParameterInvoker
- newNativeMethod(String, String, long) - Method in class com.kenai.jffi.Foreign
- newObjectCountError(int) - Static method in class com.kenai.jffi.Invoker
- newStruct(long[], boolean) - Method in class com.kenai.jffi.Foreign
-
Allocates a new FFI struct or union layout
- newStruct(Type...) - Static method in class com.kenai.jffi.Struct
- newUnion(Type...) - Static method in class com.kenai.jffi.Union
- newUnsafeImpl() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new sun.misc.Unsafe implementation of
MemoryIO
- newUnsafeImpl32() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new sun.misc.Unsafe implementation of
MemoryIO
optimized for 32 bit platforms - newUnsafeImpl64() - Static method in class com.kenai.jffi.MemoryIO
-
Creates a new sun.misc.Unsafe implementation of
MemoryIO
optimized for 64 bit platforms - newWindowsPlatform() - Static method in class com.kenai.jffi.Platform
- next - Variable in class com.kenai.jffi.ClosurePool.Magazine
- NONE - Static variable in class com.kenai.jffi.ObjectParameterType
- NOW - Static variable in class com.kenai.jffi.Library
-
Resolve all symbols when loading the library
- NULL_CLOSURE - Static variable in class com.kenai.jffi.ClosurePool
- 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
- objectBuffer - Variable in class com.kenai.jffi.HeapInvocationBuffer
- objectBuffer() - Method in class com.kenai.jffi.HeapInvocationBuffer
-
Gets the object buffer used to store java heap array parameters
- ObjectBuffer - Class in com.kenai.jffi
-
Holds objects the native code must handle - such as primitive arrays
- ObjectBuffer() - Constructor for class com.kenai.jffi.ObjectBuffer
- ObjectBuffer(int) - Constructor for class com.kenai.jffi.ObjectBuffer
- objectCount() - Method in class com.kenai.jffi.ObjectBuffer
-
Gets the number of objects stored in this
ObjectBuffer
. - objectIndex - Variable in class com.kenai.jffi.ObjectBuffer
-
The index of the next object storage slot
- objectInfo - Variable in class com.kenai.jffi.ObjectParameterInfo
- objectInfo(ObjectParameterInfo) - Method in class com.kenai.jffi.ObjectParameterStrategy
- ObjectParameterInfo - Class in com.kenai.jffi
- ObjectParameterInfo(int) - Constructor for class com.kenai.jffi.ObjectParameterInfo
- ObjectParameterInfo.ComponentType - Enum in com.kenai.jffi
- ObjectParameterInfo.ObjectType - Enum in com.kenai.jffi
- objectParameterInvoker - Variable in class com.kenai.jffi.Invoker
- ObjectParameterInvoker - Class in com.kenai.jffi
- ObjectParameterInvoker() - Constructor for class com.kenai.jffi.ObjectParameterInvoker
- ObjectParameterInvoker.SingletonHolder - Class in com.kenai.jffi
- 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(int) - Constructor for class com.kenai.jffi.ObjectParameterType
- ObjectParameterType(ObjectParameterType.ObjectType, ObjectParameterType.ComponentType) - Constructor for class com.kenai.jffi.ObjectParameterType
- ObjectParameterType.ComponentType - Enum in com.kenai.jffi
- ObjectParameterType.ObjectType - Enum in com.kenai.jffi
- ObjectParameterType.TypeCache - Class in com.kenai.jffi
- objects - Variable in class com.kenai.jffi.ObjectBuffer
-
The objects stored in this buffer
- objects() - Method in class com.kenai.jffi.ObjectBuffer
-
Gets the array of stored objects.
- ObjectType(int) - Constructor for enum com.kenai.jffi.ObjectParameterInfo.ObjectType
- ObjectType(int) - Constructor for enum com.kenai.jffi.ObjectParameterType.ObjectType
- offset(Object) - Method in class com.kenai.jffi.DirectObjectParameterStrategy
- offset(T) - Method in class com.kenai.jffi.ObjectParameterStrategy
- OPENBSD - com.kenai.jffi.internal.StubLoader.OS
-
OpenBSD
- OPENBSD - com.kenai.jffi.Platform.OS
-
OpenBSD
- openLibrary(String, int) - Static method in class com.kenai.jffi.Library
-
Gets a handle for the named library.
- os - Static variable in class com.kenai.jffi.internal.StubLoader
- os - Variable in class com.kenai.jffi.Platform
- OS() - Constructor for enum com.kenai.jffi.internal.StubLoader.OS
- OS() - Constructor for enum com.kenai.jffi.Platform.OS
- 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.ObjectBuffer
-
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
- PAGE_EXECUTE - Static variable in class com.kenai.jffi.Foreign
- PAGE_EXECUTE_READ - Static variable in class com.kenai.jffi.Foreign
- PAGE_EXECUTE_READWRITE - Static variable in class com.kenai.jffi.Foreign
- PAGE_EXECUTE_WRITECOPY - Static variable in class com.kenai.jffi.Foreign
- PAGE_NOACCESS - Static variable in class com.kenai.jffi.Foreign
-
Win32 VirtualAlloc/VirtualProtect flags
- PAGE_READONLY - Static variable in class com.kenai.jffi.Foreign
- PAGE_READWRITE - Static variable in class com.kenai.jffi.Foreign
- PAGE_WRITECOPY - Static variable in class com.kenai.jffi.Foreign
- PageManager - Class in com.kenai.jffi
-
Manages allocation, disposal and protection of native memory pages
- PageManager() - Constructor for class com.kenai.jffi.PageManager
- PageManager.SingletonHolder - Class in com.kenai.jffi
- PageManager.Unix - Class in com.kenai.jffi
- PageManager.Windows - Class in com.kenai.jffi
- pageSize - Variable in class com.kenai.jffi.PageManager
- pageSize() - Static method in class com.kenai.jffi.Foreign
-
Gets the size of a page of memory.
- pageSize() - Method in class com.kenai.jffi.PageManager
-
Gets the system page size.
- PARAM_SIZE - Static variable in class com.kenai.jffi.DirectClosureBuffer
- PARAM_SIZE - Static variable in class com.kenai.jffi.HeapInvocationBuffer
- parameterCount - Variable in class com.kenai.jffi.CallContext
-
The number of parameters this function takes
- parameterIndex - Variable in class com.kenai.jffi.ObjectParameterInfo
- parameters - Variable in class com.kenai.jffi.DirectClosureBuffer
- parameterTypeHandles - Variable in class com.kenai.jffi.CallContext
- parameterTypes - Variable in class com.kenai.jffi.CallContext
-
The parameter types of this function
- parameterTypes - Variable in class com.kenai.jffi.CallContextCache.Signature
- paramIndex - Variable in class com.kenai.jffi.HeapInvocationBuffer
- paramOffset - Variable in class com.kenai.jffi.HeapInvocationBuffer
- partialQueue - Variable in class com.kenai.jffi.ClosurePool
- 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.ObjectBuffer
-
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(Platform.OS) - Constructor for class com.kenai.jffi.Platform
-
Constructs a new
Platform
instance. - PLATFORM - Static variable in class com.kenai.jffi.Platform.SingletonHolder
- Platform.ArchHolder - Class in com.kenai.jffi
- Platform.CPU - Enum in com.kenai.jffi
-
The common names of cpu architectures.
- Platform.Darwin - Class in com.kenai.jffi
-
A
Platform
subclass representing the MacOS system. - Platform.Default - Class in com.kenai.jffi
- Platform.OS - Enum in com.kenai.jffi
-
The common names of operating systems.
- Platform.SingletonHolder - Class in com.kenai.jffi
-
Holds a single, lazily loaded instance of
Platform
- Platform.Windows - Class in com.kenai.jffi
-
A
Platform
subclass representing the Windows system. - POINTER - com.kenai.jffi.NativeType
- POINTER - Static variable in class com.kenai.jffi.Type
-
The native memory address type
- pool - Variable in class com.kenai.jffi.ClosurePool.MagazineHolder
- poolMap - Variable in class com.kenai.jffi.ClosureManager
-
ClosurePool instances are linked via a SoftReference in the lookup map, so when all closure instances that that were allocated from the ClosurePool have been reclaimed, and there is memory pressure, the native closure pool can be freed.
- PPC - com.kenai.jffi.internal.StubLoader.CPU
-
Power PC 32 bit
- PPC - com.kenai.jffi.Platform.CPU
-
Power PC 32 bit
- PPC64 - com.kenai.jffi.internal.StubLoader.CPU
-
Power PC 64 bit
- PPC64 - com.kenai.jffi.Platform.CPU
-
Power PC 64 bit
- PPC64LE - com.kenai.jffi.internal.StubLoader.CPU
-
Power PC 64 bit little endian
- PPC64LE - com.kenai.jffi.Platform.CPU
-
Power PC 64 bit little endian
- PRIM_MASK - Static variable in class com.kenai.jffi.ObjectBuffer
- PROT_EXEC - Static variable in class com.kenai.jffi.Foreign
-
Pages can be executed
- PROT_EXEC - Static variable in class com.kenai.jffi.PageManager
-
The memory should be executable
- PROT_NONE - Static variable in class com.kenai.jffi.Foreign
-
Pages cannot be accessed
- PROT_READ - Static variable in class com.kenai.jffi.Foreign
-
Pages can be read
- PROT_READ - Static variable in class com.kenai.jffi.PageManager
-
The memory should be readable
- PROT_WRITE - Static variable in class com.kenai.jffi.Foreign
-
Pages can be written
- 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.
- protectPages(long, int, int) - Method in class com.kenai.jffi.PageManager.Unix
- protectPages(long, int, int) - Method in class com.kenai.jffi.PageManager.Windows
- proxy - Variable in class com.kenai.jffi.ClosurePool.Magazine.Slot
- Proxy(CallContext) - Constructor for class com.kenai.jffi.ClosurePool.Proxy
- put(long, int) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO
-
Writes a native long argument to native memory.
- put(long, int) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO32
- put(long, int) - Method in class com.kenai.jffi.DirectClosureBuffer.NativeWordIO64
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.BE32ArrayIO
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.BE64ArrayIO
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a native memory address value into the byte array.
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.LE32ArrayIO
- putAddress(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.LE64ArrayIO
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a native memory address value to a native memory location.
- putAddress(long, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putAddress(long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl32
- putAddress(long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl64
- putAddress(long, long) - Method in class com.kenai.jffi.MemoryIO
-
Writes a native memory address value to a native memory location.
- putAddress(long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO32
- putAddress(long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO64
- putAddressChecked(long, long) - Static method in class com.kenai.jffi.Foreign
-
Writes a native memory address value to a native memory location.
- putArray(byte[], 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(double[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putArray(double[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a java double array as a pointer parameter.
- putArray(float[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putArray(float[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a java float array as a pointer parameter.
- putArray(int[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putArray(int[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a java int array as a pointer parameter.
- putArray(int, boolean[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java boolean array as a pointer parameter.
- putArray(int, byte[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java byte array as a pointer parameter.
- putArray(int, char[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java char array as a pointer parameter.
- putArray(int, double[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java double array as a pointer parameter.
- putArray(int, float[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java float array as a pointer parameter.
- putArray(int, int[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java int array as a pointer parameter.
- putArray(int, long[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java long array as a pointer parameter.
- putArray(int, short[], int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java short array as a pointer parameter.
- putArray(long[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putArray(long[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a java long array as a pointer parameter.
- putArray(short[], int, int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putArray(short[], int, int, int) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a java short array as a pointer parameter.
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.BigEndianArrayIO
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a byte value into the byte array.
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- putByte(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.LittleEndianArrayIO
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes an 8 bit integer value to a native memory location.
- putByte(long, byte) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putByte(long, byte) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putByte(long, byte) - Method in class com.kenai.jffi.MemoryIO
-
Writes an 8 bit integer value to a native memory location.
- putByte(long, byte) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putByteArray(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java byte array to native memory.
- putByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java byte array to native memory.
- putByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putByteArrayChecked(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java byte array to native memory.
- putByteChecked(long, byte) - Static method in class com.kenai.jffi.Foreign
-
Writes an 8 bit integer value to a native memory location.
- putCharArray(long, char[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java char array to native memory.
- putCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putCharArray(long, char[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java char array to native memory.
- putCharArray(long, char[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putCharArrayChecked(long, char[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java char array to native memory.
- putDirectBuffer(int, Buffer, int, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Adds a java direct buffer as a pointer parameter.
- 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(byte[], int, double) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putDouble(byte[], int, double) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putDouble(byte[], int, double) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a double value into the byte array.
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a 64 bit floating point value to a native memory location.
- putDouble(long, double) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putDouble(long, double) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putDouble(long, double) - Method in class com.kenai.jffi.MemoryIO
-
Writes a 64 bit floating point value to a native memory location.
- putDouble(long, double) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putDoubleArray(long, double[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java double array to native memory.
- putDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java double array to native memory.
- putDoubleArray(long, double[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putDoubleArrayChecked(long, double[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java double array to native memory.
- putDoubleChecked(long, double) - Static method in class com.kenai.jffi.Foreign
-
Writes a 64 bit floating point value to a native memory location.
- putFloat(byte[], int, float) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putFloat(byte[], int, float) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putFloat(byte[], int, float) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a float value into the byte array.
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a 32 bit floating point value to a native memory location.
- putFloat(long, float) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putFloat(long, float) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putFloat(long, float) - Method in class com.kenai.jffi.MemoryIO
-
Writes a 32 bit floating point value to a native memory location.
- putFloat(long, float) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putFloatArray(long, float[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java double array to native memory.
- putFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java double array to native memory.
- putFloatArray(long, float[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putFloatArrayChecked(long, float[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java double array to native memory.
- putFloatChecked(long, float) - Static method in class com.kenai.jffi.Foreign
-
Writes a 32 bit floating point value to a native memory location.
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.BigEndianArrayIO
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes an int value into the byte array.
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- putInt(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.LittleEndianArrayIO
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a 32 bit integer value to a native memory location.
- putInt(long, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putInt(long, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putInt(long, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a 32 bit integer value to a native memory location.
- putInt(long, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putIntArray(long, int[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java int array to native memory.
- putIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putIntArray(long, int[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java int array to native memory.
- putIntArray(long, int[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putIntArrayChecked(long, int[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java int array to native memory.
- putIntChecked(long, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a 32 bit integer value to a native memory location.
- putJNI(int, Object, int) - Method in class com.kenai.jffi.ObjectBuffer
-
Put the address of the current JNIEnv into this parameter position
- putJNIEnvironment() - Method in class com.kenai.jffi.HeapInvocationBuffer
- putJNIObject(Object) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.BigEndianArrayIO
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a long value into the byte array.
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- putLong(byte[], int, long) - Method in class com.kenai.jffi.HeapInvocationBuffer.LittleEndianArrayIO
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a 64 bit integer value to a native memory location.
- putLong(long, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putLong(long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putLong(long, long) - Method in class com.kenai.jffi.MemoryIO
-
Writes a 64 bit integer value to a native memory location.
- putLong(long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putLongArray(long, long[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java long array to native memory.
- putLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putLongArray(long, long[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java long array to native memory.
- putLongArray(long, long[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putLongArrayChecked(long, long[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java long array to native memory.
- putLongChecked(long, long) - Static method in class com.kenai.jffi.Foreign
-
Writes a 64 bit integer value to a native memory location.
- putLongDouble(double) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putLongDouble(BigDecimal) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putObject(Object, int, int, int) - Method in class com.kenai.jffi.ObjectBuffer
- putObject(Object, ObjectParameterStrategy, int) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putObject(Object, ObjectParameterStrategy, ObjectParameterInfo) - Method in class com.kenai.jffi.HeapInvocationBuffer
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.ArrayIO
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.BigEndianArrayIO
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
-
Encodes a short value into the byte array.
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.InvalidArrayIO
- putShort(byte[], int, int) - Method in class com.kenai.jffi.HeapInvocationBuffer.LittleEndianArrayIO
- 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) - Static method in class com.kenai.jffi.Foreign
-
Writes a 16 bit integer value to a native memory location.
- putShort(long, short) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putShort(long, short) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putShort(long, short) - Method in class com.kenai.jffi.MemoryIO
-
Writes a 16 bit integer value to a native memory location.
- putShort(long, short) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putShortArray(long, short[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java short array to native memory.
- putShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- putShortArray(long, short[], int, int) - Method in class com.kenai.jffi.MemoryIO
-
Writes a java short array to native memory.
- putShortArray(long, short[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putShortArrayChecked(long, short[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Writes a java short array to native memory.
- putShortChecked(long, short) - Static method in class com.kenai.jffi.Foreign
-
Writes a 16 bit integer value to a native memory location.
- putStruct(byte[], int) - 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.HeapInvocationBuffer
- putStruct(long) - Method in class com.kenai.jffi.InvocationBuffer
-
Adds a struct or union as a parameter.
- putZeroTerminatedByteArray(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Copies a java byte array to native memory and appends a NUL terminating byte.
- putZeroTerminatedByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- putZeroTerminatedByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- 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.
- putZeroTerminatedByteArray(long, byte[], int, int) - Method in class com.kenai.jffi.UnsafeMemoryIO
- putZeroTerminatedByteArrayChecked(long, byte[], int, int) - Static method in class com.kenai.jffi.Foreign
-
Copies a java byte array to native memory and appends a NUL terminating byte.
R
- rawParameterSize - Variable in class com.kenai.jffi.CallContext
-
The size of buffer required when packing parameters
- recycle() - Method in class com.kenai.jffi.ClosurePool.Magazine
- recycle(ClosurePool.Magazine) - Method in class com.kenai.jffi.ClosurePool
- recycle(ClosurePool.Magazine.Slot, ClosurePool.MagazineHolder) - Method in class com.kenai.jffi.ClosurePool
- register(Class, List<NativeMethod>) - Static method in class com.kenai.jffi.NativeMethods
-
Registers the native methods for a class.
- registeredMethods - Static variable in class com.kenai.jffi.NativeMethods
-
Store a link from the class to the native method holder in a weak hash map, so as long as the class remains alive, the native memory for the structures remains alive.
- registerNativeMethods(Class, long) - Method in class com.kenai.jffi.Foreign
- registerNatives(Class, long, int) - Method in class com.kenai.jffi.Foreign
- resolveAlignment() - Method in class com.kenai.jffi.Type
- resolveHandle() - Method in class com.kenai.jffi.Type
- resolveSize() - Method in class com.kenai.jffi.Type
- resolveType() - Method in class com.kenai.jffi.Type
- ResourceHolder(MemoryIO, long) - Constructor for class com.kenai.jffi.NativeMethods.ResourceHolder
- returnType - Variable in class com.kenai.jffi.CallContext
-
The return type of this function
- returnType - Variable in class com.kenai.jffi.CallContextCache.Signature
-
Keep references to the return and parameter types so they do not get garbage collected until the closure does.
- retval - Variable in class com.kenai.jffi.DirectClosureBuffer
- RISCV64 - com.kenai.jffi.internal.StubLoader.CPU
-
RISC-V 64-bit little endian
- RISCV64 - com.kenai.jffi.Platform.CPU
-
RISCV64
- RTLD_GLOBAL - Static variable in class com.kenai.jffi.Foreign
-
All symbols in the library are made available to other libraries
- RTLD_LAZY - Static variable in class com.kenai.jffi.Foreign
-
Perform lazy binding.
- RTLD_LOCAL - Static variable in class com.kenai.jffi.Foreign
-
Symbols in this library are not made available to other libraries
- RTLD_NOW - Static variable in class com.kenai.jffi.Foreign
-
Resolve all symbols when loading the library
S
- S390X - com.kenai.jffi.internal.StubLoader.CPU
-
IBM zSeries S/390 64 bit
- S390X - com.kenai.jffi.Platform.CPU
-
IBM zSeries S/390 64 bit
- saveErrno - Variable in class com.kenai.jffi.CallContextCache.Signature
- SCHAR - com.kenai.jffi.NativeType
- 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.
- setAddressReturn(long) - Method in class com.kenai.jffi.DirectClosureBuffer
- 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. - setAutoRelease(boolean) - Method in class com.kenai.jffi.ClosureMagazine.Handle
- setAutoRelease(boolean) - Method in class com.kenai.jffi.ClosurePool.Handle
- setByteReturn(byte) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to an 8 bit integer value.
- setByteReturn(byte) - Method in class com.kenai.jffi.DirectClosureBuffer
- setCallContextErrorFunction(long, long) - Method in class com.kenai.jffi.Foreign
- setDoubleReturn(double) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to a 64 bit floating point value.
- setDoubleReturn(double) - Method in class com.kenai.jffi.DirectClosureBuffer
- setFloatReturn(float) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to a 32 bit floating point value.
- setFloatReturn(float) - Method in class com.kenai.jffi.DirectClosureBuffer
- setIntReturn(int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to a 32 bit integer value.
- setIntReturn(int) - Method in class com.kenai.jffi.DirectClosureBuffer
- setLastError(int) - Static method in class com.kenai.jffi.Foreign
-
Sets the native errno value
- setLongReturn(long) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to a 64 bit integer value.
- setLongReturn(long) - Method in class com.kenai.jffi.DirectClosureBuffer
- setMemory(long, long, byte) - Static method in class com.kenai.jffi.Foreign
-
Sets a region of native memory to a specific byte value.
- setMemory(long, long, byte) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- setMemory(long, long, byte) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- setMemory(long, long, byte) - Method in class com.kenai.jffi.MemoryIO
-
Sets a region of native memory to a specific byte value.
- setMemory(long, long, byte) - Method in class com.kenai.jffi.UnsafeMemoryIO
- setMemoryChecked(long, long, byte) - Static method in class com.kenai.jffi.Foreign
-
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.
- setShortReturn(short) - Method in class com.kenai.jffi.DirectClosureBuffer
- setStructReturn(byte[], int) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to the contents of a struct
- setStructReturn(byte[], int) - Method in class com.kenai.jffi.DirectClosureBuffer
- setStructReturn(long) - Method in interface com.kenai.jffi.Closure.Buffer
-
Sets the closure return value to the contents of a struct
- setStructReturn(long) - Method in class com.kenai.jffi.DirectClosureBuffer
- SHORT - com.kenai.jffi.ObjectParameterInfo.ComponentType
- SHORT - com.kenai.jffi.ObjectParameterType.ComponentType
- SHORT - Static variable in class com.kenai.jffi.ObjectBuffer
- SHORT - Static variable in class com.kenai.jffi.ObjectParameterInfo
- SHORT - Static variable in class com.kenai.jffi.ObjectParameterType
- signal - Variable in exception com.kenai.jffi.FaultException
- signature - Variable in class com.kenai.jffi.CallContextCache.CallContextRef
- signature - Variable in class com.kenai.jffi.NativeMethod
- Signature(Type, Type[], CallingConvention, boolean, boolean) - Constructor for class com.kenai.jffi.CallContextCache.Signature
- SingletonHolder() - Constructor for class com.kenai.jffi.CallContextCache.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.ClosureManager.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.ArrayIO.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.HeapInvocationBuffer.Encoder.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.Invoker.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.LastError.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.MemoryIO.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.ObjectParameterInvoker.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.PageManager.SingletonHolder
- SingletonHolder() - Constructor for class com.kenai.jffi.Platform.SingletonHolder
- SINT - com.kenai.jffi.NativeType
- SINT - Static variable in class com.kenai.jffi.Type
-
The native signed integer type
- SINT16 - com.kenai.jffi.NativeType
- SINT16 - Static variable in class com.kenai.jffi.Type
-
The native signed 16 bit integer type
- SINT32 - com.kenai.jffi.NativeType
- SINT32 - Static variable in class com.kenai.jffi.Type
-
The native signed 32 bit integer type
- SINT64 - com.kenai.jffi.NativeType
- SINT64 - Static variable in class com.kenai.jffi.Type
-
The native signed 64 bit integer type
- SINT8 - com.kenai.jffi.NativeType
- SINT8 - Static variable in class com.kenai.jffi.Type
-
The native signed 8 bit integer type
- size - Variable in class com.kenai.jffi.Type
- size - Variable in class com.kenai.jffi.Type.TypeInfo
-
The size in bytes of this type
- size() - Method in class com.kenai.jffi.Type
-
Gets the size of this type.
- sizeMismatchError(File, int, int) - Static method in class com.kenai.jffi.internal.StubLoader
- skipAddress(int) - Method in class com.kenai.jffi.HeapInvocationBuffer.DefaultEncoder
- skipAddress(int) - Method in class com.kenai.jffi.HeapInvocationBuffer.Encoder
- SLONG - com.kenai.jffi.NativeType
- 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
- slot - Variable in class com.kenai.jffi.ClosurePool.Handle
- Slot(long, ClosurePool.Proxy) - Constructor for class com.kenai.jffi.ClosurePool.Magazine.Slot
- slots - Variable in class com.kenai.jffi.ClosurePool.Magazine
- SOLARIS - com.kenai.jffi.internal.StubLoader.OS
-
Solaris (and OpenSolaris)
- SOLARIS - com.kenai.jffi.Platform.OS
-
Solaris (and OpenSolaris)
- SPARC - com.kenai.jffi.internal.StubLoader.CPU
-
Sun sparc 32 bit
- SPARC - com.kenai.jffi.Platform.CPU
-
Sun sparc 32 bit
- SPARCV9 - com.kenai.jffi.internal.StubLoader.CPU
-
Sun sparc 64 bit
- SPARCV9 - com.kenai.jffi.Platform.CPU
-
Sun sparc 64 bit
- SSHORT - com.kenai.jffi.NativeType
- SSHORT - Static variable in class com.kenai.jffi.Type
-
The native signed short integer type
- startsWithIgnoreCase(String, String) - Static method in class com.kenai.jffi.Platform
- startsWithIgnoreCase(String, String, Locale) - Static method in class com.kenai.jffi.Util
- STDCALL - com.kenai.jffi.CallingConvention
-
Windows stdcall calling convention
- StrategyType() - Constructor for enum com.kenai.jffi.ObjectParameterStrategy.StrategyType
- strlen(long) - Static method in class com.kenai.jffi.Foreign
-
Gets the length of a native ascii or utf-8 string.
- strlenChecked(long) - Static method in class com.kenai.jffi.Foreign
-
Gets the length of a native ascii or utf-8 string.
- Struct - Class in com.kenai.jffi
-
Describes the layout of a C struct
- Struct(Foreign, Type...) - Constructor for class com.kenai.jffi.Struct
-
Creates a new C struct layout description.
- Struct(Type...) - Constructor for class com.kenai.jffi.Struct
-
Deprecated.
- STRUCT - com.kenai.jffi.NativeType
- Struct.StructReference - Class in com.kenai.jffi
- structCache - Static variable in class com.kenai.jffi.Struct
- StructReference(Struct, ReferenceQueue<? super Struct>, List<Type>) - Constructor for class com.kenai.jffi.Struct.StructReference
- structReferenceQueue - Static variable in class com.kenai.jffi.Struct
- stubLibraryName - Static variable in class com.kenai.jffi.internal.StubLoader
- 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
- stubLoaderClassName - Static variable in class com.kenai.jffi.Init
T
- tempLoadError(UnsatisfiedLinkError) - Static method in class com.kenai.jffi.internal.StubLoader
- tempReadonlyError(IOException) - Static method in class com.kenai.jffi.internal.StubLoader
- TMPDIR - Static variable in class com.kenai.jffi.internal.StubLoader
- TMPDIR_ENV - Static variable in class com.kenai.jffi.internal.StubLoader
- TMPDIR_EXEC_ERROR - Static variable in class com.kenai.jffi.internal.StubLoader
- TMPDIR_RECOMMENDATION - Static variable in class com.kenai.jffi.internal.StubLoader
- TMPDIR_WRITE_ERROR - Static variable in class com.kenai.jffi.internal.StubLoader
- 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 - Variable in class com.kenai.jffi.Type
- type - Variable in class com.kenai.jffi.Type.TypeInfo
-
The FFI type of this type
- type() - Method in class com.kenai.jffi.Type
-
Gets the FFI type enum value for this
Type
- Type - Class in com.kenai.jffi
-
Native parameter and return types.
- Type() - Constructor for class com.kenai.jffi.Type
- TYPE_DOUBLE - Static variable in class com.kenai.jffi.Foreign
- TYPE_FLOAT - Static variable in class com.kenai.jffi.Foreign
- TYPE_LONGDOUBLE - Static variable in class com.kenai.jffi.Foreign
- TYPE_MASK - Static variable in class com.kenai.jffi.ObjectBuffer
- TYPE_POINTER - Static variable in class com.kenai.jffi.Foreign
- TYPE_SCHAR - Static variable in class com.kenai.jffi.Foreign
- TYPE_SHIFT - Static variable in class com.kenai.jffi.ObjectBuffer
- TYPE_SINT - Static variable in class com.kenai.jffi.Foreign
- TYPE_SINT16 - Static variable in class com.kenai.jffi.Foreign
- TYPE_SINT32 - Static variable in class com.kenai.jffi.Foreign
- TYPE_SINT64 - Static variable in class com.kenai.jffi.Foreign
- TYPE_SINT8 - Static variable in class com.kenai.jffi.Foreign
- TYPE_SLONG - Static variable in class com.kenai.jffi.Foreign
- TYPE_SSHORT - Static variable in class com.kenai.jffi.Foreign
- TYPE_STRUCT - Static variable in class com.kenai.jffi.Foreign
- TYPE_UCHAR - Static variable in class com.kenai.jffi.Foreign
- TYPE_UINT - Static variable in class com.kenai.jffi.Foreign
- TYPE_UINT16 - Static variable in class com.kenai.jffi.Foreign
- TYPE_UINT32 - Static variable in class com.kenai.jffi.Foreign
- TYPE_UINT64 - Static variable in class com.kenai.jffi.Foreign
- TYPE_UINT8 - Static variable in class com.kenai.jffi.Foreign
- TYPE_ULONG - Static variable in class com.kenai.jffi.Foreign
- TYPE_USHORT - Static variable in class com.kenai.jffi.Foreign
- TYPE_VOID - Static variable in class com.kenai.jffi.Foreign
- Type.Builtin - Class in com.kenai.jffi
-
Types that are built-in to libffi.
- Type.TypeInfo - Class in com.kenai.jffi
-
This is a lazy loaded cache of builtin type info, so we can still have Type.VOID as a public static variable without it causing the native library to load.
- TypeCache() - Constructor for class com.kenai.jffi.ObjectParameterType.TypeCache
- typeInfo - Variable in class com.kenai.jffi.Aggregate
- typeInfo - Variable in class com.kenai.jffi.ObjectParameterStrategy
- typeInfo - Variable in class com.kenai.jffi.ObjectParameterType
- typeInfo - Variable in class com.kenai.jffi.Type.Builtin
- TypeInfo(long, int, int, int) - Constructor for class com.kenai.jffi.Type.TypeInfo
U
- UCHAR - com.kenai.jffi.NativeType
- UCHAR - Static variable in class com.kenai.jffi.Type
-
The native unsigned char type
- UINT - com.kenai.jffi.NativeType
- UINT - Static variable in class com.kenai.jffi.Type
-
The native unsigned integer type
- UINT16 - com.kenai.jffi.NativeType
- UINT16 - Static variable in class com.kenai.jffi.Type
-
The native unsigned 16 bit integer type
- UINT32 - com.kenai.jffi.NativeType
- UINT32 - Static variable in class com.kenai.jffi.Type
-
The native unsigned 32 bit integer type
- UINT64 - com.kenai.jffi.NativeType
- UINT64 - Static variable in class com.kenai.jffi.Type
-
The native unsigned 64 bit integer type
- UINT8 - com.kenai.jffi.NativeType
- UINT8 - Static variable in class com.kenai.jffi.Type
-
The native unsigned 8 bit integer type
- ULONG - com.kenai.jffi.NativeType
- 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.
- Unix() - Constructor for class com.kenai.jffi.PageManager.Unix
- UNKNOWN - com.kenai.jffi.internal.StubLoader.CPU
-
Unknown CPU
- UNKNOWN - com.kenai.jffi.internal.StubLoader.OS
-
No idea what the operating system is
- UNKNOWN - com.kenai.jffi.Platform.CPU
-
Unknown CPU
- UNKNOWN - com.kenai.jffi.Platform.OS
-
No idea what the operating system is
- unpackLibrary(File, InputStream) - Static method in class com.kenai.jffi.internal.StubLoader
- unreflect - Variable in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- unreflect(Method) - Method in class com.kenai.jffi.InvokeDynamicSupport.JSR292
- unregister(Class) - Static method in class com.kenai.jffi.NativeMethods
-
Removes all native method attachments for the specified class.
- unregisterNativeMethods(Class) - Method in class com.kenai.jffi.Foreign
- unregisterNatives(Class) - Method in class com.kenai.jffi.Foreign
- unsafe - Static variable in class com.kenai.jffi.UnsafeMemoryIO
- UnsafeMemoryIO - Class in com.kenai.jffi
-
An implementation of
MemoryIO
using sun.misc.Unsafe - UnsafeMemoryIO() - Constructor for class com.kenai.jffi.UnsafeMemoryIO
- UnsafeMemoryIO.UnsafeMemoryIO32 - Class in com.kenai.jffi
-
A 32 bit optimized implementation of
MemoryIO
using sun.misc.Unsafe - UnsafeMemoryIO.UnsafeMemoryIO64 - Class in com.kenai.jffi
-
A 64 bit optimized implementation of
MemoryIO
using sun.misc.Unsafe - UnsafeMemoryIO32() - Constructor for class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO32
- UnsafeMemoryIO64() - Constructor for class com.kenai.jffi.UnsafeMemoryIO.UnsafeMemoryIO64
- UPDATER - Static variable in class com.kenai.jffi.Aggregate
- UPDATER - Variable in class com.kenai.jffi.CallContext
- UPDATER - Static variable in class com.kenai.jffi.ClosureMagazine
- UPDATER - Static variable in class com.kenai.jffi.Library
- useMagazine(ClosurePool.Magazine) - Method in class com.kenai.jffi.ClosurePool
- USHORT - com.kenai.jffi.NativeType
- USHORT - Static variable in class com.kenai.jffi.Type
-
The native unsigned short integer type
- Util - Class in com.kenai.jffi
- Util() - Constructor for class com.kenai.jffi.Util
V
- v(Foreign, int) - Static method in class com.kenai.jffi.Main
- ValidInstanceHolder(Foreign) - Constructor for class com.kenai.jffi.Foreign.ValidInstanceHolder
- value - Variable in enum com.kenai.jffi.ObjectParameterInfo.ComponentType
- value - Variable in enum com.kenai.jffi.ObjectParameterInfo.ObjectType
- value - Variable in enum com.kenai.jffi.ObjectParameterType.ComponentType
- value - Variable in enum com.kenai.jffi.ObjectParameterType.ObjectType
- 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.
- verifyAccessor(Class, Class) - Static method in class com.kenai.jffi.MemoryIO
-
Verifies that there is are accessor functions (get,put) for a particular primitive type in the sun.misc.Unsafe class.
- verifyExistingLibrary(File, InputStream) - Static method in class com.kenai.jffi.internal.StubLoader
- Version - Class in com.kenai.jffi
- Version() - Constructor for class com.kenai.jffi.Version
- VERSION_MAJOR - Static variable in class com.kenai.jffi.Foreign
- VERSION_MAJOR - Static variable in class com.kenai.jffi.internal.StubLoader
- VERSION_MICRO - Static variable in class com.kenai.jffi.Foreign
- VERSION_MINOR - Static variable in class com.kenai.jffi.Foreign
- VERSION_MINOR - Static variable in class com.kenai.jffi.internal.StubLoader
- versionClassName - Static variable in class com.kenai.jffi.internal.StubLoader
- VirtualAlloc(long, int, int, int) - Static method in class com.kenai.jffi.Foreign
- VirtualFree(long, int, int) - Static method in class com.kenai.jffi.Foreign
- VirtualProtect(long, int, int) - Static method in class com.kenai.jffi.Foreign
- VOID - com.kenai.jffi.NativeType
- VOID - Static variable in class com.kenai.jffi.Type
-
The native void type
W
- w32prot(int) - Static method in class com.kenai.jffi.PageManager.Windows
- Windows() - Constructor for class com.kenai.jffi.PageManager.Windows
- Windows() - Constructor for class com.kenai.jffi.Platform.Windows
- WINDOWS - com.kenai.jffi.internal.StubLoader.OS
-
The evil borg operating system
- WINDOWS - com.kenai.jffi.Platform.OS
-
The evil borg operating system
- WordIO - Static variable in class com.kenai.jffi.DirectClosureBuffer
X
- X86_64 - com.kenai.jffi.internal.StubLoader.CPU
-
AMD 64 bit (aka EM64T/X64)
- X86_64 - com.kenai.jffi.Platform.CPU
-
AMD 64 bit (aka EM64T/X64)
Z
- ZERO_TERMINATE - Static variable in class com.kenai.jffi.ObjectBuffer
-
Append a NUL byte to the array contents after copying to native memory
- ZLINUX - com.kenai.jffi.internal.StubLoader.OS
-
IBM zOS
- ZLINUX - com.kenai.jffi.Platform.OS
-
IBM zOS
_
- _copyMemory(long, long, long) - Method in class com.kenai.jffi.MemoryIO
-
Copies contents of a native memory location to another native memory location.
- _copyMemory(long, long, long) - Method in class com.kenai.jffi.MemoryIO.CheckedNativeImpl
- _copyMemory(long, long, long) - Method in class com.kenai.jffi.MemoryIO.NativeImpl
- _copyMemory(long, long, long) - Method in class com.kenai.jffi.UnsafeMemoryIO
All Classes All Packages