Uses of Class
jnr.ffi.Pointer

Packages that use Pointer
jnr.ffi   
jnr.ffi.byref   
jnr.ffi.provider   
jnr.ffi.provider.jffi   
 

Uses of Pointer in jnr.ffi
 

Methods in jnr.ffi that return Pointer
static Pointer Memory.allocate(Runtime runtime, int size)
          Allocates a new block of java memory and wraps it in a Pointer accessor.
static Pointer Memory.allocate(Runtime runtime, NativeType type)
          Allocates a new block of java memory and wraps it in a Pointer accessor.
static Pointer Memory.allocateDirect(Runtime runtime, int size)
          Allocates a new block of native memory and wraps it in a Pointer accessor.
static Pointer Memory.allocateDirect(Runtime runtime, int size, boolean clear)
          Allocates a new block of native memory and wraps it in a Pointer accessor.
static Pointer Memory.allocateDirect(Runtime runtime, NativeType type)
          Allocates a new block of native memory and wraps it in a Pointer accessor.
static Pointer Memory.allocateTemporary(Runtime runtime, NativeType type)
          Allocates a new block of transient native memory and wraps it in a Pointer accessor.
static Pointer Memory.allocateTemporary(Runtime runtime, NativeType type, boolean clear)
          Allocates a new block of transient native memory and wraps it in a Pointer accessor.
 Pointer Struct.Pointer.get()
          Gets the Pointer value from the native memory.
 Pointer StructLayout.Pointer.get(Pointer ptr)
          Gets the Pointer value from the native memory.
 Pointer Struct.AbstractMember.getMemory()
           
 Pointer Struct.NumberField.getMemory()
           
static Pointer Struct.getMemory(Struct struct)
           
static Pointer Struct.getMemory(Struct struct, int flags)
           
 Pointer[] Pointer.getNullTerminatedPointerArray(long offset)
           
abstract  Pointer Pointer.getPointer(long offset)
          Reads an Pointer value at the given offset.
abstract  Pointer Pointer.getPointer(long offset, long size)
          Reads an Pointer value at the given offset.
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 opaque Pointer instance.
abstract  Pointer ObjectReferenceManager.newReference(Object obj)
           
abstract  Pointer Pointer.slice(long offset)
          Creates a new Pointer representing a sub-region of the memory referred to by this Pointer.
abstract  Pointer Pointer.slice(long offset, long size)
          Creates a new Pointer representing a sub-region of the memory referred to by this Pointer.
static Pointer Pointer.wrap(Runtime runtime, ByteBuffer buffer)
          Wraps an existing ByteBuffer in a Pointer implementation so it can be used as a parameter to native functions.
static Pointer Pointer.wrap(Runtime runtime, long address)
          Wraps a native address in a Pointer instance.
static Pointer Pointer.wrap(Runtime runtime, long address, long size)
          Wraps a native address in a Pointer instance.
 

Methods in jnr.ffi with parameters of type Pointer
 byte StructLayout.NumberField.byteValue(Pointer ptr)
          Returns a byte representation of this Number.
 byte StructLayout.Signed8.byteValue(Pointer ptr)
          Returns a java byte representation of this field.
 double StructLayout.NumberField.doubleValue(Pointer ptr)
          Returns an float representation of this Number.
 double StructLayout.Float.doubleValue(Pointer ptr)
           
 double StructLayout.Double.doubleValue(Pointer ptr)
           
 float StructLayout.NumberField.floatValue(Pointer ptr)
          Returns an float representation of this Number.
 float StructLayout.Float.floatValue(Pointer ptr)
           
 float StructLayout.Double.floatValue(Pointer ptr)
           
abstract  void ObjectReferenceManager.freeReference(Pointer reference)
           
 void Pointer.get(long offset, Pointer[] dst, int idx, int len)
          Bulk get method for multiple Pointer values.
