Package | Description |
---|---|
jnr.ffi | |
jnr.ffi.provider | |
jnr.ffi.provider.jffi |
Modifier and Type | Class and Description |
---|---|
class |
StructLayout |
Modifier and Type | Field and Description |
---|---|
protected Type |
Struct.NumberField.type |
protected Type |
StructLayout.NumberField.type |
Modifier and Type | Method and Description |
---|---|
abstract Type |
Runtime.findType(NativeType type)
Looks up the runtime-specific type that corresponds to the pseudo-type
|
abstract Type |
Runtime.findType(TypeAlias type)
Looks up the runtime-specific type that corresponds to the type alias
|
Modifier and Type | Method and Description |
---|---|
protected int |
StructLayout.addField(Type t) |
protected int |
StructLayout.addField(Type t,
StructLayout.Offset offset) |
static Pointer |
Memory.allocate(Runtime runtime,
Type type)
Allocates a new block of java memory and wraps it in a
Pointer
accessor. |
abstract long |
Pointer.getInt(Type type,
long offset)
Reads an integer value of the given type, at the given offset.
|
abstract void |
Pointer.putInt(Type type,
long offset,
long value)
Writes an integer of a specific type, at the given offset.
|
Constructor and Description |
---|
AbstractField(Type type) |
AbstractField(Type type,
StructLayout.Offset offset) |
NumberField(Type type) |
NumberField(Type type,
StructLayout.Offset offset) |
Padding(Type type,
int length) |
Padding(Type type,
int length) |
Padding(Type type,
int length,
StructLayout.Offset offset) |
Modifier and Type | Class and Description |
---|---|
class |
BadType |
Modifier and Type | Field and Description |
---|---|
private Type[] |
AbstractRuntime.types |
Modifier and Type | Method and Description |
---|---|
Type |
InvalidRuntime.findType(NativeType type) |
Type |
AbstractRuntime.findType(NativeType type)
Looks up the runtime-specific that corresponds to the pseudo-type
|
Type |
InvalidRuntime.findType(TypeAlias type) |
Modifier and Type | Method and Description |
---|---|
long |
AbstractMemoryIO.getInt(Type type,
long offset) |
void |
AbstractMemoryIO.putInt(Type type,
long offset,
long value) |
Constructor and Description |
---|
AbstractRuntime(java.nio.ByteOrder byteOrder,
java.util.EnumMap<NativeType,Type> typeMap) |
Modifier and Type | Class and Description |
---|---|
private static class |
NativeRuntime.TypeDelegate |
Modifier and Type | Field and Description |
---|---|
private Type[] |
NativeRuntime.aliases |
Modifier and Type | Field and Description |
---|---|
private static java.lang.ref.Reference<java.util.Map<java.lang.Class,java.util.Map<java.util.Collection<java.lang.annotation.Annotation>,Type>>> |
Types.typeCacheReference |
Modifier and Type | Method and Description |
---|---|
Type |
NativeRuntime.findType(TypeAlias type) |
(package private) static Type |
Types.getType(Runtime runtime,
java.lang.Class javaType,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
private static Type |
NativeRuntime.jafflType(NativeType type) |
private static Type |
Types.lookupAliasedType(Runtime runtime,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
private static Type |
Types.lookupAndCacheType(Runtime runtime,
java.lang.Class javaType,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
(package private) static Type |
Types.lookupType(Runtime runtime,
java.lang.Class type,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
Modifier and Type | Method and Description |
---|---|
private static java.util.EnumMap<NativeType,Type> |
NativeRuntime.buildTypeMap() |
Modifier and Type | Method and Description |
---|---|
(package private) static NativeType |
InvokerUtil.nativeType(Type jnrType) |