A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractDataConverter<J,N> - Class in jnr.ffi.mapper
 
AbstractDataConverter() - Constructor for class jnr.ffi.mapper.AbstractDataConverter
 
AbstractFromNativeType - Class in jnr.ffi.mapper
 
AbstractNumberReference<T extends Number> - Class in jnr.ffi.byref
An abstract class for common PrimitiveReference functionality
AbstractNumberReference(T) - Constructor for class jnr.ffi.byref.AbstractNumberReference
 
AbstractReference<T> - Class in jnr.ffi.byref
An abstract class for common PrimitiveReference functionality
AbstractReference(T) - Constructor for class jnr.ffi.byref.AbstractReference
 
AbstractSignatureTypeMapper - Class in jnr.ffi.mapper
 
AbstractSignatureTypeMapper() - Constructor for class jnr.ffi.mapper.AbstractSignatureTypeMapper
 
AbstractToNativeType - Class in jnr.ffi.mapper
 
add(T) - Method in class jnr.ffi.ObjectReferenceManager
Adds a mapping from a java object to a unique native address.
addField(int, int) - Method in class jnr.ffi.StructLayout
 
addField(int, int, StructLayout.Offset) - Method in class jnr.ffi.StructLayout
 
addField(Type) - Method in class jnr.ffi.StructLayout
 
addField(Type, StructLayout.Offset) - Method in class jnr.ffi.StructLayout
 
addLibraryPath(String, File) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
Address - Class in jnr.ffi
The Address class wraps a native address in an object.
Address(Address) - Constructor for class jnr.ffi.Address
Creates a new address representation.
address() - Method in class jnr.ffi.Address
Gets the native memory address represented by this Address as a long integer.
address() - Method in class jnr.ffi.Pointer
Gets the native address of this memory object (optional operation).
AddressByReference - Class in jnr.ffi.byref
AddressByReference is used when the address of a primitive pointer value must be passed as a parameter to a function.
AddressByReference() - Constructor for class jnr.ffi.byref.AddressByReference
Creates a new reference to an integer value
AddressByReference(Address) - Constructor for class jnr.ffi.byref.AddressByReference
Creates a new reference to an address value
addressMask() - Method in class jnr.ffi.Runtime
Gets the address mask for this runtime
addressSize() - Method in class jnr.ffi.Platform
Deprecated.
addressSize() - Method in class jnr.ffi.Runtime
Gets the size of an address (e.g.
alignment(Struct) - Static method in class jnr.ffi.Struct
 
alignment() - Method in class jnr.ffi.StructLayout
 
alignment() - Method in class jnr.ffi.Type
The native alignment of this type, in bytes
allocate(Runtime, int) - Static method in class jnr.ffi.Memory
Allocates a new block of java memory and wraps it in a Pointer accessor.
allocate(Runtime, NativeType) - Static method in class jnr.ffi.Memory
Allocates a new block of java memory and wraps it in a Pointer accessor.
allocate(Runtime, Type) - Static method in class jnr.ffi.Memory
Allocates a new block of java memory and wraps it in a Pointer accessor.
allocate(Runtime, TypeAlias) - Static method in class jnr.ffi.Memory
Allocates a new block of java memory and wraps it in a Pointer accessor.
allocateDirect(Runtime, int) - Static method in class jnr.ffi.Memory
Allocates a new block of native memory and wraps it in a Pointer accessor.
allocateDirect(Runtime, NativeType) - Static method in class jnr.ffi.Memory
Allocates a new block of native memory and wraps it in a Pointer accessor.
allocateDirect(Runtime, TypeAlias) - Static method in class jnr.ffi.Memory
Allocates a new block of native memory and wraps it in a Pointer accessor.
allocateDirect(Runtime, int, boolean) - Static method in class jnr.ffi.Memory
Allocates a new block of native memory and wraps it in a Pointer accessor.
allocateTemporary(Runtime, NativeType) - Static method in class jnr.ffi.Memory
Allocates a new block of transient native memory and wraps it in a Pointer accessor.
allocateTemporary(Runtime, TypeAlias) - Static method in class jnr.ffi.Memory
Allocates a new block of transient native memory and wraps it in a Pointer accessor.
allocateTemporary(Runtime, NativeType, boolean) - Static method in class jnr.ffi.Memory
Allocates a new block of transient native memory and wraps it in a Pointer accessor.
array() - Method in class jnr.ffi.Pointer
Returns the array that backs this pointer.
array(T[]) - Method in class jnr.ffi.Struct
Creates an array of Member instances.
array(Struct.Signed8[]) - Method in class jnr.ffi.Struct
Creates an array of Signed8 instances.
array(Struct.Unsigned8[]) - Method in class jnr.ffi.Struct
Creates an array of Unsigned8 instances.
array(Struct.Signed16[]) - Method in class jnr.ffi.Struct
Creates an array of Signed16 instances.
array(Struct.Unsigned16[]) - Method in class jnr.ffi.Struct
Creates an array of Unsigned16 instances.
array(Struct.Signed32[]) - Method in class jnr.ffi.Struct
Creates an array of Signed32 instances.
array(Struct.Unsigned32[]) - Method in class jnr.ffi.Struct
Creates an array of Unsigned32 instances.
array(Struct.Signed64[]) - Method in class jnr.ffi.Struct
Creates an array of Signed64 instances.
array(Struct.Unsigned64[]) - Method in class jnr.ffi.Struct
Creates an array of Unsigned64 instances.
array(Struct.SignedLong[]) - Method in class jnr.ffi.Struct
Creates an array of SignedLong instances.
array(Struct.UnsignedLong[]) - Method in class jnr.ffi.Struct
Creates an array of UnsignedLong instances.
array(Struct.Float[]) - Method in class jnr.ffi.Struct
Creates an array of Float instances.
array(Struct.Double[]) - Method in class jnr.ffi.Struct
Creates an array of Double instances.
array(Struct.Address[]) - Method in class jnr.ffi.Struct
Creates an array of Address instances.
array(Struct.Pointer[]) - Method in class jnr.ffi.Struct
Creates an array of Pointer instances.
array(T[]) - Method in class jnr.ffi.StructLayout
Creates an array of Member instances.
arrayBegin() - Method in class jnr.ffi.Struct
Starts an array construction session
arrayBegin() - Method in class jnr.ffi.StructLayout
Starts an array construction session
arrayEnd() - Method in class jnr.ffi.Struct
Ends an array construction session
arrayEnd() - Method in class jnr.ffi.StructLayout
Ends an array construction session
arrayLength() - Method in class jnr.ffi.Pointer
Returns the length of this pointer's backing array that is used by this pointer.
arrayOf(Runtime, Class<T>, int) - Static method in class jnr.ffi.Struct
 
arrayOffset() - Method in class jnr.ffi.Pointer
Returns the offset within this pointer's backing array of the first element.
at(int) - Method in class jnr.ffi.StructLayout
 

B

blkcnt_t - Annotation Type in jnr.ffi.types
 
blksize_t - Annotation Type in jnr.ffi.types
 
build() - Method in class jnr.ffi.mapper.FunctionMapper.Builder
 
build() - Method in class jnr.ffi.mapper.TypeMapper.Builder
 
ByReference<T> - Interface in jnr.ffi.byref
A ByReference subclass is used when a primitive parameter must be passed by-reference.
ByteByReference - Class in jnr.ffi.byref
ByteByReference is used when the address of a primitive byte value must be passed as a parameter to a function.
ByteByReference() - Constructor for class jnr.ffi.byref.ByteByReference
Creates a new reference to a byte value initialized to zero.
ByteByReference(Byte) - Constructor for class jnr.ffi.byref.ByteByReference
Creates a new reference to a byte value
ByteByReference(byte) - Constructor for class jnr.ffi.byref.ByteByReference
Creates a new reference to a byte value
byteOrder() - Method in class jnr.ffi.Runtime
Gets the native byte order of the runtime.
byteValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
byteValue() - Method in class jnr.ffi.Struct.NumberField
Returns a byte representation of this Number.
byteValue() - Method in class jnr.ffi.Struct.Signed8
Returns a java byte representation of this field.
byteValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns a byte representation of this Number.
byteValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed8
Returns a java byte representation of this field.

C

CachingTypeMapper - Class in jnr.ffi.mapper
Caches Class -> native converter lookups.
CachingTypeMapper(SignatureTypeMapper) - Constructor for class jnr.ffi.mapper.CachingTypeMapper
 
caddr_t - Annotation Type in jnr.ffi.types
 
CallingConvention - Enum in jnr.ffi
Native function calling conventions.
charset - Variable in class jnr.ffi.Struct.String
 
charset - Variable in class jnr.ffi.StructLayout.String
 
checkBounds(long, long) - Method in class jnr.ffi.Pointer
Checks that the memory region is within the bounds of this memory object
checkNull(T) - Static method in class jnr.ffi.byref.AbstractNumberReference
 
checkNull(T) - Static method in class jnr.ffi.byref.AbstractReference
 
Clear - Annotation Type in jnr.ffi.annotations
Indicates that the temporary native memory allocated for an @Out paramneter should be cleared before passing to the native function.
clock_t - Annotation Type in jnr.ffi.types
 
compareTo(Address) - Method in class jnr.ffi.Address
Compares two Address instances numerically.
compareTo(NativeLong) - Method in class jnr.ffi.NativeLong
Compares two NativeLong instances numerically.
CompositeFunctionMapper - Class in jnr.ffi.mapper
 
CompositeFunctionMapper(Collection<FunctionMapper>) - Constructor for class jnr.ffi.mapper.CompositeFunctionMapper
 
CompositeTypeMapper - Class in jnr.ffi.mapper
 
CompositeTypeMapper(SignatureTypeMapper...) - Constructor for class jnr.ffi.mapper.CompositeTypeMapper
 
CompositeTypeMapper(Collection<SignatureTypeMapper>) - Constructor for class jnr.ffi.mapper.CompositeTypeMapper
 
convention(CallingConvention) - Method in class jnr.ffi.LibraryLoader
Sets the native function calling convention.
create(Class<T>) - Static method in class jnr.ffi.LibraryLoader
Creates a new LibraryLoader instance.
create(Class, FromNativeContext) - Static method in class jnr.ffi.mapper.DefaultSignatureType
 
create(Class, ToNativeContext) - Static method in class jnr.ffi.mapper.DefaultSignatureType
 
create(FromNativeConverter) - Static method in class jnr.ffi.mapper.FromNativeTypes
 
create(ToNativeConverter) - Static method in class jnr.ffi.mapper.ToNativeTypes
 

D

DataConverter<J,N> - Interface in jnr.ffi.mapper
 
DefaultSignatureType - Class in jnr.ffi.mapper
 
DefaultSignatureType(Class, Collection<Annotation>, Type) - Constructor for class jnr.ffi.mapper.DefaultSignatureType
 
DefaultTypeMapper - Class in jnr.ffi.mapper
 
DefaultTypeMapper() - Constructor for class jnr.ffi.mapper.DefaultTypeMapper
 
Delegate - Annotation Type in jnr.ffi.annotations
 
dev_t - Annotation Type in jnr.ffi.types
 
Direct - Annotation Type in jnr.ffi.annotations
Indicates that a Struct} parameter should be backed by a persistent native memory block.
DoubleByReference - Class in jnr.ffi.byref
 
DoubleByReference() - Constructor for class jnr.ffi.byref.DoubleByReference
Creates a new reference to a double value initialized to zero.
DoubleByReference(Double) - Constructor for class jnr.ffi.byref.DoubleByReference
Creates a new reference to a double value
DoubleByReference(double) - Constructor for class jnr.ffi.byref.DoubleByReference
Creates a new reference to a double value
doubleValue() - Method in class jnr.ffi.Address
Returns the value of this Address as a double.
doubleValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
doubleValue() - Method in class jnr.ffi.NativeLong
Returns an double representation of this NativeLong.
doubleValue() - Method in class jnr.ffi.Struct.Double
 
doubleValue() - Method in class jnr.ffi.Struct.Float
 
doubleValue() - Method in class jnr.ffi.Struct.NumberField
Returns an float representation of this Number.
doubleValue() - Method in class jnr.ffi.Struct.Offset
 
