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
Fields in jnr.ffi declared as Pointer Modifier and Type Field Description private Pointer
Struct.PointerField. finalPointer
private Pointer
Struct.Info. memory
private Pointer
Struct.UTFStringRef. valueHolder
private Pointer
StructLayout.UTFStringRef. valueHolder
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, 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.private Pointer
Struct.Info. allocateMemory(int flags)
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.Info. getMemory()
Pointer
Struct.Info. getMemory(int flags)
(package private) abstract Pointer
Struct.Member. getMemory()
Gets the memory object used to store thisMember
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 this Number.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 this Number.float
StructLayout.Double. floatValue(Pointer ptr)
float
StructLayout.Float. floatValue(Pointer ptr)
float
StructLayout.NumberField. floatValue(Pointer ptr)
Returns anfloat
representation of this Number.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.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 this Number.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 this Number.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.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 this Number.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.Info. useMemory(Pointer io)
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
private static class
DefaultObjectReferenceManager.ObjectReference
class
InAccessibleMemoryIO
class
IntPointer
class
NullMemoryIO
class
ShareMemoryIO
Fields in jnr.ffi.provider declared as Pointer Modifier and Type Field Description private Pointer
BoundedMemoryIO. io
private Pointer
ShareMemoryIO. ptr
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. 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
Subclasses of Pointer in jnr.ffi.provider.converters Modifier and Type Class Description private static class
CharSequenceArrayParameterConverter.StringArray
Fields in jnr.ffi.provider.converters declared as Pointer Modifier and Type Field Description private Pointer
CharSequenceArrayParameterConverter.StringArray. memory
Fields in jnr.ffi.provider.converters with type parameters of type Pointer Modifier and Type Field Description private static FromNativeConverter<java.lang.String,Pointer>
StringResultConverter. DEFAULT
private static ToNativeConverter<ByReference,Pointer>
ByReferenceParameterConverter. IN
private static ToNativeConverter<ByReference,Pointer>
ByReferenceParameterConverter. INOUT
private static ToNativeConverter<ByReference,Pointer>
ByReferenceParameterConverter. OUT
private java.util.List<Pointer>
CharSequenceArrayParameterConverter.StringArray. stringMemory
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)
Constructors in jnr.ffi.provider.converters with parameters of type Pointer Constructor Description StringArray(Runtime runtime, Pointer memory, int capacity)
-
Uses of Pointer in jnr.ffi.provider.jffi
Subclasses of Pointer in jnr.ffi.provider.jffi Modifier and Type Class Description (package private) class
AllocatedDirectMemoryIO
class
ArrayMemoryIO
class
ByteBufferMemoryIO
static class
ClosureFromNativeConverter.AbstractClosurePointer
(package private) class
DirectMemoryIO
(package private) class
NativeClosurePointer
class
TransientNativeMemory
Fields in jnr.ffi.provider.jffi declared as Pointer Modifier and Type Field Description protected Pointer
ReflectionVariableAccessorGenerator.AbstractVariable. memory
(package private) Pointer
X86Disassembler. ud
Fields in jnr.ffi.provider.jffi with type parameters of type Pointer Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends Struct>,FromNativeConverter<? extends Struct,Pointer>>
StructByReferenceResultConverterFactory. converters
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. allocateTemporary(int size)
Pointer
NativeMemoryManager. allocateTemporary(int size, boolean clear)
Pointer
ReflectionVariableAccessorGenerator.PointerVariable. get()
<T> Pointer
NativeClosureManager. getClosurePointer(java.lang.Class<? extends T> closureClass, T instance)
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
DirectMemoryIO. getPointer(long offset)
Pointer
DirectMemoryIO. getPointer(long offset, long size)
(package private) Pointer
NativeClosureFactory.ClosureReference. getPointer()
Pointer
NativeMemoryManager. newOpaquePointer(long address)
(package private) static Pointer
MemoryUtil. newPointer(Runtime runtime, int ptr)
(package private) static Pointer
MemoryUtil. newPointer(Runtime runtime, long ptr)
(package private) static Pointer
MemoryUtil. newPointer(Runtime runtime, long ptr, long size)
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)
Pointer
NativeClosureManager.ClosureSite. toNative(T value, ToNativeContext context)
Pointer
X86Disassembler.X86DisassemblerConverter. toNative(X86Disassembler value, ToNativeContext context)
Methods in jnr.ffi.provider.jffi that return types with arguments of type Pointer Modifier and Type Method Description private FromNativeConverter<? extends Struct,Pointer>
StructByReferenceResultConverterFactory. createConverter(Runtime runtime, java.lang.Class<? extends Struct> structClass, FromNativeContext fromNativeContext)
FromNativeConverter<? extends Struct,Pointer>
StructByReferenceResultConverterFactory. get(java.lang.Class<? extends Struct> structClass, FromNativeContext fromNativeContext)
static FromNativeConverter<?,Pointer>
ClosureFromNativeConverter. getInstance(Runtime runtime, SignatureType type, AsmClassLoader classLoader, SignatureTypeMapper typeMapper)
java.lang.Class<Pointer>
AsmStructByReferenceFromNativeConverter. nativeType()
java.lang.Class<Pointer>
ClosureFromNativeConverter. nativeType()
java.lang.Class<Pointer>
NativeClosureManager.ClosureSite. nativeType()
java.lang.Class<Pointer>
X86Disassembler.X86DisassemblerConverter. nativeType()
(package private) <T> ToNativeConverter<T,Pointer>
NativeClosureManager. newClosureSite(java.lang.Class<T> closureClass)
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)
java.lang.Number
ReflectionVariableAccessorGenerator.DoublePointerOp. get(Pointer memory)
java.lang.Number
ReflectionVariableAccessorGenerator.FloatPointerOp. get(Pointer memory)
java.lang.Number
ReflectionVariableAccessorGenerator.Int16PointerOp. get(Pointer memory)
java.lang.Number
ReflectionVariableAccessorGenerator.Int32PointerOp. get(Pointer memory)
java.lang.Number
ReflectionVariableAccessorGenerator.Int64PointerOp. get(Pointer memory)
java.lang.Number
ReflectionVariableAccessorGenerator.Int8PointerOp. get(Pointer memory)
T
ReflectionVariableAccessorGenerator.PointerOp. get(Pointer memory)
(package private) static Variable
ReflectionVariableAccessorGenerator. getNativeVariableAccessor(Pointer memory, ToNativeType toNativeType, FromNativeType fromNativeType)
static int
AsmRuntime. intValue(Pointer ptr)
static boolean
AsmRuntime. isDirect(Pointer ptr)
static long
AsmRuntime. longValue(Pointer ptr)
private static PointerParameterStrategy
AsmRuntime. otherPointerParameterStrategy(Pointer pointer)
static PointerParameterStrategy
AsmRuntime. pointerParameterStrategy(Pointer pointer)
void
ReflectionVariableAccessorGenerator.DoublePointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.FloatPointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.Int16PointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.Int32PointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.Int64PointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.Int8PointerOp. put(Pointer memory, java.lang.Number value)
void
ReflectionVariableAccessorGenerator.PointerOp. put(Pointer memory, T value)
void
ArrayMemoryIO. putPointer(long offset, Pointer value)
void
ByteBufferMemoryIO. putPointer(long offset, Pointer value)
void
DirectMemoryIO. putPointer(long offset, Pointer value)
void
ReflectionVariableAccessorGenerator.PointerVariable. set(Pointer value)
void
X86Disassembler. setInputBuffer(Pointer buffer, int size)
void
DirectMemoryIO. transferFrom(long offset, Pointer other, long otherOffset, long count)
void
DirectMemoryIO. transferTo(long offset, Pointer other, long otherOffset, long count)
void
X86Disassembler.UDis86. ud_init(Pointer ud)
void
X86Disassembler.UDis86. ud_set_input_buffer(X86Disassembler ud, Pointer data, long len)
Constructors in jnr.ffi.provider.jffi with parameters of type Pointer Constructor Description AbstractVariable(Pointer memory)
NumberVariable(Pointer memory, ReflectionVariableAccessorGenerator.PointerOp<java.lang.Number> pointerOp, DataConverter<java.lang.Number,java.lang.Number> dataConverter, DefaultInvokerFactory.ResultConverter<? extends java.lang.Number,java.lang.Number> resultConverter)
PointerVariable(Pointer memory)
-