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