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