|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Runtime | |
|---|---|
| jnr.ffi | |
| jnr.ffi.byref | |
| jnr.ffi.mapper | |
| jnr.ffi.provider | |
| jnr.ffi.provider.converters | |
| jnr.ffi.provider.jffi | |
| Uses of Runtime in jnr.ffi |
|---|
| Methods in jnr.ffi that return Runtime | |
|---|---|
Runtime |
StructLayout.getRuntime()
|
Runtime |
Struct.getRuntime()
|
Runtime |
Pointer.getRuntime()
Gets the Runtime this Pointer instance belongs to. |
static Runtime |
Runtime.getRuntime(Object library)
Returns the runtime associated with the library instance. |
static Runtime |
Library.getRuntime(Object library)
Deprecated. Use getRuntime(Object) |
static Runtime |
Runtime.getSystemRuntime()
Gets the global Runtime for the current FFI provider |
| Methods in jnr.ffi with parameters of type Runtime | ||
|---|---|---|
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.allocate(Runtime runtime,
Type type)
Allocates a new block of java memory and wraps it in a Pointer
accessor. |
|
static Pointer |
Memory.allocate(Runtime runtime,
TypeAlias 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.allocateDirect(Runtime runtime,
TypeAlias 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. |
|
static Pointer |
Memory.allocateTemporary(Runtime runtime,
TypeAlias type)
Allocates a new block of transient native memory and wraps it in a Pointer
accessor. |
|
static
|
Struct.arrayOf(Runtime runtime,
Class<T> type,
int length)
|
|
static int |
LastError.getLastError(Runtime runtime)
Gets the value of errno from the last native call. |
|
abstract boolean |
Runtime.isCompatible(Runtime other)
Indicates whether this Runtime instance is compatible with another Runtime instance. |
|
static
|
ObjectReferenceManager.newInstance(Runtime runtime)
|
|
static Pointer |
Pointer.newIntPointer(Runtime runtime,
long address)
Wraps an integer value in an opaque Pointer instance. |
|
static void |
LastError.setLastError(Runtime runtime,
int error)
Sets the native errno value. |
|
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. |
|
| Constructors in jnr.ffi with parameters of type Runtime | |
|---|---|
Pointer(Runtime runtime,
long address,
boolean direct)
|
|
Struct(Runtime runtime)
Creates a new Struct. |
|
StructLayout(Runtime runtime)
Creates a new StructLayout. |
|
StructLayout(Runtime runtime,
int structSize)
|
|
Union(Runtime runtime)
|
|
| Uses of Runtime in jnr.ffi.byref |
|---|
| Methods in jnr.ffi.byref with parameters of type Runtime | |
|---|---|
void |
ShortByReference.fromNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the short value from native memory |
void |
PointerByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
|
void |
NumberByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
|
void |
NativeLongByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
Copies the long value from native memory |
void |
LongLongByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
Copies the value from native memory |
void |
IntByReference.fromNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the integer value from native memory |
void |
FloatByReference.fromNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the float value from native memory |
void |
DoubleByReference.fromNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the double value from native memory |
void |
ByteByReference.fromNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the Byte value from native memory |
void |
ByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
Copies the java value from native memory |
void |
AddressByReference.fromNative(Runtime runtime,
Pointer memory,
long offset)
Copies the address value from native memory |
int |
ShortByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
PointerByReference.nativeSize(Runtime runtime)
|
int |
NumberByReference.nativeSize(Runtime runtime)
|
int |
NativeLongByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
LongLongByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
IntByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference |
int |
FloatByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
DoubleByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
ByteByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
ByReference.nativeSize(Runtime runtime)
Gets the size of the native buffer required to store the value |
int |
AddressByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference |
void |
ShortByReference.toNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the short value to native memory |
void |
PointerByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
|
void |
NumberByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
|
void |
NativeLongByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
Copies the long value to native memory |
void |
LongLongByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
Copies the value to native memory |
void |
IntByReference.toNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the integer value to native memory |
void |
FloatByReference.toNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the float value to native memory |
void |
DoubleByReference.toNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the double value to native memory |
void |
ByteByReference.toNative(Runtime runtime,
Pointer buffer,
long offset)
Copies the Byte value to native memory |
void |
ByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
Copies the java value to native memory |
void |
AddressByReference.toNative(Runtime runtime,
Pointer memory,
long offset)
Copies the address value to native memory |
| Uses of Runtime in jnr.ffi.mapper |
|---|
| Methods in jnr.ffi.mapper that return Runtime | |
|---|---|
Runtime |
ToNativeContext.getRuntime()
Gets the Runtime used for the conversion. |
Runtime |
MethodResultContext.getRuntime()
|
Runtime |
MethodParameterContext.getRuntime()
|
Runtime |
FromNativeContext.getRuntime()
Gets the Runtime used for the conversion. |
| Constructors in jnr.ffi.mapper with parameters of type Runtime | |
|---|---|
MethodParameterContext(Runtime runtime,
Method method,
int parameterIndex)
|
|
MethodParameterContext(Runtime runtime,
Method method,
int parameterIndex,
Annotation[] annotationArray)
|
|
MethodParameterContext(Runtime runtime,
Method method,
int parameterIndex,
Collection<Annotation> annotations)
|
|
MethodResultContext(Runtime runtime,
Method method)
|
|
| Uses of Runtime in jnr.ffi.provider |
|---|
| Subclasses of Runtime in jnr.ffi.provider | |
|---|---|
class |
AbstractRuntime
|
| Methods in jnr.ffi.provider that return Runtime | |
|---|---|
Runtime |
LoadedLibrary.getRuntime()
|
abstract Runtime |
FFIProvider.getRuntime()
Gets the default Runtime for this provider |
| Methods in jnr.ffi.provider with parameters of type Runtime | |
|---|---|
static AbstractArrayMemoryIO.ArrayIO |
AbstractArrayMemoryIO.ArrayIO.getArrayIO(Runtime runtime)
|
| Constructors in jnr.ffi.provider with parameters of type Runtime | |
|---|---|
AbstractArrayMemoryIO(Runtime runtime,
byte[] buffer)
|
|
AbstractArrayMemoryIO(Runtime runtime,
byte[] buffer,
int offset,
int length)
|
|
AbstractArrayMemoryIO(Runtime runtime,
int size)
|
|
AbstractBufferMemoryIO(Runtime runtime,
ByteBuffer buffer,
long address)
|
|
AbstractMemoryIO(Runtime runtime,
long address,
boolean isDirect)
|
|
DefaultObjectReferenceManager(Runtime runtime)
|
|
InAccessibleMemoryIO(Runtime runtime,
long address,
boolean isDirect)
|
|
IntPointer(Runtime runtime,
int address)
|
|
IntPointer(Runtime runtime,
long address)
|
|
NullMemoryIO(Runtime runtime)
|
|
| Uses of Runtime in jnr.ffi.provider.converters |
|---|
| Fields in jnr.ffi.provider.converters declared as Runtime | |
|---|---|
protected Runtime |
StructArrayParameterConverter.runtime
|
protected Runtime |
Pointer64ArrayParameterConverter.runtime
|
protected Runtime |
Pointer32ArrayParameterConverter.runtime
|
| Constructors in jnr.ffi.provider.converters with parameters of type Runtime | |
|---|---|
Pointer32ArrayParameterConverter.Out(Runtime runtime,
int parameterFlags)
|
|
| Uses of Runtime in jnr.ffi.provider.jffi |
|---|
| Subclasses of Runtime in jnr.ffi.provider.jffi | |
|---|---|
class |
NativeRuntime
|
| Fields in jnr.ffi.provider.jffi declared as Runtime | |
|---|---|
protected Runtime |
NativeClosureProxy.runtime
|
protected Runtime |
AbstractAsmLibraryInterface.runtime
|
| Methods in jnr.ffi.provider.jffi that return Runtime | |
|---|---|
Runtime |
SimpleNativeContext.getRuntime()
|
Runtime |
Provider.getRuntime()
|
protected Runtime |
AsmStructByReferenceFromNativeConverter.getRuntime()
|
Runtime |
AbstractAsmLibraryInterface.getRuntime()
|
| Methods in jnr.ffi.provider.jffi with parameters of type Runtime | |
|---|---|
static jnr.ffi.provider.jffi.DirectMemoryIO |
TransientNativeMemory.allocate(Runtime runtime,
int size,
int align,
boolean clear)
|
FromNativeConverter<? extends Struct,Pointer> |
AsmStructByReferenceResultConverterCache.get(Runtime runtime,
Class<? extends Struct> structClass,
int flags)
|
static FromNativeConverter<?,Pointer> |
ClosureFromNativeConverter.getInstance(Runtime runtime,
SignatureType type,
jnr.ffi.provider.jffi.AsmClassLoader classLoader,
SignatureTypeMapper typeMapper)
|
boolean |
NativeRuntime.isCompatible(Runtime other)
|
static Pointer |
AsmRuntime.pointerValue(int ptr,
Runtime runtime)
|
static Pointer |
AsmRuntime.pointerValue(long ptr,
Runtime runtime)
|
| Constructors in jnr.ffi.provider.jffi with parameters of type Runtime | |
|---|---|
AbstractAsmLibraryInterface(Runtime runtime,
NativeLibrary library)
|
|
ArrayMemoryIO(Runtime runtime,
byte[] bytes,
int off,
int len)
|
|
ArrayMemoryIO(Runtime runtime,
int size)
|
|
AsmStructByReferenceFromNativeConverter(Runtime runtime,
int flags)
|
|
ByteBufferMemoryIO(Runtime runtime,
ByteBuffer buffer)
|
|
ClosureFromNativeConverter.AbstractClosurePointer(Runtime runtime,
long functionAddress)
|
|
ClosureFromNativeConverter.ProxyConverter(Runtime runtime,
Constructor closureConstructor,
Object[] initFields)
|
|
NativeClosureFactory(Runtime runtime,
com.kenai.jffi.CallContext callContext,
jnr.ffi.provider.jffi.NativeClosureProxy.Factory closureProxyFactory)
|
|
VariableAccessorGenerator(Runtime runtime)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||