|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Runtime | |
|---|---|
| jnr.ffi | |
| jnr.ffi.byref | |
| jnr.ffi.provider | |
| jnr.ffi.provider.jffi | |
| Uses of Runtime in jnr.ffi |
|---|
| Methods in jnr.ffi that return Runtime | |
|---|---|
Runtime |
StructLayout.getRuntime()
|
Runtime |
Struct.getRuntime()
|
abstract Runtime |
Pointer.getRuntime()
Gets the Runtime this Pointer instance belongs to. |
abstract Runtime |
FFIProvider.getRuntime()
Gets the default Runtime for this provider |
static Runtime |
Library.getRuntime(java.lang.Object obj)
|
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.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. |
|
static
|
Struct.arrayOf(Runtime runtime,
java.lang.Class<T> type,
int length)
|
|
static int |
LastError.getLastError(Runtime runtime)
Gets the value of errno from the last native call. |
|
static ObjectReferenceManager |
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,
java.nio.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 | |
|---|---|
Struct(Runtime runtime)
Creates a new Struct. |
|
StructLayout(Runtime runtime)
Creates a new StructLayout. |
|
Union(Runtime runtime)
|
|
| Uses of Runtime in jnr.ffi.byref |
|---|
| Methods in jnr.ffi.byref with parameters of type Runtime | |
|---|---|
int |
ShortByReference.nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
int |
PointerByReference.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 |
| 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()
|
Runtime |
AbstractMemoryIO.getRuntime()
|
| 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,
java.nio.ByteBuffer buffer)
|
|
AbstractMemoryIO(Runtime runtime)
|
|
DefaultObjectReferenceManager(Runtime runtime)
|
|
InAccessibleMemoryIO(Runtime runtime)
|
|
IntPointer(Runtime runtime,
int address)
|
|
IntPointer(Runtime runtime,
long address)
|
|
NullMemoryIO(Runtime runtime)
|
|
| Uses of Runtime in jnr.ffi.provider.jffi |
|---|
| Subclasses of Runtime in jnr.ffi.provider.jffi | |
|---|---|
class |
NativeRuntime
|
| Methods in jnr.ffi.provider.jffi that return Runtime | |
|---|---|
Runtime |
Provider.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)
|
| Constructors in jnr.ffi.provider.jffi with parameters of type Runtime | |
|---|---|
ArrayMemoryIO(Runtime runtime,
int size)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||