Package org.jruby.ext.ffi.jffi
Class JITRuntime
java.lang.Object
org.jruby.ext.ffi.jffi.JITRuntime
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
boolValue
(IRubyObject parameter) static int
boolValue32
(IRubyObject parameter) static long
boolValue64
(IRubyObject parameter) static IRubyObject
convert2ptr
(ThreadContext context, IRubyObject parameter) static MemoryIO
convertToPointerMemoryIO
(ThreadContext context, IRubyObject parameter, CachingCallSite callSite) static MemoryIO
convertToStringMemoryIO
(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) static MemoryIO
convertToTransientStringMemoryIO
(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) static int
f32Value32
(IRubyObject parameter) static long
f32Value64
(IRubyObject parameter) static long
f64Value64
(IRubyObject parameter) static DynamicMethod
getConversionMethod
(IRubyObject parameter, CachingCallSite callSite) static PointerParameterStrategy
getMemoryIOStrategy
(MemoryIO memory) static MemoryIO
getPointerMemoryIO
(IRubyObject parameter) static boolean
isDirectPointer
(IRubyObject parameter) static boolean
isTrue
(boolean p1) static boolean
isTrue
(boolean p1, boolean p2) static boolean
isTrue
(boolean p1, boolean p2, boolean p3) static boolean
isTrue
(boolean p1, boolean p2, boolean p3, boolean p4) static boolean
isTrue
(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5) static boolean
isTrue
(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5, boolean p6) static MemoryIO
lookupPointerMemoryIO
(IRubyObject parameter) static PointerParameterStrategy
lookupPointerParameterStrategy
(IRubyObject parameter) static RuntimeException
newArityError
(ThreadContext context, int got, int expected) static IRubyObject
newBoolean
(Ruby runtime, int value) static IRubyObject
newBoolean
(Ruby runtime, long value) static IRubyObject
newBoolean
(ThreadContext context, int value) static IRubyObject
newBoolean
(ThreadContext context, long value) static IRubyObject
newFloat32
(Ruby runtime, int value) Deprecated.static IRubyObject
newFloat32
(Ruby runtime, long value) Deprecated.static IRubyObject
newFloat32
(ThreadContext context, int value) static IRubyObject
newFloat32
(ThreadContext context, long value) static IRubyObject
newFloat64
(Ruby runtime, long value) Deprecated.static IRubyObject
newFloat64
(ThreadContext context, long value) static IRubyObject
Deprecated.static IRubyObject
Deprecated.static IRubyObject
newNil
(ThreadContext context, int ignored) static IRubyObject
newNil
(ThreadContext context, long ignored) static IRubyObject
newPointer32
(Ruby runtime, int address) static IRubyObject
newPointer32
(Ruby runtime, long address) static IRubyObject
newPointer32
(ThreadContext context, int address) static IRubyObject
newPointer32
(ThreadContext context, long address) static IRubyObject
newPointer64
(Ruby runtime, long address) static IRubyObject
newPointer64
(ThreadContext context, long address) static IRubyObject
newSigned16
(Ruby runtime, int value) Deprecated.static IRubyObject
newSigned16
(Ruby runtime, long value) Deprecated.static IRubyObject
newSigned16
(ThreadContext context, int value) static IRubyObject
newSigned16
(ThreadContext context, long value) static IRubyObject
newSigned32
(Ruby runtime, int value) Deprecated.static IRubyObject
newSigned32
(Ruby runtime, long value) Deprecated.static IRubyObject
newSigned32
(ThreadContext context, int value) static IRubyObject
newSigned32
(ThreadContext context, long value) static IRubyObject
newSigned64
(Ruby runtime, long value) Deprecated.static IRubyObject
newSigned64
(ThreadContext context, long value) static IRubyObject
newSigned8
(Ruby runtime, int value) Deprecated.static IRubyObject
newSigned8
(Ruby runtime, long value) Deprecated.static IRubyObject
newSigned8
(ThreadContext context, int value) static IRubyObject
newSigned8
(ThreadContext context, long value) static IRubyObject
static IRubyObject
static IRubyObject
newString
(ThreadContext context, int address) static IRubyObject
newString
(ThreadContext context, long address) static IRubyObject
newUnsigned16
(Ruby runtime, int value) Deprecated.static IRubyObject
newUnsigned16
(Ruby runtime, long value) Deprecated.static IRubyObject
newUnsigned16
(ThreadContext context, int value) static IRubyObject
newUnsigned16
(ThreadContext context, long value) static IRubyObject
newUnsigned32
(Ruby runtime, int value) static IRubyObject
newUnsigned32
(Ruby runtime, long value) Deprecated.static IRubyObject
newUnsigned32
(ThreadContext context, int value) static IRubyObject
newUnsigned32
(ThreadContext context, long value) static IRubyObject
newUnsigned64
(Ruby runtime, long value) Deprecated.static IRubyObject
newUnsigned64
(ThreadContext context, long value) static IRubyObject
newUnsigned8
(Ruby runtime, int value) Deprecated.static IRubyObject
newUnsigned8
(Ruby runtime, long value) Deprecated.static IRubyObject
newUnsigned8
(ThreadContext context, int value) static IRubyObject
newUnsigned8
(ThreadContext context, long value) static long
other2long
(IRubyObject parameter) static IRubyObject
other2ptr
(ThreadContext context, IRubyObject parameter) static long
other2u64
(IRubyObject parameter) static PointerParameterStrategy
pointerParameterStrategy
(IRubyObject parameter) static int
pointerValue32
(IRubyObject parameter) static long
pointerValue64
(IRubyObject parameter) static int
s16Value32
(IRubyObject parameter) static long
s16Value64
(IRubyObject parameter) static int
s32Value32
(IRubyObject parameter) static long
s32Value64
(IRubyObject parameter) static long
s64Value64
(IRubyObject parameter) static int
s8Value32
(IRubyObject parameter) static long
s8Value64
(IRubyObject parameter) static PointerParameterStrategy
stringParameterStrategy
(IRubyObject parameter) static PointerParameterStrategy
transientStringParameterStrategy
(IRubyObject parameter) static int
u16Value32
(IRubyObject parameter) static long
u16Value64
(IRubyObject parameter) static int
u32Value32
(IRubyObject parameter) static long
u32Value64
(IRubyObject parameter) static long
u64Value64
(IRubyObject parameter) static int
u8Value32
(IRubyObject parameter) static long
u8Value64
(IRubyObject parameter)
-
Method Details
-
newArityError
-
other2long
-
s8Value32
-
s8Value64
-
u8Value32
-
u8Value64
-
s16Value32
-
s16Value64
-
u16Value32
-
u16Value64
-
s32Value32
-
s32Value64
-
u32Value32
-
u32Value64
-
s64Value64
-
other2u64
-
u64Value64
-
f32Value32
-
f32Value64
-
f64Value64
-
boolValue32
-
boolValue64
-
boolValue
-
other2ptr
-
convert2ptr
-
newSigned8
-
newSigned8
Deprecated. -
newSigned8
-
newSigned8
Deprecated. -
newUnsigned8
-
newUnsigned8
Deprecated. -
newUnsigned8
-
newUnsigned8
Deprecated. -
newSigned16
-
newSigned16
Deprecated. -
newSigned16
-
newSigned16
Deprecated. -
newUnsigned16
-
newUnsigned16
Deprecated. -
newUnsigned16
-
newUnsigned16
Deprecated. -
newSigned32
-
newSigned32
Deprecated. -
newSigned32
-
newSigned32
Deprecated. -
newUnsigned32
-
newUnsigned32
-
newUnsigned32
-
newUnsigned32
Deprecated. -
newSigned64
-
newSigned64
Deprecated. -
newUnsigned64
-
newUnsigned64
Deprecated. -
newNil
-
newNil
Deprecated. -
newNil
-
newNil
Deprecated. -
newPointer32
-
newPointer32
-
newPointer32
-
newPointer32
-
newPointer64
-
newPointer64
-
newString
-
newString
-
newString
-
newString
-
newBoolean
-
newBoolean
-
newBoolean
-
newBoolean
-
newFloat32
-
newFloat32
Deprecated. -
newFloat32
-
newFloat32
Deprecated. -
newFloat64
-
newFloat64
Deprecated. -
lookupPointerParameterStrategy
-
lookupPointerMemoryIO
-
getPointerMemoryIO
-
convertToStringMemoryIO
public static MemoryIO convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) -
convertToTransientStringMemoryIO
public static MemoryIO convertToTransientStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) -
getMemoryIOStrategy
-
pointerParameterStrategy
-
stringParameterStrategy
-
transientStringParameterStrategy
-
convertToPointerMemoryIO
public static MemoryIO convertToPointerMemoryIO(ThreadContext context, IRubyObject parameter, CachingCallSite callSite) -
getConversionMethod
-
isDirectPointer
-
pointerValue32
-
pointerValue64
-
isTrue
public static boolean isTrue(boolean p1) -
isTrue
public static boolean isTrue(boolean p1, boolean p2) -
isTrue
public static boolean isTrue(boolean p1, boolean p2, boolean p3) -
isTrue
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4) -
isTrue
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5) -
isTrue
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5, boolean p6)
-