abstract  boolean StructLayout.AbstractBoolean.get(Pointer ptr)
          Gets the value for this field.
 boolean StructLayout.Boolean.get(Pointer ptr)
           
 boolean StructLayout.WBOOL.get(Pointer ptr)
           
 long StructLayout.IntegerAlias.get(Pointer ptr)
          Gets the value for this field.
 byte StructLayout.Signed8.get(Pointer ptr)
          Gets the value for this field.
 short StructLayout.Unsigned8.get(Pointer ptr)
          Gets the value for this field.
 short StructLayout.Signed16.get(Pointer ptr)
          Gets the value for this field.
 int StructLayout.Unsigned16.get(Pointer ptr)
          Gets the value for this field.
 int StructLayout.Signed32.get(Pointer ptr)
          Gets the value for this field.
 long StructLayout.Unsigned32.get(Pointer ptr)
          Gets the value for this field.
 long StructLayout.Signed64.get(Pointer ptr)
          Gets the value for this field.
 long StructLayout.Unsigned64.get(Pointer ptr)
          Gets the value for this field.
 long StructLayout.SignedLong.get(Pointer ptr)
          Gets the value for this field.
 long StructLayout.UnsignedLong.get(Pointer ptr)
          Gets the value for this field.
 float StructLayout.Float.get(Pointer ptr)
           
 double StructLayout.Double.get(Pointer ptr)
           
 Pointer StructLayout.Pointer.get(Pointer ptr)
          Gets the Pointer value from the native memory.
 E StructLayout.EnumField.get(Pointer ptr)
          Gets a java Enum value representing the native integer value.
abstract  String StructLayout.String.get(Pointer ptr)
           
 String StructLayout.UTFString.get(Pointer ptr)
           
 String StructLayout.UTFStringRef.get(Pointer ptr)
           
abstract  Object ObjectReferenceManager.getObject(Pointer reference)
           
protected abstract  Pointer StructLayout.String.getStringMemory(Pointer ptr)
           
protected  Pointer StructLayout.UTFString.getStringMemory(Pointer ptr)
           
protected  Pointer StructLayout.UTFStringRef.getStringMemory(Pointer ptr)
           
abstract  int StructLayout.NumberField.intValue(Pointer ptr)
          Returns a int representation of this Number.
 int StructLayout.IntegerAlias.intValue(Pointer ptr)
           
 int StructLayout.Signed8.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.Signed16.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.Signed32.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.Signed64.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.SignedLong.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.
 int StructLayout.Float.intValue(Pointer ptr)
           
 int StructLayout.Double.intValue(Pointer ptr)
           
 int StructLayout.Pointer.intValue(Pointer ptr)
          Returns an integer representation of this Pointer.
 int StructLayout.Enum8.intValue(Pointer ptr)
          Returns an integer representation of this enum field.
 int StructLayout.Enum16.intValue(Pointer ptr)
           
 int StructLayout.Enum32.intValue(Pointer ptr)
           
 int StructLayout.Enum64.intValue(Pointer ptr)
           
 int StructLayout.EnumLong.intValue(Pointer ptr)
           
 long StructLayout.NumberField.longValue(Pointer ptr)
          Returns a long representation of this Number.
 long StructLayout.IntegerAlias.longValue(Pointer ptr)
           
 long StructLayout.Unsigned32.longValue(Pointer ptr)
          Returns a java long representation of this field.
 long StructLayout.Signed64.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.SignedLong.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.
 long StructLayout.Float.longValue(Pointer ptr)
           
 long StructLayout.Double.longValue(Pointer ptr)
           
 long StructLayout.Pointer.longValue(Pointer ptr)
          Returns an long representation of this Pointer.
 long StructLayout.Enum64.longValue(Pointer ptr)
           
 long StructLayout.EnumLong.longValue(Pointer ptr)
           
 void Pointer.put(long offset, Pointer[] src, int idx, int len)
          Bulk put method for multiple Pointer values.
