Uses of Class
jnr.ffi.Pointer
-
Packages that use Pointer Package Description jnr.ffi jnr.ffi.byref jnr.ffi.provider jnr.ffi.provider.converters jnr.ffi.provider.jffi -
-
Uses of Pointer in jnr.ffi
Methods in jnr.ffi that return Pointer Modifier and Type Method Description abstract Pointer
ObjectReferenceManager. add(T object)
Adds a mapping from a java object to a unique native address.static Pointer
Memory. allocate(Runtime runtime, int size)
Allocates a new block of java memory and wraps it in aPointer
accessor.static Pointer
Memory. allocate(Runtime runtime, NativeType type)
Allocates a new block of java memory and wraps it in aPointer
accessor.static Pointer
Memory. allocate(Runtime runtime, Type type)
Allocates a new block of java memory and wraps it in aPointer
accessor.static Pointer
Memory. allocate(Runtime runtime, TypeAlias type)
Allocates a new block of java memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, int size)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, int size, boolean clear)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, long size)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, long size, boolean clear)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, NativeType type)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateDirect(Runtime runtime, TypeAlias type)
Allocates a new block of native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateTemporary(Runtime runtime, NativeType type)
Allocates a new block of transient native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateTemporary(Runtime runtime, NativeType type, boolean clear)
Allocates a new block of transient native memory and wraps it in aPointer
accessor.static Pointer
Memory. allocateTemporary(Runtime runtime, TypeAlias type)
Allocates a new block of transient native memory and wraps it in aPointer
accessor.Pointer
Struct.Pointer. get()
Gets thePointer
value from the native memory.Pointer
StructLayout.Pointer. get(Pointer ptr)
Gets thePointer
value from the native memory.Pointer
Struct.AbstractMember. getMemory()
static Pointer
Struct. getMemory(Struct struct)
static Pointer
Struct. getMemory(Struct struct, int flags)
Pointer
Struct.NumberField. getMemory()
Pointer[]
Pointer. getNullTerminatedPointerArray(long offset)
abstract Pointer
Pointer. getPointer(long offset)
Reads anPointer
value at the given offset.abstract Pointer
Pointer. getPointer(long offset, long size)
Reads anPointer
value at the given offset.protected Pointer
Struct.PointerField. getPointer()
Gets thePointer
value from the native memory.protected abstract Pointer
Struct.String. getStringMemory()
protected Pointer
Struct.UTFString. getStringMemory()
protected Pointer
Struct.UTFStringRef. getStringMemory()
protected abstract Pointer
StructLayout.String. getStringMemory(Pointer ptr)
protected Pointer
StructLayout.UTFString. getStringMemory(Pointer ptr)
protected Pointer
StructLayout.UTFStringRef. getStringMemory(Pointer ptr)
static Pointer
Pointer. newIntPointer(Runtime runtime, long address)
Wraps an integer value in an opaquePointer
instance.Pointer
ObjectReferenceManager. newReference(T object)
Deprecated.abstract Pointer
Pointer. slice(long offset)
Creates a newPointer
representing a sub-region of the memory referred to by thisPointer
.abstract Pointer
Pointer. slice(long offset, long size)
Creates a newPointer
representing a sub-region of the memory referred to by thisPointer
.static Pointer
Pointer. wrap(Runtime runtime, long address)
Wraps a native address in aPointer
instance.static Pointer
Pointer. wrap(Runtime runtime, long address, long size)
Wraps a native address in aPointer
instance.static Pointer
Pointer. wrap(Runtime runtime, java.nio.ByteBuffer buffer)
Wraps an existing ByteBuffer in aPointer
implementation so it can be used as a parameter to native functions.Methods in jnr.ffi with parameters of type Pointer Modifier and Type Method Description byte
StructLayout.NumberField. byteValue(Pointer ptr)
Returns abyte
representation of thisNumber
.byte
StructLayout.Signed8. byteValue(Pointer ptr)
Returns a java byte representation of this field.double
StructLayout.Double. doubleValue(Pointer ptr)
double
StructLayout.Float. doubleValue(Pointer ptr)
double
StructLayout.NumberField. doubleValue(Pointer ptr)
Returns anfloat
representation of thisNumber
.float
StructLayout.Double. floatValue(Pointer ptr)
float
StructLayout.Float. floatValue(Pointer ptr)
float
StructLayout.NumberField. floatValue(Pointer ptr)
Returns anfloat
representation of thisNumber
.void
ObjectReferenceManager. freeReference(Pointer reference)
Deprecated.abstract T
ObjectReferenceManager. get(Pointer reference)
Gets the java object that is mapped to the native memory address referred to byreference
.void
Pointer. get(long offset, Pointer[] dst, int idx, int len)
Bulk get method for multiplePointer
values.abstract boolean
StructLayout.AbstractBoolean. get(Pointer ptr)
Gets the value for this field.boolean
StructLayout.BOOL16. get(Pointer ptr)
boolean
StructLayout.Boolean. get(Pointer ptr)
double
StructLayout.Double. get(Pointer ptr)
E
StructLayout.EnumField. get(Pointer ptr)
Gets a java Enum value representing the native integer value.float
StructLayout.Float. get(Pointer ptr)
long
StructLayout.IntegerAlias. get(Pointer ptr)
Gets the value for this field.Pointer
StructLayout.Pointer. get(Pointer ptr)
Gets thePointer
value from the native memory.short
StructLayout.Signed16. get(Pointer ptr)
Gets the value for this field.int
StructLayout.Signed32. get(Pointer ptr)
Gets the value for this field.long
StructLayout.Signed64. get(Pointer ptr)
Gets the value for this field.byte
StructLayout.Signed8. get(Pointer ptr)
Gets the value for this field.long
StructLayout.SignedLong. get(Pointer ptr)
Gets the value for this field.abstract java.lang.String
StructLayout.String. get(Pointer ptr)
int
StructLayout.Unsigned16. get(Pointer ptr)
Gets the value for this field.long
StructLayout.Unsigned32. get(Pointer ptr)
Gets the value for this field.long
StructLayout.Unsigned64. get(Pointer ptr)
Gets the value for this field.short
StructLayout.Unsigned8. get(Pointer ptr)
Gets the value for this field.long
StructLayout.UnsignedLong. get(Pointer ptr)
Gets the value for this field.java.lang.String
StructLayout.UTFString. get(Pointer ptr)
java.lang.String
StructLayout.UTFStringRef. get(Pointer ptr)
boolean
StructLayout.WBOOL. get(Pointer ptr)
T
ObjectReferenceManager. getObject(Pointer reference)
Deprecated.protected abstract Pointer
StructLayout.String. getStringMemory(Pointer ptr)
protected Pointer
StructLayout.UTFString. getStringMemory(Pointer ptr)
protected Pointer
StructLayout.UTFStringRef. getStringMemory(Pointer ptr)
int
StructLayout.Double. intValue(Pointer ptr)
int
StructLayout.Enum16. intValue(Pointer ptr)
int
StructLayout.Enum32. intValue(Pointer ptr)
int
StructLayout.Enum64. intValue(Pointer ptr)
int
StructLayout.Enum8. intValue(Pointer ptr)
Returns an integer representation of this enum field.int
StructLayout.EnumLong. intValue(Pointer ptr)
int
StructLayout.Float. intValue(Pointer ptr)
int
StructLayout.IntegerAlias. intValue(Pointer ptr)
abstract int
StructLayout.NumberField. intValue(Pointer ptr)
Returns aint
representation of thisNumber
.int
StructLayout.Pointer. intValue(Pointer ptr)
Returns an integer representation of thisPointer
.int
StructLayout.Signed16. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Signed32. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Signed64. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Signed8. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.SignedLong. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Unsigned16. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Unsigned32. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Unsigned64. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.Unsigned8. intValue(Pointer ptr)
Returns a java int representation of this field.int
StructLayout.UnsignedLong. intValue(Pointer ptr)
Returns a java int representation of this field.long
StructLayout.Double. longValue(Pointer ptr)
long
StructLayout.Enum64. longValue(Pointer ptr)
long
StructLayout.EnumLong. longValue(Pointer ptr)
long
StructLayout.Float. longValue(Pointer ptr)
long
StructLayout.IntegerAlias. longValue(Pointer ptr)
long
StructLayout.NumberField. longValue(Pointer ptr)
Returns along
representation of thisNumber
.long
StructLayout.Pointer. longValue(Pointer ptr)
Returns anlong
representation of thisPointer
.long
StructLayout.Signed64. longValue(Pointer ptr)
Returns a java long representation of this field.long
StructLayout.SignedLong. longValue(Pointer ptr)
Returns a java long representation of this field.long
StructLayout.Unsigned32. longValue(Pointer ptr)
Returns a java long representation of this field.long
StructLayout.Unsigned64. longValue(Pointer ptr)
Returns a java long representation of this field.long
StructLayout.UnsignedLong. longValue(Pointer ptr)
Returns a java long representation of this field.void
Pointer. put(long offset, Pointer[] src, int idx, int len)
Bulk put method for multiplePointer
values.abstract void
Pointer. putPointer(long offset, Pointer value)
Writes aPointer
value at the given offset.abstract boolean
ObjectReferenceManager. remove(Pointer reference)
Removes a mapping from java object to native pointer.void
Struct.PointerField. set(Pointer value)
Puts aAddress
value into the native memory.abstract void
StructLayout.AbstractBoolean. set(Pointer ptr, boolean value)
Sets the field to a new value.void
StructLayout.BOOL16. set(Pointer ptr, boolean value)
void
StructLayout.Boolean. set(Pointer ptr, boolean value)
void
StructLayout.Double. set(Pointer ptr, double value)
void
StructLayout.Double. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Enum16. set(Pointer ptr, E value)
void
StructLayout.Enum16. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Enum32. set(Pointer ptr, E value)
void
StructLayout.Enum32. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Enum64. set(Pointer ptr, E value)
void
StructLayout.Enum64. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Enum8. set(Pointer ptr, E value)
Sets the native integer value using a java Enum value.void
StructLayout.Enum8. set(Pointer ptr, java.lang.Number value)
void
StructLayout.EnumLong. set(Pointer ptr, E value)
void
StructLayout.EnumLong. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Float. set(Pointer ptr, float value)
void
StructLayout.Float. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Function. set(Pointer ptr, T value)
void
StructLayout.IntegerAlias. set(Pointer ptr, long value)
void
StructLayout.IntegerAlias. set(Pointer ptr, java.lang.Number value)
abstract void
StructLayout.NumberField. set(Pointer ptr, java.lang.Number value)
Sets the field to a new value.void
StructLayout.Pointer. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Pointer. set(Pointer ptr, Pointer value)
Sets aPointer
value in the native memory.void
StructLayout.Signed16. set(Pointer ptr, short value)
Sets the value for this field.void
StructLayout.Signed16. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Signed32. set(Pointer ptr, int value)
Sets the value for this field.void
StructLayout.Signed32. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Signed64. set(Pointer ptr, long value)
Sets the value for this field.void
StructLayout.Signed64. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Signed8. set(Pointer ptr, byte value)
Sets the value for this field.void
StructLayout.Signed8. set(Pointer ptr, java.lang.Number value)
void
StructLayout.SignedLong. set(Pointer ptr, long value)
Sets the value for this field.void
StructLayout.SignedLong. set(Pointer ptr, java.lang.Number value)
abstract void
StructLayout.String. set(Pointer ptr, java.lang.String value)
void
StructLayout.Unsigned16. set(Pointer ptr, int value)
Sets the value for this field.void
StructLayout.Unsigned16. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Unsigned32. set(Pointer ptr, long value)
Sets the value for this field.void
StructLayout.Unsigned32. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Unsigned64. set(Pointer ptr, long value)
Sets the value for this field.void
StructLayout.Unsigned64. set(Pointer ptr, java.lang.Number value)
void
StructLayout.Unsigned8. set(Pointer ptr, short value)
Sets the value for this field.void
StructLayout.Unsigned8. set(Pointer ptr, java.lang.Number value)
void
StructLayout.UnsignedLong. set(Pointer ptr, long value)
Sets the value for this field.void
StructLayout.UnsignedLong. set(Pointer ptr, java.lang.Number value)
void
StructLayout.UTFString. set(Pointer ptr, java.lang.String value)
void
StructLayout.UTFStringRef. set(Pointer ptr, java.lang.String value)
void
StructLayout.WBOOL. set(Pointer ptr, boolean value)
short
StructLayout.NumberField. shortValue(Pointer ptr)
Returns ashort
representation of thisNumber
.short
StructLayout.Signed16. shortValue(Pointer ptr)
Returns a java short representation of this field.short
StructLayout.Signed8. shortValue(Pointer ptr)
Returns a java short representation of this field.short
StructLayout.Unsigned8. shortValue(Pointer ptr)
Returns a java short representation of this field.java.lang.String
StructLayout.AbstractBoolean. toString(Pointer ptr)
Returns a string representation of thisBoolean
.java.lang.String
StructLayout.Double. toString(Pointer ptr)
java.lang.String
StructLayout.EnumField. toString(Pointer ptr)
Returns a string representation of this field.java.lang.String
StructLayout.Float. toString(Pointer ptr)
java.lang.String
StructLayout.NumberField. toString(Pointer ptr)
Returns a string representation of thisNumber
.java.lang.String
StructLayout.Pointer. toString(Pointer ptr)
Returns a string representation of thisPointer
.java.lang.String
StructLayout.Signed64. toString(Pointer ptr)
Returns a string representation of this field.java.lang.String
StructLayout.SignedLong. toString(Pointer ptr)
Returns a string representation of this field.java.lang.String
StructLayout.String. toString(Pointer ptr)
java.lang.String
StructLayout.Unsigned64. toString(Pointer ptr)
Returns a string representation of this field.java.lang.String
StructLayout.UnsignedLong. toString(Pointer ptr)
Returns a string representation of this field.abstract void
Pointer. transferFrom(long offset, Pointer src, long srcOffset, long count)
Bulk data transfer from one memory location to another.abstract void
Pointer. transferTo(long offset, Pointer dst, long dstOffset, long count)
Bulk data transfer from one memory location to another.void
Struct. useMemory(Pointer address)
Uses the specified memory address as the backing store for this structure. -
Uses of Pointer in jnr.ffi.byref
Methods in jnr.ffi.byref with parameters of type Pointer Modifier and Type Method Description void
AddressByReference. fromNative(Runtime runtime, Pointer memory, long offset)
Copies the address value from native memoryvoid
ByReference. fromNative(Runtime runtime, Pointer memory, long offset)
Copies the java value from native memoryvoid
ByteByReference. fromNative(Runtime runtime, Pointer buffer, long offset)
Copies the Byte value from native memoryvoid
DoubleByReference. fromNative(Runtime runtime, Pointer buffer, long offset)
Copies the double value from native memoryvoid
FloatByReference. fromNative(Runtime runtime, Pointer buffer, long offset)
Copies the float value from native memoryvoid
IntByReference. fromNative(Runtime runtime, Pointer buffer, long offset)
Copies the integer value from native memoryvoid
LongLongByReference. fromNative(Runtime runtime, Pointer memory, long offset)
Copies the value from native memoryvoid
NativeLongByReference. fromNative(Runtime runtime, Pointer memory, long offset)
Copies the long value from native memoryvoid
NumberByReference. fromNative(Runtime runtime, Pointer memory, long offset)
void
PointerByReference. fromNative(Runtime runtime, Pointer memory, long offset)
void
ShortByReference. fromNative(Runtime runtime, Pointer buffer, long offset)
Copies the short value from native memoryvoid
AddressByReference. toNative(Runtime runtime, Pointer memory, long offset)
Copies the address value to native memoryvoid
ByReference. toNative(Runtime runtime, Pointer memory, long offset)
Copies the java value to native memoryvoid
ByteByReference. toNative(Runtime runtime, Pointer buffer, long offset)
Copies the Byte value to native memoryvoid
DoubleByReference. toNative(Runtime runtime, Pointer buffer, long offset)
Copies the double value to native memoryvoid
FloatByReference. toNative(Runtime runtime, Pointer buffer, long offset)
Copies the float value to native memoryvoid
IntByReference. toNative(Runtime runtime, Pointer buffer, long offset)
Copies the integer value to native memoryvoid
LongLongByReference. toNative(Runtime runtime, Pointer memory, long offset)
Copies the value to native memoryvoid
NativeLongByReference. toNative(Runtime runtime, Pointer memory, long offset)
Copies the long value to native memoryvoid
NumberByReference. toNative(Runtime runtime, Pointer memory, long offset)
void
PointerByReference. toNative(Runtime runtime, Pointer memory, long offset)
void
ShortByReference. toNative(Runtime runtime, Pointer buffer, long offset)
Copies the short value to native memoryConstructors in jnr.ffi.byref with parameters of type Pointer Constructor Description PointerByReference(Pointer value)
Creates a new reference to a pointer value -
Uses of Pointer in jnr.ffi.provider
Subclasses of Pointer in jnr.ffi.provider Modifier and Type Class Description class
AbstractArrayMemoryIO
class
AbstractBufferMemoryIO
class
AbstractMemoryIO
Base implementations of some MemoryIO operations.class
BoundedMemoryIO
class
InAccessibleMemoryIO
class
IntPointer
class
NullMemoryIO
class
ShareMemoryIO
Methods in jnr.ffi.provider that return Pointer Modifier and Type Method Description Pointer
DefaultObjectReferenceManager. add(java.lang.Object obj)
Pointer
MemoryManager. allocate(int size)
Pointer
MemoryManager. allocateDirect(int size)
Pointer
MemoryManager. allocateDirect(int size, boolean clear)
Pointer
MemoryManager. allocateDirect(long size)
Pointer
MemoryManager. allocateDirect(long size, boolean clear)
Pointer
MemoryManager. allocateTemporary(int size, boolean clear)
<T> Pointer
ClosureManager. getClosurePointer(java.lang.Class<? extends T> closureClass, T instance)
Pointer
BoundedMemoryIO. getDelegatedMemoryIO()
Pointer
DelegatingMemoryIO. getDelegatedMemoryIO()
Pointer
ShareMemoryIO. getDelegatedMemoryIO()
Pointer
BoundedMemoryIO. getPointer(long offset)
Pointer
BoundedMemoryIO. getPointer(long offset, long size)
Pointer
InAccessibleMemoryIO. getPointer(long offset)
Pointer
InAccessibleMemoryIO. getPointer(long offset, long size)
Pointer
ShareMemoryIO. getPointer(long offset)
Pointer
ShareMemoryIO. getPointer(long offset, long size)
Pointer
MemoryManager. newOpaquePointer(long address)
Pointer
MemoryManager. newPointer(long address)
Pointer
MemoryManager. newPointer(long address, long size)
Pointer
MemoryManager. newPointer(java.nio.ByteBuffer buffer)
Methods in jnr.ffi.provider with parameters of type Pointer Modifier and Type Method Description java.lang.Object
DefaultObjectReferenceManager. get(Pointer reference)
void
BoundedMemoryIO. putPointer(long offset, Pointer value)
void
InAccessibleMemoryIO. putPointer(long offset, Pointer value)
void
ShareMemoryIO. putPointer(long offset, Pointer value)
boolean
DefaultObjectReferenceManager. remove(Pointer reference)
void
AbstractMemoryIO. transferFrom(long offset, Pointer other, long otherOffset, long count)
void
BoundedMemoryIO. transferFrom(long offset, Pointer other, long otherOffset, long count)
void
AbstractMemoryIO. transferTo(long offset, Pointer other, long otherOffset, long count)
void
BoundedMemoryIO. transferTo(long offset, Pointer other, long otherOffset, long count)
Constructors in jnr.ffi.provider with parameters of type Pointer Constructor Description BoundedMemoryIO(Pointer parent, long offset, long size)
ShareMemoryIO(Pointer parent, long offset)
-
Uses of Pointer in jnr.ffi.provider.converters
Methods in jnr.ffi.provider.converters that return Pointer Modifier and Type Method Description Pointer
ByReferenceParameterConverter. toNative(ByReference value, ToNativeContext context)
Pointer
CharSequenceArrayParameterConverter. toNative(java.lang.CharSequence[] array, ToNativeContext context)
Pointer
StructArrayParameterConverter. toNative(Struct[] structs, ToNativeContext context)
Pointer
StructByReferenceToNativeConverter. toNative(Struct value, ToNativeContext ctx)
Methods in jnr.ffi.provider.converters that return types with arguments of type Pointer Modifier and Type Method Description static ToNativeConverter<ByReference,Pointer>
ByReferenceParameterConverter. getInstance(ToNativeContext toNativeContext)
static ToNativeConverter<java.lang.CharSequence[],Pointer>
CharSequenceArrayParameterConverter. getInstance(ToNativeContext toNativeContext)
static FromNativeConverter<java.lang.String,Pointer>
StringResultConverter. getInstance(java.nio.charset.Charset cs)
static FromNativeConverter<java.lang.String,Pointer>
StringResultConverter. getInstance(FromNativeContext fromNativeContext)
static ToNativeConverter<Struct[],Pointer>
StructArrayParameterConverter. getInstance(ToNativeContext toNativeContext, java.lang.Class structClass)
static FromNativeConverter<Struct,Pointer>
StructByReferenceFromNativeConverter. getInstance(java.lang.Class structClass, FromNativeContext toNativeContext)
static ToNativeConverter<Struct,Pointer>
StructByReferenceToNativeConverter. getInstance(ToNativeContext toNativeContext)
java.lang.Class<Pointer>
ByReferenceParameterConverter. nativeType()
java.lang.Class<Pointer>
CharSequenceArrayParameterConverter. nativeType()
java.lang.Class<Pointer>
StringResultConverter. nativeType()
java.lang.Class<Pointer>
StructArrayParameterConverter. nativeType()
java.lang.Class<Pointer>
StructByReferenceFromNativeConverter. nativeType()
java.lang.Class<Pointer>
StructByReferenceToNativeConverter. nativeType()
Methods in jnr.ffi.provider.converters with parameters of type Pointer Modifier and Type Method Description java.lang.String
StringResultConverter. fromNative(Pointer pointer, FromNativeContext context)
Struct
StructByReferenceFromNativeConverter. fromNative(Pointer nativeValue, FromNativeContext context)
void
ByReferenceParameterConverter.Out. postInvoke(ByReference byReference, Pointer pointer, ToNativeContext context)
void
CharSequenceArrayParameterConverter.Out. postInvoke(java.lang.CharSequence[] array, Pointer primitive, ToNativeContext context)
void
Pointer32ArrayParameterConverter.Out. postInvoke(Pointer[] pointers, int[] primitive, ToNativeContext context)
void
Pointer64ArrayParameterConverter.Out. postInvoke(Pointer[] pointers, long[] primitive, ToNativeContext context)
void
StructArrayParameterConverter.Out. postInvoke(Struct[] structs, Pointer primitive, ToNativeContext context)
int[]
Pointer32ArrayParameterConverter. toNative(Pointer[] pointers, ToNativeContext context)
long[]
Pointer64ArrayParameterConverter. toNative(Pointer[] pointers, ToNativeContext context)
-
Uses of Pointer in jnr.ffi.provider.jffi
Subclasses of Pointer in jnr.ffi.provider.jffi Modifier and Type Class Description class
ArrayMemoryIO
class
ByteBufferMemoryIO
static class
ClosureFromNativeConverter.AbstractClosurePointer
class
TransientNativeMemory
Methods in jnr.ffi.provider.jffi that return Pointer Modifier and Type Method Description Pointer
NativeMemoryManager. allocate(int size)
Pointer
NativeMemoryManager. allocateDirect(int size)
Pointer
NativeMemoryManager. allocateDirect(int size, boolean clear)
Pointer
NativeMemoryManager. allocateDirect(long size)
Pointer
NativeMemoryManager. allocateDirect(long size, boolean clear)
Pointer
NativeMemoryManager. allocateTemporary(int size)
Pointer
NativeMemoryManager. allocateTemporary(int size, boolean clear)
Pointer
ArrayMemoryIO. getPointer(long offset)
Pointer
ArrayMemoryIO. getPointer(long offset, long size)
Pointer
ByteBufferMemoryIO. getPointer(long offset)
Pointer
ByteBufferMemoryIO. getPointer(long offset, long size)
Pointer
NativeMemoryManager. newOpaquePointer(long address)
Pointer
NativeMemoryManager. newPointer(long address)
Pointer
NativeMemoryManager. newPointer(long address, long size)
Pointer
NativeMemoryManager. newPointer(java.nio.ByteBuffer buffer)
static Pointer
AsmRuntime. pointerValue(int ptr, Runtime runtime)
static Pointer
AsmRuntime. pointerValue(long ptr, Runtime runtime)
Methods in jnr.ffi.provider.jffi that return types with arguments of type Pointer Modifier and Type Method Description static FromNativeConverter<?,Pointer>
ClosureFromNativeConverter. getInstance(Runtime runtime, SignatureType type, jnr.ffi.provider.jffi.AsmClassLoader classLoader, SignatureTypeMapper typeMapper)
java.lang.Class<Pointer>
AsmStructByReferenceFromNativeConverter. nativeType()
java.lang.Class<Pointer>
ClosureFromNativeConverter. nativeType()
Methods in jnr.ffi.provider.jffi with parameters of type Pointer Modifier and Type Method Description long
PointerParameterStrategy. address(Pointer pointer)
java.lang.Object
ClosureFromNativeConverter.ProxyConverter. fromNative(Pointer nativeValue, FromNativeContext context)
static int
AsmRuntime. intValue(Pointer ptr)
static boolean
AsmRuntime. isDirect(Pointer ptr)
static long
AsmRuntime. longValue(Pointer ptr)
static PointerParameterStrategy
AsmRuntime. pointerParameterStrategy(Pointer pointer)
void
ArrayMemoryIO. putPointer(long offset, Pointer value)
void
ByteBufferMemoryIO. putPointer(long offset, Pointer value)
-