doubleValue(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
doubleValue(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
doubleValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns an float representation of this Number.
doubleValue() - Method in class jnr.ffi.StructLayout.Offset
 

E

enclosing() - Method in class jnr.ffi.StructLayout.Field
Gets the Struct this Member is a member of.
Encoding - Annotation Type in jnr.ffi.annotations
Used to specify the Charset to use for encoding/decoding a String
enumClass - Variable in class jnr.ffi.Struct.EnumField
 
enumClass - Variable in class jnr.ffi.StructLayout.EnumField
 
enumMapper - Variable in class jnr.ffi.StructLayout.EnumField
 
equals(Object) - Method in class jnr.ffi.Address
Compares this address to another address.
equals(Object) - Method in class jnr.ffi.mapper.DefaultSignatureType
 
equals(Object) - Method in class jnr.ffi.mapper.MethodParameterContext
 
equals(Object) - Method in class jnr.ffi.NativeLong
Compares this NativeLong to another NativeLong.

F

failImmediately() - Method in class jnr.ffi.LibraryLoader
Turns off lazy propagation of load failures.
findType(NativeType) - Method in class jnr.ffi.Runtime
Looks up the runtime-specific type that corresponds to the pseudo-type
findType(TypeAlias) - Method in class jnr.ffi.Runtime
Looks up the runtime-specific type that corresponds to the type alias
FloatByReference - Class in jnr.ffi.byref
 
FloatByReference() - Constructor for class jnr.ffi.byref.FloatByReference
Creates a new reference to a short value initialized to zero.
FloatByReference(Float) - Constructor for class jnr.ffi.byref.FloatByReference
Creates a new reference to a float value
FloatByReference(float) - Constructor for class jnr.ffi.byref.FloatByReference
Creates a new reference to a float value
floatValue() - Method in class jnr.ffi.Address
Returns the value of this Address as a float.
floatValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
floatValue() - Method in class jnr.ffi.NativeLong
Returns an float representation of this NativeLong.
floatValue() - Method in class jnr.ffi.Struct.Double
 
floatValue() - Method in class jnr.ffi.Struct.Float
 
floatValue() - Method in class jnr.ffi.Struct.NumberField
Returns an float representation of this Number.
floatValue() - Method in class jnr.ffi.Struct.Offset
 
floatValue(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
floatValue(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
floatValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns an float representation of this Number.
floatValue() - Method in class jnr.ffi.StructLayout.Offset
 
freeReference(Pointer) - Method in class jnr.ffi.ObjectReferenceManager
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.AddressByReference
Copies the address value from native memory
fromNative(Runtime, Pointer, long) - Method in interface jnr.ffi.byref.ByReference
Copies the java value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.ByteByReference
Copies the Byte value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.DoubleByReference
Copies the double value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.FloatByReference
Copies the float value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.IntByReference
Copies the integer value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.LongLongByReference
Copies the value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.NativeLongByReference
Copies the long value from native memory
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.NumberByReference
 
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.PointerByReference
 
fromNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.ShortByReference
Copies the short value from native memory
fromNative(N, FromNativeContext) - Method in interface jnr.ffi.mapper.FromNativeConverter
 
FromNativeContext - Interface in jnr.ffi.mapper
Context for a native->java type conversion.
FromNativeConverter<J,N> - Interface in jnr.ffi.mapper
Converts data from a native type to a java type
FromNativeConverter.Cacheable - Annotation Type in jnr.ffi.mapper
 
FromNativeConverter.FromNative - Annotation Type in jnr.ffi.mapper
 
FromNativeConverter.NoContext - Annotation Type in jnr.ffi.mapper
 
FromNativeType - Interface in jnr.ffi.mapper
 
FromNativeType.Cacheable - Annotation Type in jnr.ffi.mapper
 
FromNativeTypes - Class in jnr.ffi.mapper
 
FromNativeTypes() - Constructor for class jnr.ffi.mapper.FromNativeTypes
 
fsblkcnt_t - Annotation Type in jnr.ffi.types
 
fsfilcnt_t - Annotation Type in jnr.ffi.types
 
function(Class<T>) - Method in class jnr.ffi.Struct
 
function(Class<T>) - Method in class jnr.ffi.StructLayout
 
function(Class<T>, StructLayout.Offset) - Method in class jnr.ffi.StructLayout
 
FunctionMapper - Interface in jnr.ffi.mapper
 
FunctionMapper.Builder - Class in jnr.ffi.mapper
 
FunctionMapper.Builder() - Constructor for class jnr.ffi.mapper.FunctionMapper.Builder
 
FunctionMapper.Context - Interface in jnr.ffi.mapper
 

G

get(Pointer) - Method in class jnr.ffi.ObjectReferenceManager
Gets the java object that is mapped to the native memory address referred to by reference.
get(long, byte[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple byte values.
get(long, short[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple short values.
get(long, int[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple int values.
get(long, long[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple long values.
get(long, float[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple float values.
get(long, double[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple double values.
get(long, Pointer[], int, int) - Method in class jnr.ffi.Pointer
Bulk get method for multiple Pointer values.
get() - Method in class jnr.ffi.Struct.AbstractBoolean
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Address
Reads an Address value from the struct.
get() - Method in class jnr.ffi.Struct.Boolean
 
get() - Method in class jnr.ffi.Struct.Double
 
get() - Method in class jnr.ffi.Struct.Enum16
 
get() - Method in class jnr.ffi.Struct.Enum32
 
get() - Method in class jnr.ffi.Struct.Enum64
 
get() - Method in class jnr.ffi.Struct.Enum8
Gets a java Enum value representing the native integer value.
get() - Method in class jnr.ffi.Struct.EnumField
Gets a java Enum value representing the native integer value.
get() - Method in class jnr.ffi.Struct.EnumLong
 
get() - Method in class jnr.ffi.Struct.Float
 
get() - Method in class jnr.ffi.Struct.IntegerAlias
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Pointer
Gets the Pointer value from the native memory.
get() - Method in class jnr.ffi.Struct.Signed16
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Signed32
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Signed64
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Signed8
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.SignedLong
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.String
 
get() - Method in class jnr.ffi.Struct.Unsigned16
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Unsigned32
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Unsigned64
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.Unsigned8
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.UnsignedLong
Gets the value for this field.
get() - Method in class jnr.ffi.Struct.UTFString
 
get() - Method in class jnr.ffi.Struct.UTFStringRef
 
get() - Method in class jnr.ffi.Struct.WBOOL
 
get(Pointer) - Method in class jnr.ffi.StructLayout.AbstractBoolean
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Boolean
 
get(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
get(Pointer) - Method in class jnr.ffi.StructLayout.EnumField
Gets a java Enum value representing the native integer value.
get(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
get(Pointer) - Method in class jnr.ffi.StructLayout.IntegerAlias
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Pointer
Gets the Pointer value from the native memory.
get(Pointer) - Method in class jnr.ffi.StructLayout.Signed16
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Signed32
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Signed64
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Signed8
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.SignedLong
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.String
 
get(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned16
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned32
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned64
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned8
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.UnsignedLong
Gets the value for this field.
get(Pointer) - Method in class jnr.ffi.StructLayout.UTFString
 
get(Pointer) - Method in class jnr.ffi.StructLayout.UTFStringRef
 
get(Pointer) - Method in class jnr.ffi.StructLayout.WBOOL
 
get() - Method in interface jnr.ffi.Variable
Gets the current value of the global variable
getAddress(long) - Method in class jnr.ffi.Pointer
Reads a native memory address value at the given offset.
getAnnotations() - Method in class jnr.ffi.mapper.DefaultSignatureType
 
getAnnotations() - Method in interface jnr.ffi.mapper.FromNativeContext
Gets a sorted list of annotations
getAnnotations() - Method in interface jnr.ffi.mapper.FunctionMapper.Context
 
getAnnotations() - Method in class jnr.ffi.mapper.MethodParameterContext
 
getAnnotations() - Method in class jnr.ffi.mapper.MethodResultContext
 
getAnnotations() - Method in interface jnr.ffi.mapper.SignatureType
 
getAnnotations() - Method in interface jnr.ffi.mapper.ToNativeContext
Gets a sorted list of annotations
getByte(long) - Method in class jnr.ffi.Pointer
Reads an byte (8 bit) value at the given offset.
getClosureManager() - Method in class jnr.ffi.Runtime
Gets the native closure manager for this runtime
getCPU() - Method in class jnr.ffi.Platform
Gets the current processor architecture the JVM is running on.
getDeclaredType() - Method in class jnr.ffi.mapper.DefaultSignatureType
 
getDeclaredType() - Method in interface jnr.ffi.mapper.SignatureType
 
getDouble(long) - Method in class jnr.ffi.Pointer
Reads a double (64 bit) value at the given offset.
getFloat(long) - Method in class jnr.ffi.Pointer
Reads a float (32 bit) value at the given offset.
getFromNativeConverter() - Method in class jnr.ffi.mapper.AbstractFromNativeType
 
getFromNativeConverter(Class) - Method in class jnr.ffi.mapper.DefaultTypeMapper
 
getFromNativeConverter() - Method in interface jnr.ffi.mapper.FromNativeType
 
getFromNativeConverter(Class) - Method in interface jnr.ffi.mapper.TypeMapper
 
getFromNativeType(SignatureType, FromNativeContext) - Method in class jnr.ffi.mapper.AbstractSignatureTypeMapper
 
getFromNativeType(SignatureType, FromNativeContext) - Method in class jnr.ffi.mapper.CachingTypeMapper
 
getFromNativeType(SignatureType, FromNativeContext) - Method in class jnr.ffi.mapper.CompositeTypeMapper
 
getFromNativeType(SignatureType, FromNativeContext) - Method in interface jnr.ffi.mapper.SignatureTypeMapper
 
getFromNativeType(SignatureType, FromNativeContext) - Method in class jnr.ffi.mapper.SignatureTypeMapperAdapter
 
getGenericType() - Method in class jnr.ffi.mapper.DefaultSignatureType
 
getGenericType() - Method in interface jnr.ffi.mapper.SignatureType
 
getInstance(String) - Static method in class jnr.ffi.Library
Deprecated.
getInt(long) - Method in class jnr.ffi.Pointer
Reads an int (32 bit) value at the given offset.
getInt(Type, long) - Method in class jnr.ffi.Pointer
Reads an integer value of the given type, at the given offset.
getLastError(Runtime) - Static method in class jnr.ffi.LastError
Gets the value of errno from the last native call.
getLastError() - Method in class jnr.ffi.Runtime
Gets the last native error code.
getLibrary() - Method in interface jnr.ffi.mapper.FunctionMapper.Context
Deprecated.
getLibraryPath(String) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
getLong(long) - Method in class jnr.ffi.Pointer
Reads a long (64 bit) value at the given offset.
getLongLong(long) - Method in class jnr.ffi.Pointer
Reads a long (64 bit) value at the given offset.
getMemory() - Method in class jnr.ffi.Struct.AbstractMember
 
getMemory(Struct) - Static method in class jnr.ffi.Struct
 
getMemory(Struct, int) - Static method in class jnr.ffi.Struct
 
getMemory() - Method in class jnr.ffi.Struct.NumberField
 
getMemoryManager() - Method in class jnr.ffi.Runtime
Gets the native memory manager for this runtime
getMethod() - Method in class jnr.ffi.mapper.MethodParameterContext
 
getMethod() - Method in class jnr.ffi.mapper.MethodResultContext
 
getName() - Method in class jnr.ffi.Library
Deprecated.
getName() - Method in class jnr.ffi.Platform
Gets the name of this Platform.
getNativeLong(long) - Method in class jnr.ffi.Pointer
Reads a native long value at the given offset.
getNativePlatform() - Static method in class jnr.ffi.Platform
Gets the native Platform
getNativeType() - Method in class jnr.ffi.StructLayout
 
getNativeType() - Method in class jnr.ffi.Type
The native type of this type
getNullTerminatedPointerArray(long) - Method in class jnr.ffi.Pointer
 
getNullTerminatedStringArray(long) - Method in class jnr.ffi.Pointer
 
getObject(Pointer) - Method in class jnr.ffi.ObjectReferenceManager
getOS() - Method in class jnr.ffi.Platform
Gets the current Operating System.
getParameterIndex() - Method in class jnr.ffi.mapper.MethodParameterContext
 
getPlatform() - Static method in class jnr.ffi.Platform
Deprecated.
getPointer(long) - Method in class jnr.ffi.Pointer
Reads an Pointer value at the given offset.
getPointer(long, long) - Method in class jnr.ffi.Pointer
Reads an Pointer value at the given offset.
getRuntime(Object) - Static method in class jnr.ffi.Library
getRuntime() - Method in interface jnr.ffi.mapper.FromNativeContext
Gets the Runtime used for the conversion.
getRuntime() - Method in class jnr.ffi.mapper.MethodParameterContext
 
getRuntime() - Method in class jnr.ffi.mapper.MethodResultContext
 
getRuntime() - Method in interface jnr.ffi.mapper.ToNativeContext
Gets the Runtime used for the conversion.
getRuntime() - Method in class jnr.ffi.Pointer
Gets the Runtime this Pointer instance belongs to.
getRuntime(Object) - Static method in class jnr.ffi.Runtime
Returns the runtime associated with the library instance.
getRuntime() - Method in class jnr.ffi.Struct
 
getRuntime() - Method in class jnr.ffi.StructLayout
 
getShort(long) - Method in class jnr.ffi.Pointer
Reads a short (16 bit) value at the given offset.
getString(long) - Method in class jnr.ffi.Pointer
Reads an String value at the given offset.
getString(long, int, Charset) - Method in class jnr.ffi.Pointer
Reads a String value at the given offset, using a specific Charset
getStringMemory() - Method in class jnr.ffi.Struct.String
 
getStringMemory() - Method in class jnr.ffi.Struct.UTFString
 
getStringMemory() - Method in class jnr.ffi.Struct.UTFStringRef
 
getStringMemory(Pointer) - Method in class jnr.ffi.StructLayout.String
 
getStringMemory(Pointer) - Method in class jnr.ffi.StructLayout.UTFString
 
getStringMemory(Pointer) - Method in class jnr.ffi.StructLayout.UTFStringRef
 
getSystemRuntime() - Static method in class jnr.ffi.Runtime
Gets the global Runtime for the current FFI provider
getToNativeConverter() - Method in class jnr.ffi.mapper.AbstractToNativeType
 
getToNativeConverter(Class) - Method in class jnr.ffi.mapper.DefaultTypeMapper
 
getToNativeConverter() - Method in interface jnr.ffi.mapper.ToNativeType
 
getToNativeConverter(Class) - Method in interface jnr.ffi.mapper.TypeMapper
 
getToNativeType(SignatureType, ToNativeContext) - Method in class jnr.ffi.mapper.AbstractSignatureTypeMapper
 
getToNativeType(SignatureType, ToNativeContext) - Method in class jnr.ffi.mapper.CachingTypeMapper
 
getToNativeType(SignatureType, ToNativeContext) - Method in class jnr.ffi.mapper.CompositeTypeMapper
 
getToNativeType(SignatureType, ToNativeContext) - Method in interface jnr.ffi.mapper.SignatureTypeMapper
 
getToNativeType(SignatureType, ToNativeContext) - Method in class jnr.ffi.mapper.SignatureTypeMapperAdapter
 
getValue() - Method in class jnr.ffi.byref.AbstractNumberReference
Gets the current value the reference points to.
getValue() - Method in class jnr.ffi.byref.AbstractReference
Gets the current value the reference points to.
getValue() - Method in interface jnr.ffi.byref.ByReference
 
gid_t - Annotation Type in jnr.ffi.types
 

H

hasArray() - Method in class jnr.ffi.Pointer
Indicates whether this Pointer instance is backed by an array.
hashCode() - Method in class jnr.ffi.Address
Returns a hash code for this Address.
hashCode() - Method in class jnr.ffi.mapper.DefaultSignatureType
 
hashCode() - Method in class jnr.ffi.mapper.MethodParameterContext
 
hashCode() - Method in class jnr.ffi.NativeLong
Gets a hash code for this NativeLong.

I

id_t - Annotation Type in jnr.ffi.types
 
IDENTITY - Static variable in interface jnr.ffi.mapper.FunctionMapper
An implementation of FunctionMapper that maps 1:1 between java symbols and native functions
IgnoreError - Annotation Type in jnr.ffi.annotations
Indicates that the errno valud for a native function need not be saved after the function returns.
In - Annotation Type in jnr.ffi.annotations
Indicates that the parameter is an IN parameter.
in_addr_t - Annotation Type in jnr.ffi.types
 
in_port_t - Annotation Type in jnr.ffi.types
 
indexOf(long, byte) - Method in class jnr.ffi.Pointer
Returns the location of a byte value within the memory area represented by this Pointer.
indexOf(long, byte, int) - Method in class jnr.ffi.Pointer
Returns the location of a byte value within the memory area represented by this Pointer.
inner(T) - Method in class jnr.ffi.Struct
 
inner(T) - Method in class jnr.ffi.StructLayout
 
ino64_t - Annotation Type in jnr.ffi.types
 
ino_t - Annotation Type in jnr.ffi.types
 
int16_t - Annotation Type in jnr.ffi.types
 
int32_t - Annotation Type in jnr.ffi.types
 
int64_t - Annotation Type in jnr.ffi.types
 
int8_t - Annotation Type in jnr.ffi.types
 
IntByReference - Class in jnr.ffi.byref
IntByReference is used when the address of a primitive int must be passed as a parameter to a function.
IntByReference() - Constructor for class jnr.ffi.byref.IntByReference
Creates a new reference to an integer value initialized to zero.
IntByReference(Integer) - Constructor for class jnr.ffi.byref.IntByReference
Creates a new reference to an integer value
IntByReference(int) - Constructor for class jnr.ffi.byref.IntByReference
Creates a new reference to an integer value
intptr_t - Annotation Type in jnr.ffi.types
 
intValue() - Method in class jnr.ffi.Address
Returns the value of this Address as an int.
intValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
intValue() - Method in class jnr.ffi.NativeLong
Returns an integer representation of this NativeLong.
intValue() - Method in class jnr.ffi.Struct.Address
Returns an integer representation of this address.
intValue() - Method in class jnr.ffi.Struct.Double
 
intValue() - Method in class jnr.ffi.Struct.Enum16
 
intValue() - Method in class jnr.ffi.Struct.Enum32
 
intValue() - Method in class jnr.ffi.Struct.Enum64
 
intValue() - Method in class jnr.ffi.Struct.Enum8
Returns an integer representation of this enum field.
intValue() - Method in class jnr.ffi.Struct.EnumLong
 
intValue() - Method in class jnr.ffi.Struct.Float
 
intValue() - Method in class jnr.ffi.Struct.IntegerAlias
 
intValue() - Method in class jnr.ffi.Struct.NumberField
Returns a int representation of this Number.
intValue() - Method in class jnr.ffi.Struct.Offset
 
intValue() - Method in class jnr.ffi.Struct.Pointer
Returns an integer representation of this Pointer.
intValue() - Method in class jnr.ffi.Struct.Signed16
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Signed32
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Signed64
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Signed8
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.SignedLong
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Unsigned16
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Unsigned32
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Unsigned64
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.Unsigned8
Returns a java int representation of this field.
intValue() - Method in class jnr.ffi.Struct.UnsignedLong
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Enum16
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Enum32
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Enum64
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Enum8
Returns an integer representation of this enum field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.EnumLong
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.IntegerAlias
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns a int representation of this Number.
intValue() - Method in class jnr.ffi.StructLayout.Offset
 
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Pointer
Returns an integer representation of this Pointer.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed16
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed32
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed64
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed8
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.SignedLong
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned16
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned32
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned64
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned8
Returns a java int representation of this field.
intValue(Pointer) - Method in class jnr.ffi.StructLayout.UnsignedLong
Returns a java int representation of this field.
isBSD() - Method in class jnr.ffi.Platform
 
isCompatible(Runtime) - Method in class jnr.ffi.Runtime
Indicates whether this Runtime instance is compatible with another Runtime instance.
isDirect() - Method in class jnr.ffi.Pointer
Indicates whether or not this memory object represents a native memory address.
isDirect(Struct) - Static method in class jnr.ffi.Struct
 
isNull() - Method in class jnr.ffi.Address
Tests if this Address is equivalent to C NULL
isSymbolPresent(String) - Method in interface jnr.ffi.mapper.FunctionMapper.Context
 
isUnix() - Method in class jnr.ffi.Platform
 

J

jnr.ffi - package jnr.ffi
 
jnr.ffi.annotations - package jnr.ffi.annotations
 
jnr.ffi.byref - package jnr.ffi.byref
 
jnr.ffi.mapper - package jnr.ffi.mapper
 
jnr.ffi.types - package jnr.ffi.types
 

K

key_t - Annotation Type in jnr.ffi.types
 

L

LastError - Class in jnr.ffi
Provides access to the unix errno and windows GetLastError() value.
length - Variable in class jnr.ffi.Struct.String
 
length() - Method in class jnr.ffi.Struct.String
 
length - Variable in class jnr.ffi.StructLayout.String
 
length() - Method in class jnr.ffi.StructLayout.String
 
libPattern - Variable in class jnr.ffi.Platform
 
Library - Class in jnr.ffi
Deprecated.
Use LibraryLoader instead.
library(String) - Method in class jnr.ffi.LibraryLoader
Adds a library to be loaded.
LibraryLoader<T> - Class in jnr.ffi
Loads a native library and maps it to a java interface.
LibraryLoader(Class<T>) - Constructor for class jnr.ffi.LibraryLoader
 
LibraryOption - Enum in jnr.ffi
Options that apply to a library
load(String) - Method in class jnr.ffi.LibraryLoader
Loads a native library and links the methods defined in interfaceClass to native methods in the library.
load() - Method in class jnr.ffi.LibraryLoader
Loads a native library and links the methods defined in interfaceClass to native methods in the library.
loadLibrary(String, Class<T>) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
loadLibrary(Class<T>, String...) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
loadLibrary(String, Class<T>, Map<LibraryOption, ?>) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
loadLibrary(Class<T>, Map<LibraryOption, ?>, String...) - Static method in class jnr.ffi.Library
Deprecated.
see LibraryLoader for the preferred interface to loading libraries.
loadLibrary(Class<T>, Collection<String>, Collection<String>, Map<LibraryOption, Object>) - Method in class jnr.ffi.LibraryLoader
Implemented by FFI providers to load the actual library.
locateLibrary(String, List<String>) - Method in class jnr.ffi.Platform
Searches through a list of directories for a native library.
LongLong - Annotation Type in jnr.ffi.annotations
Indicates that a long parameter should be treated as native long-long (64bit) instead of the platform-dependent long size.
LongLongByReference - Class in jnr.ffi.byref
LongLongByReference is used when the address of a native long long value must be passed as a parameter to a function.
LongLongByReference() - Constructor for class jnr.ffi.byref.LongLongByReference
Creates a new reference to a long long value initialized to zero.
LongLongByReference(Long) - Constructor for class jnr.ffi.byref.LongLongByReference
Creates a new reference to a native longlong value
LongLongByReference(long) - Constructor for class jnr.ffi.byref.LongLongByReference
Creates a new reference to a native longlong value
longSize() - Method in class jnr.ffi.Platform
Deprecated.
Use Runtime.longSize() instead.
longSize() - Method in class jnr.ffi.Runtime
Gets the size of a C long integer for this runtime
longValue() - Method in class jnr.ffi.Address
Returns the value of this Address as a long.
longValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
longValue() - Method in class jnr.ffi.NativeLong
Returns an long representation of this NativeLong.
longValue() - Method in class jnr.ffi.Struct.Address
Returns an long representation of this address.
longValue() - Method in class jnr.ffi.Struct.Double
 
longValue() - Method in class jnr.ffi.Struct.Enum64
 
longValue() - Method in class jnr.ffi.Struct.EnumLong
 
longValue() - Method in class jnr.ffi.Struct.Float
 
longValue() - Method in class jnr.ffi.Struct.IntegerAlias
 
longValue() - Method in class jnr.ffi.Struct.NumberField
Returns a long representation of this Number.
longValue() - Method in class jnr.ffi.Struct.Offset
 
longValue() - Method in class jnr.ffi.Struct.Pointer
Returns an long representation of this Pointer.
longValue() - Method in class jnr.ffi.Struct.Signed64
Returns a java long representation of this field.
longValue() - Method in class jnr.ffi.Struct.SignedLong
Returns a java long representation of this field.
longValue() - Method in class jnr.ffi.Struct.Unsigned32
Returns a java long representation of this field.
longValue() - Method in class jnr.ffi.Struct.Unsigned64
Returns a java long representation of this field.
longValue() - Method in class jnr.ffi.Struct.UnsignedLong
Returns a java long representation of this field.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Enum64
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.EnumLong
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.IntegerAlias
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns a long representation of this Number.
longValue() - Method in class jnr.ffi.StructLayout.Offset
 
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Pointer
Returns an long representation of this Pointer.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed64
Returns a java long representation of this field.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.SignedLong
Returns a java long representation of this field.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned32
Returns a java long representation of this field.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned64
Returns a java long representation of this field.
longValue(Pointer) - Method in class jnr.ffi.StructLayout.UnsignedLong
Returns a java long representation of this field.

M

map(Class<? extends J>, ToNativeConverter<? extends J, ?>) - Method in class jnr.ffi.LibraryLoader
Adds a custom java type mapping.
map(Class<? extends J>, FromNativeConverter<? extends J, ?>) - Method in class jnr.ffi.LibraryLoader
Adds a custom java type mapping.
map(Class<? extends J>, DataConverter<? extends J, ?>) - Method in class jnr.ffi.LibraryLoader
 
map(String, String) - Method in class jnr.ffi.LibraryLoader
Adds a function name mapping to use when resolving symbols in this library.
map(String, String) - Method in class jnr.ffi.mapper.FunctionMapper.Builder
 
map(Class<? extends T>, ToNativeConverter<? extends T, ?>) - Method in class jnr.ffi.mapper.TypeMapper.Builder
 
map(Class<? extends T>, FromNativeConverter<? extends T, ?>) - Method in class jnr.ffi.mapper.TypeMapper.Builder
 
map(Class<? extends T>, DataConverter<? extends T, ?>) - Method in class jnr.ffi.mapper.TypeMapper.Builder
 
mapFunctionName(String, FunctionMapper.Context) - Method in class jnr.ffi.mapper.CompositeFunctionMapper
 
mapFunctionName(String, FunctionMapper.Context) - Method in interface jnr.ffi.mapper.FunctionMapper
 
mapLibraryName(String) - Method in class jnr.ffi.Platform
Maps from a generic library name (e.g.
mapper(TypeMapper) - Method in class jnr.ffi.LibraryLoader
Adds a type mapper to use when resolving method parameter and result types.
mapper(SignatureTypeMapper) - Method in class jnr.ffi.LibraryLoader
Adds a type mapper to use when resolving method parameter and result types.
mapper(FunctionMapper) - Method in class jnr.ffi.LibraryLoader
Adds a function mapper to use when resolving symbols in this library.
Memory - Class in jnr.ffi
A utility for allocating memory that can be passed to native functions.
MethodParameterContext - Class in jnr.ffi.mapper
Holds context for a method parameter java->native conversion.
MethodParameterContext(Runtime, Method, int) - Constructor for class jnr.ffi.mapper.MethodParameterContext
 
MethodParameterContext(Runtime, Method, int, Annotation[]) - Constructor for class jnr.ffi.mapper.MethodParameterContext
 
MethodParameterContext(Runtime, Method, int, Collection<Annotation>) - Constructor for class jnr.ffi.mapper.MethodParameterContext
 
MethodResultContext - Class in jnr.ffi.mapper
 
MethodResultContext(Runtime, Method) - Constructor for class jnr.ffi.mapper.MethodResultContext
 
mode_t - Annotation Type in jnr.ffi.types
 

N

nativeAddress() - Method in class jnr.ffi.Address
Returns the native value of this address.
NativeLong - Class in jnr.ffi
Represents a C long.
NativeLong(long) - Constructor for class jnr.ffi.NativeLong
Creates a new NativeLong instance with the supplied value.
NativeLong(int) - Constructor for class jnr.ffi.NativeLong
Creates a new NativeLong instance with the supplied value.
NativeLongByReference - Class in jnr.ffi.byref
NativeLongByReference is used when the address of a primitive C long must be passed as a parameter to a function.
NativeLongByReference() - Constructor for class jnr.ffi.byref.NativeLongByReference
Creates a new reference to a native long value initialized to zero.
NativeLongByReference(NativeLong) - Constructor for class jnr.ffi.byref.NativeLongByReference
Creates a new reference to a native long value
NativeLongByReference(long) - Constructor for class jnr.ffi.byref.NativeLongByReference
Creates a new reference to a native long value
nativeSize(Runtime) - Method in class jnr.ffi.byref.AddressByReference
Gets the native size of type of reference
nativeSize(Runtime) - Method in interface jnr.ffi.byref.ByReference
Gets the size of the native buffer required to store the value
nativeSize(Runtime) - Method in class jnr.ffi.byref.ByteByReference
Gets the native size of type of reference in bytes.
nativeSize(Runtime) - Method in class jnr.ffi.byref.DoubleByReference
Gets the native size of type of reference in bytes.
nativeSize(Runtime) - Method in class jnr.ffi.byref.FloatByReference
Gets the native size of type of reference in bytes.
nativeSize(Runtime) - Method in class jnr.ffi.byref.IntByReference
Gets the native size of type of reference
nativeSize(Runtime) - Method in class jnr.ffi.byref.LongLongByReference
Gets the native size of type of reference in bytes.
nativeSize(Runtime) - Method in class jnr.ffi.byref.NativeLongByReference
Gets the native size of type of reference in bytes.
nativeSize(Runtime) - Method in class jnr.ffi.byref.NumberByReference
 
nativeSize(Runtime) - Method in class jnr.ffi.byref.PointerByReference
 
nativeSize(Runtime) - Method in class jnr.ffi.byref.ShortByReference
Gets the native size of type of reference in bytes.
nativeType() - Method in interface jnr.ffi.mapper.FromNativeConverter
 
nativeType() - Method in interface jnr.ffi.mapper.ToNativeConverter
 
NativeType - Enum in jnr.ffi
NativeType defines the primitive types supported internally.
newInstance(Runtime) - Static method in class jnr.ffi.ObjectReferenceManager
 
newIntPointer(Runtime, long) - Static method in class jnr.ffi.Pointer
Wraps an integer value in an opaque Pointer instance.
newObjectReferenceManager() - Method in class jnr.ffi.Runtime
Creates a new ObjectReferenceManager
newReference(T) - Method in class jnr.ffi.ObjectReferenceManager
nlink_t - Annotation Type in jnr.ffi.types
 
NulTerminate - Annotation Type in jnr.ffi.annotations
Indicates that a byte array or ByteBuffer should be terminated with a zero byte before passing it to a native function.
NumberByReference - Class in jnr.ffi.byref
NumberByReference is used when the address of a primitive integral value must be passed as a parameter to a function, but the exact type is system dependent.
NumberByReference(TypeAlias, Number) - Constructor for class jnr.ffi.byref.NumberByReference
 
NumberByReference(TypeAlias) - Constructor for class jnr.ffi.byref.NumberByReference
 

O

ObjectReferenceManager<T> - Class in jnr.ffi
Provides a mapping between java objects and unique native addresses.
ObjectReferenceManager() - Constructor for class jnr.ffi.ObjectReferenceManager
 
off_t - Annotation Type in jnr.ffi.types
 
offset() - Method in class jnr.ffi.Struct.AbstractMember
Gets the offset within the structure for this field.
offset() - Method in class jnr.ffi.Struct.NumberField
Gets the offset within the structure for this field.
offset() - Method in class jnr.ffi.StructLayout.Field
Gets the offset within the structure for this field.
offset() - Method in class jnr.ffi.StructLayout
 
option(LibraryOption, Object) - Method in class jnr.ffi.LibraryLoader
Sets an option when loading libraries.
Out - Annotation Type in jnr.ffi.annotations
Indicates that the parameter is an OUT parameter.

P

pid_t - Annotation Type in jnr.ffi.types
 
Pinned - Annotation Type in jnr.ffi.annotations
Marks a method parameter as being pinnable.
Platform - Class in jnr.ffi
 
Platform(Platform.OS, Platform.CPU, int, int, String) - Constructor for class jnr.ffi.Platform
 
Platform.CPU - Enum in jnr.ffi
The supported CPU architectures.
Platform.OS - Enum in jnr.ffi
The common names of supported operating systems.
Pointer - Class in jnr.ffi
A native memory address.
Pointer(Runtime, long, boolean) - Constructor for class jnr.ffi.Pointer
 
PointerByReference - Class in jnr.ffi.byref
AddressByReference is used when the address of a pointer must be passed as a parameter to a function.
PointerByReference() - Constructor for class jnr.ffi.byref.PointerByReference
Creates a new reference to a pointer value with a null default value.
PointerByReference(Pointer) - Constructor for class jnr.ffi.byref.PointerByReference
Creates a new reference to a pointer value
postInvoke(J, N, ToNativeContext) - Method in interface jnr.ffi.mapper.ToNativeConverter.PostInvocation
 
put(Class, DataConverter) - Method in class jnr.ffi.mapper.DefaultTypeMapper
 
put(Class, ToNativeConverter) - Method in class jnr.ffi.mapper.DefaultTypeMapper
 
put(Class, FromNativeConverter) - Method in class jnr.ffi.mapper.DefaultTypeMapper
 
put(long, byte[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple byte values.
put(long, short[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple short values.
put(long, int[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple int values.
put(long, long[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple long values.
put(long, float[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple float values.
put(long, double[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple double values.
put(long, Pointer[], int, int) - Method in class jnr.ffi.Pointer
Bulk put method for multiple Pointer values.
putAddress(long, long) - Method in class jnr.ffi.Pointer
Writes a native memory address value at the given offset.
putAddress(long, Address) - Method in class jnr.ffi.Pointer
Writes a native memory address value at the given offset.
putByte(long, byte) - Method in class jnr.ffi.Pointer
Writes a byte (8 bit) value at the given offset.
putDouble(long, double) - Method in class jnr.ffi.Pointer
Writes a double (64 bit, double precision) value at the given offset.
putFloat(long, float) - Method in class jnr.ffi.Pointer
Writes a float (32 bit, single precision) value at the given offset.
putInt(long, int) - Method in class jnr.ffi.Pointer
Writes an int (32 bit) value at the given offset.
putInt(Type, long, long) - Method in class jnr.ffi.Pointer
Writes an integer of a specific type, at the given offset.
putLong(long, long) - Method in class jnr.ffi.Pointer
Writes a native long value at the given offset.
putLongLong(long, long) - Method in class jnr.ffi.Pointer
Writes a long (64 bit) value at the given offset.
putNativeLong(long, long) - Method in class jnr.ffi.Pointer
Writes a native long value at the given offset.
putPointer(long, Pointer) - Method in class jnr.ffi.Pointer
Writes a Pointer value at the given offset.
putShort(long, short) - Method in class jnr.ffi.Pointer
Writes a short (16 bit) value at the given offset.
putString(long, String, int, Charset) - Method in class jnr.ffi.Pointer
Writes a String value at the given offset, using a specific Charset

R

remove(Pointer) - Method in class jnr.ffi.ObjectReferenceManager
Removes a mapping from java object to native pointer.
rlim_t - Annotation Type in jnr.ffi.types
 
Runtime - Class in jnr.ffi
Access JNR runtime functionality.
Runtime() - Constructor for class jnr.ffi.Runtime
 

S

sa_family_t - Annotation Type in jnr.ffi.types
 
SaveError - Annotation Type in jnr.ffi.annotations
Tags a library method as requiring any error codes as returned by errno on unix, or GetLastError on windows be saved.
search(String) - Method in class jnr.ffi.LibraryLoader
Adds a path to search for libraries.
set(boolean) - Method in class jnr.ffi.Struct.AbstractBoolean
Sets the field to a new value.
set(Address) - Method in class jnr.ffi.Struct.Address
Puts a Address value into the native memory.
set(Number) - Method in class jnr.ffi.Struct.Address
 
set(boolean) - Method in class jnr.ffi.Struct.Boolean
 
set(double) - Method in class jnr.ffi.Struct.Double
 
set(Number) - Method in class jnr.ffi.Struct.Double
 
set(E) - Method in class jnr.ffi.Struct.Enum16
 
set(Number) - Method in class jnr.ffi.Struct.Enum16
 
set(E) - Method in class jnr.ffi.Struct.Enum32
 
set(Number) - Method in class jnr.ffi.Struct.Enum32
 
set(E) - Method in class jnr.ffi.Struct.Enum64
 
set(Number) - Method in class jnr.ffi.Struct.Enum64
 
set(E) - Method in class jnr.ffi.Struct.Enum8
Sets the native integer value using a java Enum value.
set(Number) - Method in class jnr.ffi.Struct.Enum8
 
set(E) - Method in class jnr.ffi.Struct.EnumLong
 
set(Number) - Method in class jnr.ffi.Struct.EnumLong
 
set(float) - Method in class jnr.ffi.Struct.Float
 
set(Number) - Method in class jnr.ffi.Struct.Float
 
set(T) - Method in class jnr.ffi.Struct.Function
 
set(Number) - Method in class jnr.ffi.Struct.IntegerAlias
 
set(long) - Method in class jnr.ffi.Struct.IntegerAlias
 
set(Number) - Method in class jnr.ffi.Struct.NumberField
Sets the field to a new value.
set(Pointer) - Method in class jnr.ffi.Struct.Pointer
Puts a Address value into the native memory.
set(Number) - Method in class jnr.ffi.Struct.Pointer
 
set(short) - Method in class jnr.ffi.Struct.Signed16
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Signed16
 
set(int) - Method in class jnr.ffi.Struct.Signed32
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Signed32
 
set(long) - Method in class jnr.ffi.Struct.Signed64
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Signed64
 
set(byte) - Method in class jnr.ffi.Struct.Signed8
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Signed8
 
set(long) - Method in class jnr.ffi.Struct.SignedLong
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.SignedLong
 
set(String) - Method in class jnr.ffi.Struct.String
 
set(int) - Method in class jnr.ffi.Struct.Unsigned16
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Unsigned16
 
set(long) - Method in class jnr.ffi.Struct.Unsigned32
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Unsigned32
 
set(long) - Method in class jnr.ffi.Struct.Unsigned64
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Unsigned64
 
set(short) - Method in class jnr.ffi.Struct.Unsigned8
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.Unsigned8
 
set(long) - Method in class jnr.ffi.Struct.UnsignedLong
Sets the value for this field.
set(Number) - Method in class jnr.ffi.Struct.UnsignedLong
 
set(String) - Method in class jnr.ffi.Struct.UTFString
 
set(String) - Method in class jnr.ffi.Struct.UTFStringRef
 
set(boolean) - Method in class jnr.ffi.Struct.WBOOL
 
set(Pointer, boolean) - Method in class jnr.ffi.StructLayout.AbstractBoolean
Sets the field to a new value.
set(Pointer, boolean) - Method in class jnr.ffi.StructLayout.Boolean
 
set(Pointer, double) - Method in class jnr.ffi.StructLayout.Double
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Double
 
set(Pointer, E) - Method in class jnr.ffi.StructLayout.Enum16
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Enum16
 
set(Pointer, E) - Method in class jnr.ffi.StructLayout.Enum32
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Enum32
 
set(Pointer, E) - Method in class jnr.ffi.StructLayout.Enum64
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Enum64
 
set(Pointer, E) - Method in class jnr.ffi.StructLayout.Enum8
Sets the native integer value using a java Enum value.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Enum8
 
set(Pointer, E) - Method in class jnr.ffi.StructLayout.EnumLong
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.EnumLong
 
set(Pointer, float) - Method in class jnr.ffi.StructLayout.Float
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Float
 
set(Pointer, T) - Method in class jnr.ffi.StructLayout.Function
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.IntegerAlias
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.IntegerAlias
 
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.NumberField
Sets the field to a new value.
set(Pointer, Pointer) - Method in class jnr.ffi.StructLayout.Pointer
Sets a Pointer value in the native memory.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Pointer
 
set(Pointer, short) - Method in class jnr.ffi.StructLayout.Signed16
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Signed16
 
set(Pointer, int) - Method in class jnr.ffi.StructLayout.Signed32
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Signed32
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.Signed64
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Signed64
 
set(Pointer, byte) - Method in class jnr.ffi.StructLayout.Signed8
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Signed8
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.SignedLong
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.SignedLong
 
set(Pointer, String) - Method in class jnr.ffi.StructLayout.String
 
set(Pointer, int) - Method in class jnr.ffi.StructLayout.Unsigned16
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Unsigned16
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.Unsigned32
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Unsigned32
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.Unsigned64
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Unsigned64
 
set(Pointer, short) - Method in class jnr.ffi.StructLayout.Unsigned8
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.Unsigned8
 
set(Pointer, long) - Method in class jnr.ffi.StructLayout.UnsignedLong
Sets the value for this field.
set(Pointer, Number) - Method in class jnr.ffi.StructLayout.UnsignedLong
 
set(Pointer, String) - Method in class jnr.ffi.StructLayout.UTFString
 
set(Pointer, String) - Method in class jnr.ffi.StructLayout.UTFStringRef
 
set(Pointer, boolean) - Method in class jnr.ffi.StructLayout.WBOOL
 
set(T) - Method in interface jnr.ffi.Variable
Sets the global variable to a value
setLastError(Runtime, int) - Static method in class jnr.ffi.LastError
Sets the native errno value.
setLastError(int) - Method in class jnr.ffi.Runtime
Sets the native error code.
setMemory(long, long, byte) - Method in class jnr.ffi.Pointer
Sets the value of each byte in the memory area represented by this Pointer.
ShortByReference - Class in jnr.ffi.byref
ShortByReference is used when the address of a primitive short value must be passed as a parameter to a function.
ShortByReference() - Constructor for class jnr.ffi.byref.ShortByReference
Creates a new reference to a short value initialized to zero.
ShortByReference(Short) - Constructor for class jnr.ffi.byref.ShortByReference
Creates a new reference to a short value.
ShortByReference(short) - Constructor for class jnr.ffi.byref.ShortByReference
Creates a new reference to a short value.
shortValue() - Method in class jnr.ffi.byref.AbstractNumberReference
 
shortValue() - Method in class jnr.ffi.Struct.NumberField
Returns a short representation of this Number.
shortValue() - Method in class jnr.ffi.Struct.Signed16
Returns a java short representation of this field.
shortValue() - Method in class jnr.ffi.Struct.Signed8
Returns a java short representation of this field.
shortValue() - Method in class jnr.ffi.Struct.Unsigned8
Returns a java short representation of this field.
shortValue(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns a short representation of this Number.
shortValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed16
Returns a java short representation of this field.
shortValue(Pointer) - Method in class jnr.ffi.StructLayout.Signed8
Returns a java short representation of this field.
shortValue(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned8
Returns a java short representation of this field.
SignatureType - Interface in jnr.ffi.mapper
 
SignatureTypeMapper - Interface in jnr.ffi.mapper
 
SignatureTypeMapperAdapter - Class in jnr.ffi.mapper
Adapts a TypeMapper to a SignatureTypeMapper
SignatureTypeMapperAdapter(TypeMapper) - Constructor for class jnr.ffi.mapper.SignatureTypeMapperAdapter
 
size() - Method in class jnr.ffi.Pointer
Gets the size of this memory object in bytes (optional operation).
size() - Method in class jnr.ffi.Struct.Pointer
Gets the size of a Pointer in bits
size(Struct) - Static method in class jnr.ffi.Struct
 
size() - Method in class jnr.ffi.StructLayout.Pointer
Gets the size of a Pointer in bits
size() - Method in class jnr.ffi.StructLayout
 
size() - Method in class jnr.ffi.Type
The size in bytes of this type.
size_t - Annotation Type in jnr.ffi.types
 
slice(long) - Method in class jnr.ffi.Pointer
Creates a new Pointer representing a sub-region of the memory referred to by this Pointer.
slice(long, long) - Method in class jnr.ffi.Pointer
Creates a new Pointer representing a sub-region of the memory referred to by this Pointer.
socklen_t - Annotation Type in jnr.ffi.types
 
ssize_t - Annotation Type in jnr.ffi.types
 
StdCall - Annotation Type in jnr.ffi.annotations
 
stdcall() - Method in class jnr.ffi.LibraryLoader
Sets the calling convention of the library to the Windows stdcall calling convention
Struct - Class in jnr.ffi
Representation of C structures in java.
Struct(Runtime) - Constructor for class jnr.ffi.Struct
Creates a new Struct.
struct() - Method in class jnr.ffi.Struct.AbstractMember
Gets the Struct this Member is a member of.
struct() - Method in class jnr.ffi.Struct.NumberField
Gets the Struct this Member is in.
Struct.AbstractBoolean - Class in jnr.ffi
Base class for Boolean fields
Struct.AbstractBoolean(NativeType) - Constructor for class jnr.ffi.Struct.AbstractBoolean
 
Struct.AbstractBoolean(NativeType, Struct.Offset) - Constructor for class jnr.ffi.Struct.AbstractBoolean
 
Struct.AbstractMember - Class in jnr.ffi
Base implementation of Member
Struct.AbstractMember(int) - Constructor for class jnr.ffi.Struct.AbstractMember
 
Struct.AbstractMember(int, int, Struct.Offset) - Constructor for class jnr.ffi.Struct.AbstractMember
 
Struct.AbstractMember(int, int) - Constructor for class jnr.ffi.Struct.AbstractMember
 
Struct.AbstractMember(NativeType) - Constructor for class jnr.ffi.Struct.AbstractMember
 
Struct.AbstractMember(NativeType, Struct.Offset) - Constructor for class jnr.ffi.Struct.AbstractMember
 
Struct.Address - Class in jnr.ffi
Represents a native memory address.
Struct.Address() - Constructor for class jnr.ffi.Struct.Address
Creates a new Address field.
Struct.Address(Struct.Offset) - Constructor for class jnr.ffi.Struct.Address
 
Struct.AsciiString - Class in jnr.ffi
 
Struct.AsciiString(int) - Constructor for class jnr.ffi.Struct.AsciiString
 
Struct.AsciiStringRef - Class in jnr.ffi
 
Struct.AsciiStringRef(int) - Constructor for class jnr.ffi.Struct.AsciiStringRef
 
Struct.AsciiStringRef() - Constructor for class jnr.ffi.Struct.AsciiStringRef
 
Struct.blkcnt_t - Class in jnr.ffi
 
Struct.blkcnt_t() - Constructor for class jnr.ffi.Struct.blkcnt_t
 
Struct.blkcnt_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.blkcnt_t
 
Struct.blksize_t - Class in jnr.ffi
 
Struct.blksize_t() - Constructor for class jnr.ffi.Struct.blksize_t
 
Struct.blksize_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.blksize_t
 
Struct.Boolean - Class in jnr.ffi
A normal C boolean - 1 byte in size
Struct.Boolean() - Constructor for class jnr.ffi.Struct.Boolean
 
Struct.caddr_t - Class in jnr.ffi
 
Struct.caddr_t() - Constructor for class jnr.ffi.Struct.caddr_t
 
Struct.caddr_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.caddr_t
 
Struct.clock_t - Class in jnr.ffi
 
Struct.clock_t() - Constructor for class jnr.ffi.Struct.clock_t
 
Struct.clock_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.clock_t
 
Struct.dev_t - Class in jnr.ffi
 
Struct.dev_t() - Constructor for class jnr.ffi.Struct.dev_t
 
Struct.dev_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.dev_t
 
Struct.Double - Class in jnr.ffi
 
Struct.Double() - Constructor for class jnr.ffi.Struct.Double
 
Struct.Double(Struct.Offset) - Constructor for class jnr.ffi.Struct.Double
 
Struct.Enum<T extends Enum<T>> - Class in jnr.ffi
 
Struct.Enum(Class<T>) - Constructor for class jnr.ffi.Struct.Enum
 
Struct.Enum16<E extends Enum<E>> - Class in jnr.ffi
 
Struct.Enum16(Class<E>) - Constructor for class jnr.ffi.Struct.Enum16
 
Struct.Enum32<E extends Enum<E>> - Class in jnr.ffi
 
Struct.Enum32(Class<E>) - Constructor for class jnr.ffi.Struct.Enum32
 
Struct.Enum64<E extends Enum<E>> - Class in jnr.ffi
 
Struct.Enum64(Class<E>) - Constructor for class jnr.ffi.Struct.Enum64
 
Struct.Enum8<E extends Enum<E>> - Class in jnr.ffi
An 8 bit enum field.
Struct.Enum8(Class<E>) - Constructor for class jnr.ffi.Struct.Enum8
Creates a new 8 bit enum field.
Struct.EnumField<E> - Class in jnr.ffi
Base for all the Enum fields.
Struct.EnumField(NativeType, Class<E>) - Constructor for class jnr.ffi.Struct.EnumField
Constructs a new Enum field.
Struct.EnumLong<E extends Enum<E>> - Class in jnr.ffi
 
Struct.EnumLong(Class<E>) - Constructor for class jnr.ffi.Struct.EnumLong
 
Struct.Float - Class in jnr.ffi
 
Struct.Float() - Constructor for class jnr.ffi.Struct.Float
 
Struct.Float(Struct.Offset) - Constructor for class jnr.ffi.Struct.Float
Creates a new float field at a specific offset
Struct.fsblkcnt_t - Class in jnr.ffi
 
Struct.fsblkcnt_t() - Constructor for class jnr.ffi.Struct.fsblkcnt_t
 
Struct.fsblkcnt_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.fsblkcnt_t
 
Struct.fsfilcnt_t - Class in jnr.ffi
 
Struct.fsfilcnt_t() - Constructor for class jnr.ffi.Struct.fsfilcnt_t
 
Struct.fsfilcnt_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.fsfilcnt_t
 
Struct.Function<T> - Class in jnr.ffi
 
Struct.Function(Class<? extends T>) - Constructor for class jnr.ffi.Struct.Function
 
Struct.gid_t - Class in jnr.ffi
 
Struct.gid_t() - Constructor for class jnr.ffi.Struct.gid_t
 
Struct.gid_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.gid_t
 
Struct.id_t - Class in jnr.ffi
 
Struct.id_t() - Constructor for class jnr.ffi.Struct.id_t
 
Struct.id_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.id_t
 
Struct.in_addr_t - Class in jnr.ffi
 
Struct.in_addr_t() - Constructor for class jnr.ffi.Struct.in_addr_t
 
Struct.in_addr_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.in_addr_t
 
Struct.in_port_t - Class in jnr.ffi
 
Struct.in_port_t() - Constructor for class jnr.ffi.Struct.in_port_t
 
Struct.in_port_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.in_port_t
 
Struct.ino64_t - Class in jnr.ffi
 
Struct.ino64_t() - Constructor for class jnr.ffi.Struct.ino64_t
 
Struct.ino64_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.ino64_t
 
Struct.ino_t - Class in jnr.ffi
 
Struct.ino_t() - Constructor for class jnr.ffi.Struct.ino_t
 
Struct.ino_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.ino_t
 
Struct.int16_t - Class in jnr.ffi
 
Struct.int16_t() - Constructor for class jnr.ffi.Struct.int16_t
 
Struct.int16_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.int16_t
 
Struct.int32_t - Class in jnr.ffi
 
Struct.int32_t() - Constructor for class jnr.ffi.Struct.int32_t
 
Struct.int32_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.int32_t
 
Struct.int64_t - Class in jnr.ffi
 
Struct.int64_t() - Constructor for class jnr.ffi.Struct.int64_t
 
Struct.int64_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.int64_t
 
Struct.int8_t - Class in jnr.ffi
 
Struct.int8_t() - Constructor for class jnr.ffi.Struct.int8_t
 
Struct.int8_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.int8_t
 
Struct.IntegerAlias - Class in jnr.ffi
 
Struct.intptr_t - Class in jnr.ffi
 
Struct.intptr_t() - Constructor for class jnr.ffi.Struct.intptr_t
 
Struct.intptr_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.intptr_t
 
Struct.key_t - Class in jnr.ffi
 
Struct.key_t() - Constructor for class jnr.ffi.Struct.key_t
 
Struct.key_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.key_t
 
Struct.Member - Class in jnr.ffi
Interface all Struct members must implement.
Struct.Member() - Constructor for class jnr.ffi.Struct.Member
 
Struct.mode_t - Class in jnr.ffi
 
Struct.mode_t() - Constructor for class jnr.ffi.Struct.mode_t
 
Struct.mode_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.mode_t
 
Struct.nlink_t - Class in jnr.ffi
 
Struct.nlink_t() - Constructor for class jnr.ffi.Struct.nlink_t
 
Struct.nlink_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.nlink_t
 
Struct.NumberField - Class in jnr.ffi
Base class for all Number structure fields.
Struct.NumberField(NativeType) - Constructor for class jnr.ffi.Struct.NumberField
 
Struct.NumberField(NativeType, Struct.Offset) - Constructor for class jnr.ffi.Struct.NumberField
 
Struct.NumberField(TypeAlias) - Constructor for class jnr.ffi.Struct.NumberField
 
Struct.NumberField(TypeAlias, Struct.Offset) - Constructor for class jnr.ffi.Struct.NumberField
 
Struct.off_t - Class in jnr.ffi
 
Struct.off_t() - Constructor for class jnr.ffi.Struct.off_t
 
Struct.off_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.off_t
 
Struct.Offset - Class in jnr.ffi
 
Struct.Offset(int) - Constructor for class jnr.ffi.Struct.Offset
 
Struct.Padding - Class in jnr.ffi
Specialized padding fields for structs.
Struct.Padding(Type, int) - Constructor for class jnr.ffi.Struct.Padding
 
Struct.Padding(NativeType, int) - Constructor for class jnr.ffi.Struct.Padding
 
Struct.pid_t - Class in jnr.ffi
 
Struct.pid_t() - Constructor for class jnr.ffi.Struct.pid_t
 
Struct.pid_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.pid_t
 
Struct.Pointer - Class in jnr.ffi
Represents a native memory address.
Struct.Pointer() - Constructor for class jnr.ffi.Struct.Pointer
Creates a new Address field.
Struct.Pointer(Struct.Offset) - Constructor for class jnr.ffi.Struct.Pointer
 
Struct.rlim_t - Class in jnr.ffi
 
Struct.rlim_t() - Constructor for class jnr.ffi.Struct.rlim_t
 
Struct.rlim_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.rlim_t
 
Struct.sa_family_t - Class in jnr.ffi
 
Struct.sa_family_t() - Constructor for class jnr.ffi.Struct.sa_family_t
 
Struct.sa_family_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.sa_family_t
 
Struct.Signed16 - Class in jnr.ffi
A 16 bit signed integer field.
Struct.Signed16() - Constructor for class jnr.ffi.Struct.Signed16
Creates a new 16 bit integer field.
Struct.Signed16(Struct.Offset) - Constructor for class jnr.ffi.Struct.Signed16
Creates a new 16 bit signed integer field at a specific offset
Struct.Signed32 - Class in jnr.ffi
A 32 bit signed integer field.
Struct.Signed32() - Constructor for class jnr.ffi.Struct.Signed32
Creates a new 32 bit integer field.
Struct.Signed32(Struct.Offset) - Constructor for class jnr.ffi.Struct.Signed32
Creates a new 32 bit signed integer field at a specific offset
Struct.Signed64 - Class in jnr.ffi
A 64 bit signed integer field.
Struct.Signed64() - Constructor for class jnr.ffi.Struct.Signed64
Creates a new 64 bit integer field.
Struct.Signed64(Struct.Offset) - Constructor for class jnr.ffi.Struct.Signed64
Creates a new 64 bit signed integer field at a specific offset
Struct.Signed8 - Class in jnr.ffi
An 8 bit signed integer
Struct.Signed8() - Constructor for class jnr.ffi.Struct.Signed8
Creates a new 8 bit integer field.
Struct.Signed8(Struct.Offset) - Constructor for class jnr.ffi.Struct.Signed8
Creates a new 8 bit integer field at a specific offset
Struct.SignedLong - Class in jnr.ffi
A native long integer field.
Struct.SignedLong() - Constructor for class jnr.ffi.Struct.SignedLong
Creates a new native long field.
Struct.SignedLong(Struct.Offset) - Constructor for class jnr.ffi.Struct.SignedLong
Creates a new signed native long field at a specific offset
Struct.size_t - Class in jnr.ffi
 
Struct.size_t() - Constructor for class jnr.ffi.Struct.size_t
 
Struct.size_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.size_t
 
Struct.socklen_t - Class in jnr.ffi
 
Struct.socklen_t() - Constructor for class jnr.ffi.Struct.socklen_t
 
Struct.socklen_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.socklen_t
 
Struct.ssize_t - Class in jnr.ffi
 
Struct.ssize_t() - Constructor for class jnr.ffi.Struct.ssize_t
 
Struct.ssize_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.ssize_t
 
Struct.String - Class in jnr.ffi
 
Struct.String(int, int, int, Charset) - Constructor for class jnr.ffi.Struct.String
 
Struct.String(int, int, Struct.Offset, int, Charset) - Constructor for class jnr.ffi.Struct.String
 
Struct.swblk_t - Class in jnr.ffi
 
Struct.swblk_t() - Constructor for class jnr.ffi.Struct.swblk_t
 
Struct.swblk_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.swblk_t
 
Struct.time_t - Class in jnr.ffi
 
Struct.time_t() - Constructor for class jnr.ffi.Struct.time_t
 
Struct.time_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.time_t
 
Struct.u_int16_t - Class in jnr.ffi
 
Struct.u_int16_t() - Constructor for class jnr.ffi.Struct.u_int16_t
 
Struct.u_int16_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.u_int16_t
 
Struct.u_int32_t - Class in jnr.ffi
 
Struct.u_int32_t() - Constructor for class jnr.ffi.Struct.u_int32_t
 
Struct.u_int32_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.u_int32_t
 
Struct.u_int64_t - Class in jnr.ffi
 
Struct.u_int64_t() - Constructor for class jnr.ffi.Struct.u_int64_t
 
Struct.u_int64_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.u_int64_t
 
Struct.u_int8_t - Class in jnr.ffi
 
Struct.u_int8_t() - Constructor for class jnr.ffi.Struct.u_int8_t
 
Struct.u_int8_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.u_int8_t
 
Struct.uid_t - Class in jnr.ffi
 
Struct.uid_t() - Constructor for class jnr.ffi.Struct.uid_t
 
Struct.uid_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.uid_t
 
Struct.uintptr_t - Class in jnr.ffi
 
Struct.uintptr_t() - Constructor for class jnr.ffi.Struct.uintptr_t
 
Struct.uintptr_t(Struct.Offset) - Constructor for class jnr.ffi.Struct.uintptr_t
 
Struct.Unsigned16 - Class in jnr.ffi
A 16 bit signed integer field.
Struct.Unsigned16() - Constructor for class jnr.ffi.Struct.Unsigned16
Creates a new 16 bit integer field.
Struct.Unsigned16(Struct.Offset) - Constructor for class jnr.ffi.Struct.Unsigned16
Creates a new 16 bit unsigned integer field at a specific offset
Struct.Unsigned32 - Class in jnr.ffi
A 32 bit signed integer field.
Struct.Unsigned32() - Constructor for class jnr.ffi.Struct.Unsigned32
Creates a new 32 bit integer field.
Struct.Unsigned32(Struct.Offset) - Constructor for class jnr.ffi.Struct.Unsigned32
Creates a new 32 bit unsigned integer field at a specific offset
Struct.Unsigned64 - Class in jnr.ffi
A 64 bit unsigned integer field.
Struct.Unsigned64() - Constructor for class jnr.ffi.Struct.Unsigned64
Creates a new 64 bit integer field.
Struct.Unsigned64(Struct.Offset) - Constructor for class jnr.ffi.Struct.Unsigned64
Creates a new 64 bit unsigned integer field at a specific offset
Struct.Unsigned8 - Class in jnr.ffi
An 8 bit unsigned integer
Struct.Unsigned8() - Constructor for class jnr.ffi.Struct.Unsigned8
Creates a new 8 bit unsigned integer field.
Struct.Unsigned8(Struct.Offset) - Constructor for class jnr.ffi.Struct.Unsigned8
Creates a new 8 bit unsigned integer field at a specific offset
Struct.UnsignedLong - Class in jnr.ffi
A native long integer field.
Struct.UnsignedLong() - Constructor for class jnr.ffi.Struct.UnsignedLong
Creates a new native long field.
Struct.UnsignedLong(Struct.Offset) - Constructor for class jnr.ffi.Struct.UnsignedLong
Creates a new unsigned native long field at a specific offset
Struct.UTF8String - Class in jnr.ffi
 
Struct.UTF8String(int) - Constructor for class jnr.ffi.Struct.UTF8String
 
Struct.UTF8StringRef - Class in jnr.ffi
 
Struct.UTF8StringRef(int) - Constructor for class jnr.ffi.Struct.UTF8StringRef
 
Struct.UTF8StringRef() - Constructor for class jnr.ffi.Struct.UTF8StringRef
 
Struct.UTFString - Class in jnr.ffi
 
Struct.UTFString(int, Charset) - Constructor for class jnr.ffi.Struct.UTFString
 
Struct.UTFStringRef - Class in jnr.ffi
 
Struct.UTFStringRef(int, Charset) - Constructor for class jnr.ffi.Struct.UTFStringRef
 
Struct.UTFStringRef(Charset) - Constructor for class jnr.ffi.Struct.UTFStringRef
 
Struct.WBOOL - Class in jnr.ffi
A Windows BOOL - 4 bytes
Struct.WBOOL() - Constructor for class jnr.ffi.Struct.WBOOL
 
StructLayout - Class in jnr.ffi
 
StructLayout(Runtime) - Constructor for class jnr.ffi.StructLayout
Creates a new StructLayout.
StructLayout(Runtime, int) - Constructor for class jnr.ffi.StructLayout
 
StructLayout.AbstractBoolean - Class in jnr.ffi
Base class for Boolean fields
StructLayout.AbstractBoolean(NativeType) - Constructor for class jnr.ffi.StructLayout.AbstractBoolean
 
StructLayout.AbstractBoolean(NativeType, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AbstractBoolean
 
StructLayout.AbstractField - Class in jnr.ffi
Base implementation of Member
StructLayout.AbstractField(int, int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AbstractField(int, int) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AbstractField(NativeType) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AbstractField(Type) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AbstractField(NativeType, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AbstractField(Type, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AbstractField
 
StructLayout.AsciiString - Class in jnr.ffi
 
StructLayout.AsciiString(int) - Constructor for class jnr.ffi.StructLayout.AsciiString
 
StructLayout.AsciiString(int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AsciiString
 
StructLayout.AsciiStringRef - Class in jnr.ffi
 
StructLayout.AsciiStringRef(int) - Constructor for class jnr.ffi.StructLayout.AsciiStringRef
 
StructLayout.AsciiStringRef(int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.AsciiStringRef
 
StructLayout.AsciiStringRef() - Constructor for class jnr.ffi.StructLayout.AsciiStringRef
 
StructLayout.blkcnt_t - Class in jnr.ffi
 
StructLayout.blkcnt_t() - Constructor for class jnr.ffi.StructLayout.blkcnt_t
 
StructLayout.blkcnt_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.blkcnt_t
 
StructLayout.blksize_t - Class in jnr.ffi
 
StructLayout.blksize_t() - Constructor for class jnr.ffi.StructLayout.blksize_t
 
StructLayout.blksize_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.blksize_t
 
StructLayout.Boolean - Class in jnr.ffi
A normal C boolean - 1 byte in size
StructLayout.Boolean() - Constructor for class jnr.ffi.StructLayout.Boolean
 
StructLayout.Boolean(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Boolean
 
StructLayout.caddr_t - Class in jnr.ffi
 
StructLayout.caddr_t() - Constructor for class jnr.ffi.StructLayout.caddr_t
 
StructLayout.caddr_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.caddr_t
 
StructLayout.clock_t - Class in jnr.ffi
 
StructLayout.clock_t() - Constructor for class jnr.ffi.StructLayout.clock_t
 
StructLayout.clock_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.clock_t
 
StructLayout.dev_t - Class in jnr.ffi
 
StructLayout.dev_t() - Constructor for class jnr.ffi.StructLayout.dev_t
 
StructLayout.dev_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.dev_t
 
StructLayout.Double - Class in jnr.ffi
 
StructLayout.Double() - Constructor for class jnr.ffi.StructLayout.Double
 
StructLayout.Double(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Double
 
StructLayout.Enum<T extends Enum<T>> - Class in jnr.ffi
 
StructLayout.Enum(Class<T>) - Constructor for class jnr.ffi.StructLayout.Enum
 
StructLayout.Enum(Class<T>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Enum
 
StructLayout.Enum16<E extends Enum<E>> - Class in jnr.ffi
 
StructLayout.Enum16(Class<E>) - Constructor for class jnr.ffi.StructLayout.Enum16
 
StructLayout.Enum16(Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Enum16
 
StructLayout.Enum32<E extends Enum<E>> - Class in jnr.ffi
 
StructLayout.Enum32(Class<E>) - Constructor for class jnr.ffi.StructLayout.Enum32
 
StructLayout.Enum32(Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Enum32
 
StructLayout.Enum64<E extends Enum<E>> - Class in jnr.ffi
 
StructLayout.Enum64(Class<E>) - Constructor for class jnr.ffi.StructLayout.Enum64
 
StructLayout.Enum64(Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Enum64
 
StructLayout.Enum8<E extends Enum<E>> - Class in jnr.ffi
An 8 bit enum field.
StructLayout.Enum8(Class<E>) - Constructor for class jnr.ffi.StructLayout.Enum8
Creates a new 8 bit enum field.
StructLayout.Enum8(Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Enum8
Creates a new 8 bit enum field.
StructLayout.EnumField<E extends Enum<E>> - Class in jnr.ffi
Base for all the Enum fields.
StructLayout.EnumField(NativeType, Class<E>) - Constructor for class jnr.ffi.StructLayout.EnumField
Constructs a new Enum field.
StructLayout.EnumField(NativeType, Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.EnumField
Constructs a new Enum field.
StructLayout.EnumLong<E extends Enum<E>> - Class in jnr.ffi
 
StructLayout.EnumLong(Class<E>) - Constructor for class jnr.ffi.StructLayout.EnumLong
 
StructLayout.EnumLong(Class<E>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.EnumLong
 
StructLayout.Field - Class in jnr.ffi
Interface all Struct members must implement.
StructLayout.Field(int) - Constructor for class jnr.ffi.StructLayout.Field
 
StructLayout.Float - Class in jnr.ffi
 
StructLayout.Float() - Constructor for class jnr.ffi.StructLayout.Float
 
StructLayout.Float(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Float
Creates a new float field at a specific offset
StructLayout.fsblkcnt_t - Class in jnr.ffi
 
StructLayout.fsblkcnt_t() - Constructor for class jnr.ffi.StructLayout.fsblkcnt_t
 
StructLayout.fsblkcnt_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.fsblkcnt_t
 
StructLayout.fsfilcnt_t - Class in jnr.ffi
 
StructLayout.fsfilcnt_t() - Constructor for class jnr.ffi.StructLayout.fsfilcnt_t
 
StructLayout.fsfilcnt_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.fsfilcnt_t
 
StructLayout.Function<T> - Class in jnr.ffi
 
StructLayout.Function(Class<? extends T>) - Constructor for class jnr.ffi.StructLayout.Function
 
StructLayout.Function(Class<? extends T>, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Function
 
StructLayout.gid_t - Class in jnr.ffi
 
StructLayout.gid_t() - Constructor for class jnr.ffi.StructLayout.gid_t
 
StructLayout.gid_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.gid_t
 
StructLayout.id_t - Class in jnr.ffi
 
StructLayout.id_t() - Constructor for class jnr.ffi.StructLayout.id_t
 
StructLayout.id_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.id_t
 
StructLayout.in_addr_t - Class in jnr.ffi
 
StructLayout.in_addr_t() - Constructor for class jnr.ffi.StructLayout.in_addr_t
 
StructLayout.in_addr_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.in_addr_t
 
StructLayout.in_port_t - Class in jnr.ffi
 
StructLayout.in_port_t() - Constructor for class jnr.ffi.StructLayout.in_port_t
 
StructLayout.in_port_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.in_port_t
 
StructLayout.ino64_t - Class in jnr.ffi
 
StructLayout.ino64_t() - Constructor for class jnr.ffi.StructLayout.ino64_t
 
StructLayout.ino64_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.ino64_t
 
StructLayout.ino_t - Class in jnr.ffi
 
StructLayout.ino_t() - Constructor for class jnr.ffi.StructLayout.ino_t
 
StructLayout.ino_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.ino_t
 
StructLayout.int16_t - Class in jnr.ffi
 
StructLayout.int16_t() - Constructor for class jnr.ffi.StructLayout.int16_t
 
StructLayout.int16_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.int16_t
 
StructLayout.int32_t - Class in jnr.ffi
 
StructLayout.int32_t() - Constructor for class jnr.ffi.StructLayout.int32_t
 
StructLayout.int32_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.int32_t
 
StructLayout.int64_t - Class in jnr.ffi
 
StructLayout.int64_t() - Constructor for class jnr.ffi.StructLayout.int64_t
 
StructLayout.int64_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.int64_t
 
StructLayout.int8_t - Class in jnr.ffi
 
StructLayout.int8_t() - Constructor for class jnr.ffi.StructLayout.int8_t
 
StructLayout.int8_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.int8_t
 
StructLayout.IntegerAlias - Class in jnr.ffi
 
StructLayout.IntegerAlias(TypeAlias) - Constructor for class jnr.ffi.StructLayout.IntegerAlias
 
StructLayout.IntegerAlias(TypeAlias, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.IntegerAlias
 
StructLayout.intptr_t - Class in jnr.ffi
 
StructLayout.intptr_t() - Constructor for class jnr.ffi.StructLayout.intptr_t
 
StructLayout.intptr_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.intptr_t
 
StructLayout.key_t - Class in jnr.ffi
 
StructLayout.key_t() - Constructor for class jnr.ffi.StructLayout.key_t
 
StructLayout.key_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.key_t
 
StructLayout.mode_t - Class in jnr.ffi
 
StructLayout.mode_t() - Constructor for class jnr.ffi.StructLayout.mode_t
 
StructLayout.mode_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.mode_t
 
StructLayout.nlink_t - Class in jnr.ffi
 
StructLayout.nlink_t() - Constructor for class jnr.ffi.StructLayout.nlink_t
 
StructLayout.nlink_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.nlink_t
 
StructLayout.NumberField - Class in jnr.ffi
Base class for all Number structure fields.
StructLayout.NumberField(NativeType) - Constructor for class jnr.ffi.StructLayout.NumberField
 
StructLayout.NumberField(Type) - Constructor for class jnr.ffi.StructLayout.NumberField
 
StructLayout.NumberField(NativeType, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.NumberField
 
StructLayout.NumberField(Type, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.NumberField
 
StructLayout.off_t - Class in jnr.ffi
 
StructLayout.off_t() - Constructor for class jnr.ffi.StructLayout.off_t
 
StructLayout.off_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.off_t
 
StructLayout.Offset - Class in jnr.ffi
 
StructLayout.Offset(int) - Constructor for class jnr.ffi.StructLayout.Offset
 
StructLayout.Padding - Class in jnr.ffi
Specialized padding fields for structs.
StructLayout.Padding(Type, int) - Constructor for class jnr.ffi.StructLayout.Padding
 
StructLayout.Padding(Type, int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Padding
 
StructLayout.Padding(NativeType, int) - Constructor for class jnr.ffi.StructLayout.Padding
 
StructLayout.Padding(NativeType, int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Padding
 
StructLayout.pid_t - Class in jnr.ffi
 
StructLayout.pid_t() - Constructor for class jnr.ffi.StructLayout.pid_t
 
StructLayout.pid_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.pid_t
 
StructLayout.Pointer - Class in jnr.ffi
Represents a native memory address.
StructLayout.Pointer() - Constructor for class jnr.ffi.StructLayout.Pointer
Creates a new Address field.
StructLayout.Pointer(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Pointer
 
StructLayout.rlim_t - Class in jnr.ffi
 
StructLayout.rlim_t() - Constructor for class jnr.ffi.StructLayout.rlim_t
 
StructLayout.rlim_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.rlim_t
 
StructLayout.sa_family_t - Class in jnr.ffi
 
StructLayout.sa_family_t() - Constructor for class jnr.ffi.StructLayout.sa_family_t
 
StructLayout.sa_family_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.sa_family_t
 
StructLayout.Signed16 - Class in jnr.ffi
A 16 bit signed integer field.
StructLayout.Signed16() - Constructor for class jnr.ffi.StructLayout.Signed16
Creates a new 16 bit integer field.
StructLayout.Signed16(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Signed16
Creates a new 16 bit signed integer field at a specific offset
StructLayout.Signed32 - Class in jnr.ffi
A 32 bit signed integer field.
StructLayout.Signed32() - Constructor for class jnr.ffi.StructLayout.Signed32
Creates a new 32 bit integer field.
StructLayout.Signed32(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Signed32
Creates a new 32 bit signed integer field at a specific offset
StructLayout.Signed64 - Class in jnr.ffi
A 64 bit signed integer field.
StructLayout.Signed64() - Constructor for class jnr.ffi.StructLayout.Signed64
Creates a new 64 bit integer field.
StructLayout.Signed64(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Signed64
Creates a new 64 bit signed integer field at a specific offset
StructLayout.Signed8 - Class in jnr.ffi
An 8 bit signed integer
StructLayout.Signed8() - Constructor for class jnr.ffi.StructLayout.Signed8
Creates a new 8 bit integer field.
StructLayout.Signed8(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Signed8
Creates a new 8 bit integer field at a specific offset
StructLayout.SignedLong - Class in jnr.ffi
A native long integer field.
StructLayout.SignedLong() - Constructor for class jnr.ffi.StructLayout.SignedLong
Creates a new native long field.
StructLayout.SignedLong(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.SignedLong
Creates a new signed native long field at a specific offset
StructLayout.size_t - Class in jnr.ffi
 
StructLayout.size_t() - Constructor for class jnr.ffi.StructLayout.size_t
 
StructLayout.size_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.size_t
 
StructLayout.socklen_t - Class in jnr.ffi
 
StructLayout.socklen_t() - Constructor for class jnr.ffi.StructLayout.socklen_t
 
StructLayout.socklen_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.socklen_t
 
StructLayout.ssize_t - Class in jnr.ffi
 
StructLayout.ssize_t() - Constructor for class jnr.ffi.StructLayout.ssize_t
 
StructLayout.ssize_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.ssize_t
 
StructLayout.String - Class in jnr.ffi
 
StructLayout.String(int, int, int, Charset) - Constructor for class jnr.ffi.StructLayout.String
 
StructLayout.String(int, int, StructLayout.Offset, int, Charset) - Constructor for class jnr.ffi.StructLayout.String
 
StructLayout.swblk_t - Class in jnr.ffi
 
StructLayout.swblk_t() - Constructor for class jnr.ffi.StructLayout.swblk_t
 
StructLayout.swblk_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.swblk_t
 
StructLayout.time_t - Class in jnr.ffi
 
StructLayout.time_t() - Constructor for class jnr.ffi.StructLayout.time_t
 
StructLayout.time_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.time_t
 
StructLayout.u_int16_t - Class in jnr.ffi
 
StructLayout.u_int16_t() - Constructor for class jnr.ffi.StructLayout.u_int16_t
 
StructLayout.u_int16_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.u_int16_t
 
StructLayout.u_int32_t - Class in jnr.ffi
 
StructLayout.u_int32_t() - Constructor for class jnr.ffi.StructLayout.u_int32_t
 
StructLayout.u_int32_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.u_int32_t
 
StructLayout.u_int64_t - Class in jnr.ffi
 
StructLayout.u_int64_t() - Constructor for class jnr.ffi.StructLayout.u_int64_t
 
StructLayout.u_int64_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.u_int64_t
 
StructLayout.u_int8_t - Class in jnr.ffi
 
StructLayout.u_int8_t() - Constructor for class jnr.ffi.StructLayout.u_int8_t
 
StructLayout.u_int8_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.u_int8_t
 
StructLayout.uid_t - Class in jnr.ffi
 
StructLayout.uid_t() - Constructor for class jnr.ffi.StructLayout.uid_t
 
StructLayout.uid_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.uid_t
 
StructLayout.uintptr_t - Class in jnr.ffi
 
StructLayout.uintptr_t() - Constructor for class jnr.ffi.StructLayout.uintptr_t
 
StructLayout.uintptr_t(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.uintptr_t
 
StructLayout.Unsigned16 - Class in jnr.ffi
A 16 bit signed integer field.
StructLayout.Unsigned16() - Constructor for class jnr.ffi.StructLayout.Unsigned16
Creates a new 16 bit integer field.
StructLayout.Unsigned16(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Unsigned16
Creates a new 16 bit unsigned integer field at a specific offset
StructLayout.Unsigned32 - Class in jnr.ffi
A 32 bit signed integer field.
StructLayout.Unsigned32() - Constructor for class jnr.ffi.StructLayout.Unsigned32
Creates a new 32 bit integer field.
StructLayout.Unsigned32(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Unsigned32
Creates a new 32 bit unsigned integer field at a specific offset
StructLayout.Unsigned64 - Class in jnr.ffi
A 64 bit unsigned integer field.
StructLayout.Unsigned64() - Constructor for class jnr.ffi.StructLayout.Unsigned64
Creates a new 64 bit integer field.
StructLayout.Unsigned64(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Unsigned64
Creates a new 64 bit unsigned integer field at a specific offset
StructLayout.Unsigned8 - Class in jnr.ffi
An 8 bit unsigned integer
StructLayout.Unsigned8() - Constructor for class jnr.ffi.StructLayout.Unsigned8
Creates a new 8 bit unsigned integer field.
StructLayout.Unsigned8(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.Unsigned8
Creates a new 8 bit unsigned integer field at a specific offset
StructLayout.UnsignedLong - Class in jnr.ffi
A native long integer field.
StructLayout.UnsignedLong() - Constructor for class jnr.ffi.StructLayout.UnsignedLong
Creates a new native long field.
StructLayout.UnsignedLong(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.UnsignedLong
Creates a new unsigned native long field at a specific offset
StructLayout.UTF8String - Class in jnr.ffi
 
StructLayout.UTF8String(int) - Constructor for class jnr.ffi.StructLayout.UTF8String
 
StructLayout.UTF8String(int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.UTF8String
 
StructLayout.UTF8StringRef - Class in jnr.ffi
 
StructLayout.UTF8StringRef(int) - Constructor for class jnr.ffi.StructLayout.UTF8StringRef
 
StructLayout.UTF8StringRef(int, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.UTF8StringRef
 
StructLayout.UTF8StringRef() - Constructor for class jnr.ffi.StructLayout.UTF8StringRef
 
StructLayout.UTFString - Class in jnr.ffi
 
StructLayout.UTFString(int, Charset) - Constructor for class jnr.ffi.StructLayout.UTFString
 
StructLayout.UTFString(int, Charset, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.UTFString
 
StructLayout.UTFStringRef - Class in jnr.ffi
 
StructLayout.UTFStringRef(int, Charset) - Constructor for class jnr.ffi.StructLayout.UTFStringRef
 
StructLayout.UTFStringRef(int, Charset, StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.UTFStringRef
 
StructLayout.UTFStringRef(Charset) - Constructor for class jnr.ffi.StructLayout.UTFStringRef
 
StructLayout.WBOOL - Class in jnr.ffi
A Windows BOOL - 4 bytes
StructLayout.WBOOL() - Constructor for class jnr.ffi.StructLayout.WBOOL
 
StructLayout.WBOOL(StructLayout.Offset) - Constructor for class jnr.ffi.StructLayout.WBOOL
 
swblk_t - Annotation Type in jnr.ffi.types
 
Synchronized - Annotation Type in jnr.ffi.annotations
Indicates that a library or a library method requires all calls to be synchronized.

T

time_t - Annotation Type in jnr.ffi.types
 
toHexString() - Method in class jnr.ffi.Address
Returns a String object representing this Address as a hex value.
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.AddressByReference
Copies the address value to native memory
toNative(Runtime, Pointer, long) - Method in interface jnr.ffi.byref.ByReference
Copies the java value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.ByteByReference
Copies the Byte value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.DoubleByReference
Copies the double value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.FloatByReference
Copies the float value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.IntByReference
Copies the integer value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.LongLongByReference
Copies the value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.NativeLongByReference
Copies the long value to native memory
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.NumberByReference
 
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.PointerByReference
 
toNative(Runtime, Pointer, long) - Method in class jnr.ffi.byref.ShortByReference
Copies the short value to native memory
toNative(J, ToNativeContext) - Method in interface jnr.ffi.mapper.ToNativeConverter
 
ToNativeContext - Interface in jnr.ffi.mapper
 
ToNativeConverter<J,N> - Interface in jnr.ffi.mapper
 
ToNativeConverter.Cacheable - Annotation Type in jnr.ffi.mapper
 
ToNativeConverter.NoContext - Annotation Type in jnr.ffi.mapper
 
ToNativeConverter.PostInvocation<J,N> - Interface in jnr.ffi.mapper
Used to reload a parameter converted to a native type via a custom ToNativeConverter
ToNativeConverter.ToNative - Annotation Type in jnr.ffi.mapper
 
ToNativeType - Interface in jnr.ffi.mapper
 
ToNativeType.Cacheable - Annotation Type in jnr.ffi.mapper
 
ToNativeTypes - Class in jnr.ffi.mapper
 
ToNativeTypes() - Constructor for class jnr.ffi.mapper.ToNativeTypes
 
toString() - Method in class jnr.ffi.Address
Returns a String object representing this Address as a decimal value.
toString() - Method in class jnr.ffi.NativeLong
Returns a string representation of this NativeLong.
toString() - Method in enum jnr.ffi.Platform.CPU
Returns a String object representing this CPU object.
toString() - Method in enum jnr.ffi.Platform.OS
 
toString() - Method in class jnr.ffi.Pointer
 
toString() - Method in class jnr.ffi.Struct.AbstractBoolean
Returns a string representation of this Address.
toString() - Method in class jnr.ffi.Struct.Address
Returns a string representation of this Address.
toString() - Method in class jnr.ffi.Struct.Double
 
toString() - Method in class jnr.ffi.Struct.EnumField
Returns a string representation of this field.
toString() - Method in class jnr.ffi.Struct.Float
 
toString() - Method in class jnr.ffi.Struct.NumberField
Returns a string representation of this Address.
toString() - Method in class jnr.ffi.Struct.Pointer
Returns a string representation of this Pointer.
toString() - Method in class jnr.ffi.Struct.Signed64
Returns a string representation of this field.
toString() - Method in class jnr.ffi.Struct.SignedLong
Returns a string representation of this field.
toString() - Method in class jnr.ffi.Struct.String
 
toString() - Method in class jnr.ffi.Struct
Returns a human readable String representation of the structure.
toString() - Method in class jnr.ffi.Struct.Unsigned64
Returns a string representation of this field.
toString() - Method in class jnr.ffi.Struct.UnsignedLong
Returns a string representation of this field.
toString(Pointer) - Method in class jnr.ffi.StructLayout.AbstractBoolean
Returns a string representation of this Boolean.
toString(Pointer) - Method in class jnr.ffi.StructLayout.Double
 
toString(Pointer) - Method in class jnr.ffi.StructLayout.EnumField
Returns a string representation of this field.
toString(Pointer) - Method in class jnr.ffi.StructLayout.Float
 
toString(Pointer) - Method in class jnr.ffi.StructLayout.NumberField
Returns a string representation of this Number.
toString(Pointer) - Method in class jnr.ffi.StructLayout.Pointer
Returns a string representation of this Pointer.
toString(Pointer) - Method in class jnr.ffi.StructLayout.Signed64
Returns a string representation of this field.
toString(Pointer) - Method in class jnr.ffi.StructLayout.SignedLong
Returns a string representation of this field.
toString(Pointer) - Method in class jnr.ffi.StructLayout.String
 
toString() - Method in class jnr.ffi.StructLayout
Returns a human readable String representation of the structure.
toString(Pointer) - Method in class jnr.ffi.StructLayout.Unsigned64
Returns a string representation of this field.
toString(Pointer) - Method in class jnr.ffi.StructLayout.UnsignedLong
Returns a string representation of this field.
transferFrom(long, Pointer, long, long) - Method in class jnr.ffi.Pointer
Bulk data transfer from one memory location to another.
transferTo(long, Pointer, long, long) - Method in class jnr.ffi.Pointer
Bulk data transfer from one memory location to another.
Transient - Annotation Type in jnr.ffi.annotations
Indicates that the parameter is transient.
type - Variable in class jnr.ffi.Struct.NumberField
 
type - Variable in class jnr.ffi.StructLayout.NumberField
 
Type - Class in jnr.ffi
Type is the superclass for all internal types used by jnr-ffi.
Type() - Constructor for class jnr.ffi.Type
 
TypeAlias - Enum in jnr.ffi
 
TypeDefinition - Annotation Type in jnr.ffi.annotations
This is used internally by jnr-ffi to define type aliases.
TypeMapper - Interface in jnr.ffi.mapper
 
TypeMapper.Builder - Class in jnr.ffi.mapper
 
TypeMapper.Builder() - Constructor for class jnr.ffi.mapper.TypeMapper.Builder
 

U

u_int16_t - Annotation Type in jnr.ffi.types
 
u_int32_t - Annotation Type in jnr.ffi.types
 
u_int64_t - Annotation Type in jnr.ffi.types
 
u_int8_t - Annotation Type in jnr.ffi.types
 
uid_t - Annotation Type in jnr.ffi.types
 
uintptr_t - Annotation Type in jnr.ffi.types
 
Union - Class in jnr.ffi
Represents a C union
Union(Runtime) - Constructor for class jnr.ffi.Union
 
useMemory(Pointer) - Method in class jnr.ffi.Struct
Uses the specified memory address as the backing store for this structure.

V

valueOf(long) - Static method in class jnr.ffi.Address
Returns a Address instance representing the specified long value.
valueOf(int) - Static method in class jnr.ffi.Address
Returns a Address instance representing the specified int value.
valueOf(String) - Static method in enum jnr.ffi.CallingConvention
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jnr.ffi.LibraryOption
Returns the enum constant of this type with the specified name.
valueOf(long) - Static method in class jnr.ffi.NativeLong
Returns a NativeLong instance representing the specified long value
valueOf(int) - Static method in class jnr.ffi.NativeLong
Returns a NativeLong instance representing the specified int value
valueOf(String) - Static method in enum jnr.ffi.NativeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jnr.ffi.Platform.CPU
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jnr.ffi.Platform.OS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jnr.ffi.TypeAlias
Returns the enum constant of this type with the specified name.
values() - Static method in enum jnr.ffi.CallingConvention
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jnr.ffi.LibraryOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jnr.ffi.NativeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jnr.ffi.Platform.CPU
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jnr.ffi.Platform.OS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jnr.ffi.TypeAlias
Returns an array containing the constants of this enum type, in the order they are declared.
Variable<T> - Interface in jnr.ffi
Access library global variables.

W

wrap(Runtime, long) - Static method in class jnr.ffi.Pointer
Wraps a native address in a Pointer instance.
wrap(Runtime, long, long) - Static method in class jnr.ffi.Pointer
Wraps a native address in a Pointer instance.
wrap(Runtime, ByteBuffer) - Static method in class jnr.ffi.Pointer
Wraps an existing ByteBuffer in a Pointer implementation so it can be used as a parameter to native functions.
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2015. All rights reserved.