abstract  void Pointer.putPointer(long offset, Pointer value)
          Writes a Pointer value at the given offset.
 void Struct.Pointer.set(Pointer value)
          Puts a Address 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.WBOOL.set(Pointer ptr, boolean value)
           
 void StructLayout.Signed8.set(Pointer ptr, byte value)
          Sets the value for this field.
 void StructLayout.Double.set(Pointer ptr, double value)
           
 void StructLayout.Enum8.set(Pointer ptr, E value)
          Sets the native integer value using a java Enum value.
 void StructLayout.Enum16.set(Pointer ptr, E value)
           
 void StructLayout.Enum32.set(Pointer ptr, E value)
           
 void StructLayout.Enum64.set(Pointer ptr, E value)
           
 void StructLayout.EnumLong.set(Pointer ptr, E value)
           
 void StructLayout.Float.set(Pointer ptr, float value)
           
 void StructLayout.Unsigned16.set(Pointer ptr, int value)
          Sets the value for this field.
 void StructLayout.Signed32.set(Pointer ptr, int value)
          Sets the value for this field.
 void StructLayout.IntegerAlias.set(Pointer ptr, long value)
           
 void StructLayout.Unsigned32.set(Pointer ptr, long value)
          Sets the value for this field.
 void StructLayout.Signed64.set(Pointer ptr, long value)
          Sets the value for this field.
 void StructLayout.Unsigned64.set(Pointer ptr, long value)
          Sets the value for this field.
 void StructLayout.SignedLong.set(Pointer ptr, long value)
          Sets the value for this field.
 void StructLayout.UnsignedLong.set(Pointer ptr, long value)
          Sets the value for this field.
abstract  void StructLayout.NumberField.set(Pointer ptr, Number value)
          Sets the field to a new value.
 void StructLayout.IntegerAlias.set(Pointer ptr, Number value)
           
 void StructLayout.Signed8.set(Pointer ptr, Number value)
           
 void StructLayout.Unsigned8.set(Pointer ptr, Number value)
           
 void StructLayout.Signed16.set(Pointer ptr, Number value)
           
 void StructLayout.Unsigned16.set(Pointer ptr, Number value)
           
 void StructLayout.Signed32.set(Pointer ptr, Number value)
           
 void StructLayout.Unsigned32.set(Pointer ptr, Number value)
           
 void StructLayout.Signed64.set(Pointer ptr, Number value)
           
 void StructLayout.Unsigned64.set(Pointer ptr, Number value)
           
 void StructLayout.SignedLong.set(Pointer ptr, Number value)
           
 void StructLayout.UnsignedLong.set(Pointer ptr, Number value)
           
 void StructLayout.Float.set(Pointer ptr, Number value)
           
 void StructLayout.Double.set(Pointer ptr, Number value)
           
 void StructLayout.Pointer.set(Pointer ptr, Number value)
           
 void StructLayout.Enum8.set(Pointer ptr, Number value)
           
 void StructLayout.Enum16.set(Pointer ptr, Number value)
           
 void StructLayout.Enum32.set(Pointer ptr, Number value)
           
 void StructLayout.Enum64.set(Pointer ptr, Number value)
           
 void StructLayout.EnumLong.set(Pointer ptr, Number value)
           
 void StructLayout.Pointer.set(Pointer ptr, Pointer value)
          Sets a Pointer value in the native memory.
 void StructLayout.Unsigned8.set(Pointer ptr, short value)
          Sets the value for this field.
 void StructLayout.Signed16.set(Pointer ptr, short value)
          Sets the value for this field.
abstract  void StructLayout.String.set(Pointer ptr, String value)
           
 void StructLayout.UTFString.set(Pointer ptr, String value)
           
 void StructLayout.UTFStringRef.set(Pointer ptr, String value)
           
 short StructLayout.NumberField.shortValue(Pointer ptr)
          Returns a short representation of this Number.
 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.
 short StructLayout.Signed16.shortValue(Pointer ptr)
          Returns a java short representation of this field.
 String StructLayout.AbstractBoolean.toString(Pointer ptr)
          Returns a string representation of this Boolean.
 String StructLayout.NumberField.toString(Pointer ptr)
          Returns a string representation of this Number.
 String StructLayout.Signed64.toString(Pointer ptr)
          Returns a string representation of this field.
 String StructLayout.Unsigned64.toString(Pointer ptr)
          Returns a string representation of this field.
 String StructLayout.SignedLong.toString(Pointer ptr)
          Returns a string representation of this field.
 String StructLayout.UnsignedLong.toString(Pointer ptr)
          Returns a string representation of this field.
 String StructLayout.Float.toString(Pointer ptr)
           
 String StructLayout.Double.toString(Pointer ptr)
           
 String StructLayout.Pointer.toString(Pointer ptr)
          Returns a string representation of this Pointer.
 String StructLayout.EnumField.toString(Pointer ptr)
          Returns a string representation of this field.
 String StructLayout.String.toString(Pointer ptr)
           
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
 void ShortByReference.marshal(Pointer buffer, long offset)
          Copies the short value to native memory
 void PointerByReference.marshal(Pointer memory, long offset)
           
 void NativeLongByReference.marshal(Pointer memory, long offset)
          Copies the long value to native memory
 void LongLongByReference.marshal(Pointer memory, long offset)
          Copies the value to native memory
 void IntByReference.marshal(Pointer buffer, long offset)
          Copies the integer value to native memory
 void FloatByReference.marshal(Pointer buffer, long offset)
          Copies the float value to native memory
 void DoubleByReference.marshal(Pointer buffer, long offset)
          Copies the double value to native memory
 void ByteByReference.marshal(Pointer buffer, long offset)
          Copies the Byte value to native memory
 void ByReference.marshal(Pointer memory, long offset)
          Copies the java value to native memory
 void AddressByReference.marshal(Pointer memory, long offset)
          Copies the address value to native memory
 void ShortByReference.unmarshal(Pointer buffer, long offset)
          Copies the short value from native memory
 void PointerByReference.unmarshal(Pointer memory, long offset)
           
 void NativeLongByReference.unmarshal(Pointer memory, long offset)
          Copies the long value from native memory
 void LongLongByReference.unmarshal(Pointer memory, long offset)
          Copies the value from native memory
 void IntByReference.unmarshal(Pointer buffer, long offset)
          Copies the integer value from native memory
 void FloatByReference.unmarshal(Pointer buffer, long offset)
          Copies the float value from native memory
 void DoubleByReference.unmarshal(Pointer buffer, long offset)
          Copies the double value from native memory
 void ByteByReference.unmarshal(Pointer buffer, long offset)
          Copies the Byte value from native memory
 void ByReference.unmarshal(Pointer memory, long offset)
          Copies the java value from native memory
 void AddressByReference.unmarshal(Pointer memory, long offset)
          Copies the address value from native memory
 

Constructors in jnr.ffi.byref with parameters of type Pointer
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
 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
 Pointer MemoryManager.allocate(int size)
           
 Pointer MemoryManager.allocateDirect(int size)
           
 Pointer MemoryManager.allocateDirect(int size, boolean clear)
           
 Pointer MemoryManager.allocateTemporary(int size, boolean clear)
           
 Pointer ShareMemoryIO.getDelegatedMemoryIO()
           
 Pointer DelegatingMemoryIO.getDelegatedMemoryIO()
           
 Pointer BoundedMemoryIO.getDelegatedMemoryIO()
           
 Pointer ShareMemoryIO.getPointer(long offset)
           
 Pointer InAccessibleMemoryIO.getPointer(long offset)
           
 Pointer BoundedMemoryIO.getPointer(long offset)
           
 Pointer ShareMemoryIO.getPointer(long offset, long size)
           
 Pointer InAccessibleMemoryIO.getPointer(long offset, long size)
           
 Pointer BoundedMemoryIO.getPointer(long offset, long size)
           
 Pointer MemoryManager.newOpaquePointer(long address)
           
 Pointer MemoryManager.newPointer(ByteBuffer buffer)
           
 Pointer MemoryManager.newPointer(long address)
           
 Pointer MemoryManager.newPointer(long address, long size)
           
 Pointer DefaultObjectReferenceManager.newReference(Object obj)
           
 

Methods in jnr.ffi.provider with parameters of type Pointer
 void DefaultObjectReferenceManager.freeReference(Pointer reference)
           
 Object DefaultObjectReferenceManager.getObject(Pointer reference)
           
 void ShareMemoryIO.putPointer(long offset, Pointer value)
           
 void InAccessibleMemoryIO.putPointer(long offset, Pointer value)
           
 void BoundedMemoryIO.putPointer(long offset, Pointer value)
           
 void BoundedMemoryIO.transferFrom(long offset, Pointer other, long otherOffset, long count)
           
 void AbstractMemoryIO.transferFrom(long offset, Pointer other, long otherOffset, long count)
           
 void BoundedMemoryIO.transferTo(long offset, Pointer other, long otherOffset, long count)
           
 void AbstractMemoryIO.transferTo(long offset, Pointer other, long otherOffset, long count)
           
 

Constructors in jnr.ffi.provider with parameters of type Pointer
BoundedMemoryIO(Pointer parent, long offset, long size)
           
ShareMemoryIO(Pointer parent, long offset)
           
 

Uses of Pointer in jnr.ffi.provider.jffi
 

Subclasses of Pointer in jnr.ffi.provider.jffi
 class ArrayMemoryIO
           
 class ByteBufferMemoryIO
           
 class TransientNativeMemory
           
 

Methods in jnr.ffi.provider.jffi that return Pointer
 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 ByteBufferMemoryIO.getPointer(long offset)
           
 Pointer ArrayMemoryIO.getPointer(long offset)
           
 Pointer ByteBufferMemoryIO.getPointer(long offset, long size)
           
 Pointer ArrayMemoryIO.getPointer(long offset, long size)
           
 Pointer NativeMemoryManager.newOpaquePointer(long address)
           
 Pointer NativeMemoryManager.newPointer(ByteBuffer buffer)
           
 Pointer NativeMemoryManager.newPointer(long address)
           
 Pointer NativeMemoryManager.newPointer(long address, long size)
           
static Pointer AsmRuntime.pointerValue(int ptr)
           
static Pointer AsmRuntime.pointerValue(long ptr)
           
 Pointer ByReferenceParameterConverter.toNative(ByReference value, ToNativeContext context)
           
 

Methods in jnr.ffi.provider.jffi that return types with arguments of type Pointer
 Class<Pointer> ByReferenceParameterConverter.nativeType()
           
 

Methods in jnr.ffi.provider.jffi with parameters of type Pointer
static int AsmRuntime.intValue(Pointer ptr)
           
static boolean AsmRuntime.isDirect(Pointer ptr)
           
static long AsmRuntime.longValue(Pointer ptr)
           
static void AsmRuntime.marshal(com.kenai.jffi.HeapInvocationBuffer buffer, InvocationSession session, Pointer[] pointers, int inout, int nativeArrayFlags)
           
static void AsmRuntime.marshal(com.kenai.jffi.HeapInvocationBuffer buffer, Pointer ptr, int nativeArrayFlags)
           
static PointerParameterStrategy AsmRuntime.pointerParameterStrategy(Pointer pointer)
           
 void ByReferenceParameterConverter.postInvoke(ByReference byReference, Pointer pointer, ToNativeContext context)
           
 void ByteBufferMemoryIO.putPointer(long offset, Pointer value)
           
 void ArrayMemoryIO.putPointer(long offset, Pointer value)
           
 



Copyright © 2012. All Rights Reserved.