public abstract class Invoker extends Object
Modifier and Type | Method and Description |
---|---|
static Invoker |
getInstance()
Gets the Invoker singleton.
|
ObjectParameterInvoker |
getObjectParameterInvoker()
Gets the fast-path object parameter invoker.
|
void |
invoke(CallContext ctx,
long function,
long returnBuffer,
long[] parameters)
Invokes a function, with the parameters loaded into native memory buffers,
and the function result is stored in a native memory buffer.
|
void |
invoke(Function function,
long returnBuffer,
long[] parameters)
Invokes a function, with the parameters loaded into native memory buffers,
and the function result is stored in a native memory buffer.
|
abstract long |
invokeAddress(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a native memory address.
|
long |
invokeAddress(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a native memory address.
|
BigDecimal |
invokeBigDecimal(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit floating point value.
|
BigDecimal |
invokeBigDecimal(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit floating point value.
|
double |
invokeDouble(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit floating point value.
|
double |
invokeDouble(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit floating point value.
|
float |
invokeFloat(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 32 bit floating point value.
|
float |
invokeFloat(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 32 bit floating point value.
|
int |
invokeI0(CallContext context,
long function)
Invokes a function with no arguments, and returns a 32 bit integer.
|
int |
invokeI0NoErrno(CallContext context,
long function) |
int |
invokeI1(CallContext context,
long function,
int arg1)
Invokes a function with one integer argument, and returns a 32 bit integer.
|
int |
invokeI1NoErrno(CallContext context,
long function,
int arg1) |
int |
invokeI2(CallContext context,
long function,
int arg1,
int arg2)
Invokes a function with two integer arguments, and returns a 32 bit integer.
|
int |
invokeI2NoErrno(CallContext context,
long function,
int arg1,
int arg2) |
int |
invokeI3(CallContext context,
long function,
int arg1,
int arg2,
int arg3)
Invokes a function with three integer arguments, and returns a 32 bit integer.
|
int |
invokeI3NoErrno(CallContext context,
long function,
int arg1,
int arg2,
int arg3) |
int |
invokeI4(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4)
Invokes a function with four integer arguments, and returns a 32 bit integer.
|
int |
invokeI4NoErrno(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4) |
int |
invokeI5(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5)
Invokes a function with five integer arguments, and returns a 32 bit integer.
|
int |
invokeI5NoErrno(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5) |
int |
invokeI6(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6)
Invokes a function with six integer arguments, and returns a 32 bit integer.
|
int |
invokeI6NoErrno(CallContext context,
long function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6) |
int |
invokeIIIIIIrI(Function function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6)
Deprecated.
|
int |
invokeIIIIIrI(Function function,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5)
Deprecated.
|
int |
invokeIIIIrI(Function function,
int arg1,
int arg2,
int arg3,
int arg4)
Deprecated.
|
int |
invokeIIIrI(Function function,
int arg1,
int arg2,
int arg3)
Deprecated.
|
int |
invokeIIrI(Function function,
int arg1,
int arg2)
Deprecated.
|
int |
invokeInt(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 32 bit integer value.
|
int |
invokeInt(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 32 bit integer value.
|
int |
invokeIrI(Function function,
int arg1)
Deprecated.
|
long |
invokeL0(CallContext context,
long function)
Invokes a function with no arguments, and returns a 64 bit integer.
|
long |
invokeL0NoErrno(CallContext context,
long function) |
long |
invokeL1(CallContext context,
long function,
long arg1)
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.
|
long |
invokeL1NoErrno(CallContext context,
long function,
long arg1) |
long |
invokeL2(CallContext context,
long function,
long arg1,
long arg2)
Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeL2NoErrno(CallContext context,
long function,
long arg1,
long arg2) |
long |
invokeL3(CallContext context,
long function,
long arg1,
long arg2,
long arg3)
Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeL3NoErrno(CallContext context,
long function,
long arg1,
long arg2,
long arg3) |
long |
invokeL4(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4)
Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeL4NoErrno(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4) |
long |
invokeL5(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5)
Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeL5NoErrno(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5) |
long |
invokeL6(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5,
long arg6)
Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeL6NoErrno(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5,
long arg6) |
long |
invokeLLLLLLrL(Function function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5,
long arg6)
Invokes a function with six 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeLLLLLrL(Function function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5)
Invokes a function with five 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeLLLLrL(Function function,
long arg1,
long arg2,
long arg3,
long arg4)
Invokes a function with four 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeLLLrL(Function function,
long arg1,
long arg2,
long arg3)
Invokes a function with three 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeLLrL(Function function,
long arg1,
long arg2)
Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.
|
long |
invokeLong(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit integer value.
|
long |
invokeLong(Function function,
HeapInvocationBuffer buffer)
Invokes a function and returns a 64 bit integer value.
|
long |
invokeLrL(Function function,
long arg1)
Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.
|
long |
invokeN0(CallContext context,
long function)
Invokes a function with no arguments, and returns a numeric value.
|
long |
invokeN1(CallContext context,
long function,
long arg1)
Invokes a function with one numeric argument, and returns a numeric value.
|
long |
invokeN1(CallContext ctx,
long function,
long n1,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN1O1(CallContext ctx,
long function,
long n1,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN2(CallContext context,
long function,
long arg1,
long arg2)
Invokes a function with two numeric arguments, and returns a numeric value.
|
long |
invokeN2(CallContext ctx,
long function,
long n1,
long n2,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN2(CallContext ctx,
long function,
long n1,
long n2,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN2O1(CallContext ctx,
long function,
long n1,
long n2,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN2O2(CallContext ctx,
long function,
long n1,
long n2,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN3(CallContext context,
long function,
long arg1,
long arg2,
long arg3)
Invokes a function with three numeric arguments, and returns a numeric value.
|
long |
invokeN3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN3O1(CallContext ctx,
long function,
long n1,
long n2,
long n3,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN3O2(CallContext ctx,
long function,
long n1,
long n2,
long n3,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN3O3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN4(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4)
Invokes a function with four numeric arguments, and returns a numeric value.
|
long |
invokeN4(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN4(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN4(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN4(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info) |
long |
invokeN4O1(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN4O2(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN4O3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN5(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5)
Invokes a function with five numeric arguments, and returns a numeric value.
|
long |
invokeN5(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN5(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN5(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN5(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info) |
long |
invokeN5(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info,
Object o5,
ObjectParameterStrategy s5,
ObjectParameterInfo o5info) |
long |
invokeN5O1(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN5O2(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN5O3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN6(CallContext context,
long function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5,
long arg6)
Invokes a function with six numeric arguments, and returns a numeric value.
|
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info) |
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info,
Object o5,
ObjectParameterStrategy s5,
ObjectParameterInfo o5info) |
long |
invokeN6(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
int objCount,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info,
Object o4,
ObjectParameterStrategy s4,
ObjectParameterInfo o4info,
Object o5,
ObjectParameterStrategy s5,
ObjectParameterInfo o5info,
Object o6,
ObjectParameterStrategy s6,
ObjectParameterInfo o6info) |
long |
invokeN6O1(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info) |
long |
invokeN6O2(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info) |
long |
invokeN6O3(CallContext ctx,
long function,
long n1,
long n2,
long n3,
long n4,
long n5,
long n6,
Object o1,
ObjectParameterStrategy s1,
ObjectParameterInfo o1info,
Object o2,
ObjectParameterStrategy s2,
ObjectParameterInfo o2info,
Object o3,
ObjectParameterStrategy s3,
ObjectParameterInfo o3info) |
long |
invokeNNNNNNrN(Function function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5,
long arg6)
Invokes a function with six numeric arguments, and returns a numeric value.
|
long |
invokeNNNNNrN(Function function,
long arg1,
long arg2,
long arg3,
long arg4,
long arg5)
Invokes a function with five numeric arguments, and returns a numeric value.
|
long |
invokeNNNNrN(Function function,
long arg1,
long arg2,
long arg3,
long arg4)
Invokes a function with four numeric arguments, and returns a numeric value.
|
long |
invokeNNNO1rN(Function function,
long n1,
long n2,
long n3,
Object o1,
int o1off,
int o1len,
ObjectParameterInfo o1flags)
Deprecated.
|
long |
invokeNNNO2rN(Function function,
long n1,
long n2,
long n3,
Object o1,
int o1off,
int o1len,
ObjectParameterInfo o1flags,
Object o2,
int o2off,
int o2len,
ObjectParameterInfo o2flags)
Deprecated.
|
long |
invokeNNNrN(Function function,
long arg1,
long arg2,
long arg3)
Invokes a function with three numeric arguments, and returns a numeric value.
|
long |
invokeNNO1rN(Function function,
long n1,
long n2,
Object o1,
int o1off,
int o1len,
ObjectParameterInfo o1flags)
Deprecated.
|
long |
invokeNNO2rN(Function function,
long n1,
long n2,
Object o1,
int o1off,
int o1len,
ObjectParameterInfo o1flags,
Object o2,
int o2off,
int o2len,
ObjectParameterInfo o2flags)
Deprecated.
|
long |
invokeNNrN(Function function,
long arg1,
long arg2)
Invokes a function with two numeric arguments, and returns a numeric value.
|
int |
invokeNoErrnoIIIrI(Function function,
int arg1,
int arg2,
int arg3)
Deprecated.
|
int |
invokeNoErrnoIIrI(Function function,
int arg1,
int arg2)
Deprecated.
|
int |
invokeNoErrnoIrI(Function function,
int arg1)
Deprecated.
|
int |
invokeNoErrnoVrI(Function function)
Deprecated.
|
long |
invokeNrN(Function function,
long arg1)
Invokes a function with one numeric argument, and returns a numeric value.
|
Object |
invokeObject(Function function,
HeapInvocationBuffer buffer) |
byte[] |
invokeStruct(CallContext ctx,
long function,
HeapInvocationBuffer buffer)
Invokes a function that returns a C struct by value.
|
void |
invokeStruct(CallContext ctx,
long function,
HeapInvocationBuffer buffer,
byte[] returnBuffer,
int offset)
Invokes a function that returns a C struct by value.
|
byte[] |
invokeStruct(Function function,
HeapInvocationBuffer buffer)
Invokes a function that returns a C struct by value.
|
void |
invokeStruct(Function function,
HeapInvocationBuffer buffer,
byte[] returnBuffer,
int offset)
Invokes a function that returns a C struct by value.
|
int |
invokeVrI(Function function)
Deprecated.
|
long |
invokeVrL(Function function)
Invokes a function with no arguments, and returns a 64 bit integer.
|
long |
invokeVrN(Function function)
Invokes a function with no arguments, and returns a numeric value.
|
public static Invoker getInstance()
public final ObjectParameterInvoker getObjectParameterInvoker()
ObjectParameterInvoker
public final int invokeI0(CallContext context, long function)
context
- The function
- Address of the native function to invoke.public final int invokeI1(CallContext context, long function, int arg1)
context
- The function
- Address of the native function to invoke.arg1
- A 32 bit integer argument.public final int invokeI2(CallContext context, long function, int arg1, int arg2)
context
- The function
- Address of the native function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.public final int invokeI3(CallContext context, long function, int arg1, int arg2, int arg3)
context
- The function
- Address of the native function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.public final int invokeI4(CallContext context, long function, int arg1, int arg2, int arg3, int arg4)
context
- The function
- Address of the native function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.public final int invokeI5(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5)
context
- The function
- Address of the native function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.arg5
- The fifth 32 bit integer argument.public final int invokeI6(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
context
- The function
- Address of the native function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.arg5
- The fifth 32 bit integer argument.arg6
- The sixth 32 bit integer argument.public final int invokeI0NoErrno(CallContext context, long function)
public final int invokeI1NoErrno(CallContext context, long function, int arg1)
public final int invokeI2NoErrno(CallContext context, long function, int arg1, int arg2)
public final int invokeI3NoErrno(CallContext context, long function, int arg1, int arg2, int arg3)
public final int invokeI4NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4)
public final int invokeI5NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5)
public final int invokeI6NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
@Deprecated public final int invokeVrI(Function function)
function
- The Function to invoke.@Deprecated public final int invokeNoErrnoVrI(Function function)
function
- The Function to invoke.@Deprecated public final int invokeIrI(Function function, int arg1)
function
- The Function to invoke.arg1
- A 32 bit integer argument.@Deprecated public final int invokeNoErrnoIrI(Function function, int arg1)
function
- The Function to invoke.arg1
- A 32 bit integer argument.@Deprecated public final int invokeIIrI(Function function, int arg1, int arg2)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.@Deprecated public final int invokeNoErrnoIIrI(Function function, int arg1, int arg2)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.@Deprecated public final int invokeIIIrI(Function function, int arg1, int arg2, int arg3)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.@Deprecated public final int invokeNoErrnoIIIrI(Function function, int arg1, int arg2, int arg3)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.@Deprecated public final int invokeIIIIrI(Function function, int arg1, int arg2, int arg3, int arg4)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.@Deprecated public final int invokeIIIIIrI(Function function, int arg1, int arg2, int arg3, int arg4, int arg5)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.arg5
- The fifth 32 bit integer argument.@Deprecated public final int invokeIIIIIIrI(Function function, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
function
- The Function to invoke.arg1
- The first 32 bit integer argument.arg2
- The second 32 bit integer argument.arg3
- The third 32 bit integer argument.arg4
- The fourth 32 bit integer argument.arg5
- The fifth 32 bit integer argument.arg6
- The sixth 32 bit integer argument.public final long invokeL0(CallContext context, long function)
context
- The function
- Address of the native function to invoke.public final long invokeL1(CallContext context, long function, long arg1)
context
- The function
- Address of the native function to invoke.arg1
- The 64 bit integer argument.public final long invokeL2(CallContext context, long function, long arg1, long arg2)
context
- The function
- Address of the native function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.public final long invokeL3(CallContext context, long function, long arg1, long arg2, long arg3)
context
- The function
- Address of the native function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.public final long invokeL4(CallContext context, long function, long arg1, long arg2, long arg3, long arg4)
context
- The function
- Address of the native function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.public final long invokeL5(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5)
context
- The function
- Address of the native function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.arg5
- The fifth 64 bit integer argument.public final long invokeL6(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6)
context
- The function
- Address of the native function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.arg5
- The fifth 64 bit integer argument.arg6
- The sixth 64 bit integer argument.public final long invokeL0NoErrno(CallContext context, long function)
public final long invokeL1NoErrno(CallContext context, long function, long arg1)
public final long invokeL2NoErrno(CallContext context, long function, long arg1, long arg2)
public final long invokeL3NoErrno(CallContext context, long function, long arg1, long arg2, long arg3)
public final long invokeL4NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4)
public final long invokeL5NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5)
public final long invokeL6NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6)
public final long invokeVrL(Function function)
function
- The Function to invoke.public final long invokeLrL(Function function, long arg1)
function
- The Function to invoke.arg1
- The 64 bit integer argument.public final long invokeLLrL(Function function, long arg1, long arg2)
function
- The Function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.public final long invokeLLLrL(Function function, long arg1, long arg2, long arg3)
function
- The Function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.public final long invokeLLLLrL(Function function, long arg1, long arg2, long arg3, long arg4)
function
- The Function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.public final long invokeLLLLLrL(Function function, long arg1, long arg2, long arg3, long arg4, long arg5)
function
- The Function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.arg5
- The fifth 64 bit integer argument.public final long invokeLLLLLLrL(Function function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6)
function
- The Function to invoke.arg1
- The first 64 bit integer argument.arg2
- The second 64 bit integer argument.arg3
- The third 64 bit integer argument.arg4
- The fourth 64 bit integer argument.arg5
- The fifth 64 bit integer argument.arg6
- The sixth 64 bit integer argument.public final long invokeN0(CallContext context, long function)
context
- The function
- Address of the native function to invoke.public final long invokeN1(CallContext context, long function, long arg1)
context
- The function
- Address of the native function to invoke.arg1
- The numeric argument.public final long invokeN2(CallContext context, long function, long arg1, long arg2)
context
- The function
- Address of the native function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.public final long invokeN3(CallContext context, long function, long arg1, long arg2, long arg3)
context
- The function
- Address of the native function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.public final long invokeN4(CallContext context, long function, long arg1, long arg2, long arg3, long arg4)
context
- The function
- Address of the native function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.public final long invokeN5(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5)
context
- The function
- Address of the native function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.arg5
- The fifth numeric argument.public final long invokeN6(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6)
context
- The function
- Address of the native function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.arg5
- The fifth numeric argument.arg6
- The sixth numeric argument.public final long invokeVrN(Function function)
function
- The Function to invoke.public final long invokeNrN(Function function, long arg1)
function
- The Function to invoke.arg1
- The numeric argument.public final long invokeNNrN(Function function, long arg1, long arg2)
function
- The Function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.public final long invokeNNNrN(Function function, long arg1, long arg2, long arg3)
function
- The Function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.public final long invokeNNNNrN(Function function, long arg1, long arg2, long arg3, long arg4)
function
- The Function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.public final long invokeNNNNNrN(Function function, long arg1, long arg2, long arg3, long arg4, long arg5)
function
- The Function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.arg5
- The fifth numeric argument.public final long invokeNNNNNNrN(Function function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6)
function
- The Function to invoke.arg1
- The first numeric argument.arg2
- The second numeric argument.arg3
- The third numeric argument.arg4
- The fourth numeric argument.arg5
- The fifth numeric argument.arg6
- The sixth numeric argument.@Deprecated public final long invokeNNO1rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
function
- The Function to invoke.n1
- first numeric argument.n2
- second numeric argument.o1
- array or buffer, to be passed as a pointer for the first numeric parameter.o1off
- offset from the start of the array pr buffer.o1len
- length of the array to use.o1flags
- object flags (type, direction, parameter index).@Deprecated public final long invokeNNO2rN(Function function, long n1, long n2, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
function
- The Function to invoke.n1
- first numeric argument.n2
- second numeric argument.o1
- array or buffer, to be passed as a pointer for the first numeric parameter.o1off
- offset from the start of the array pr buffer.o1len
- length of the array to use.o1flags
- object flags (type, direction, parameter index).@Deprecated public final long invokeNNNO1rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags)
function
- The Function to invoke.@Deprecated public final long invokeNNNO2rN(Function function, long n1, long n2, long n3, Object o1, int o1off, int o1len, ObjectParameterInfo o1flags, Object o2, int o2off, int o2len, ObjectParameterInfo o2flags)
function
- The Function to invoke.public final long invokeN1O1(CallContext ctx, long function, long n1, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN2O1(CallContext ctx, long function, long n1, long n2, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN2O2(CallContext ctx, long function, long n1, long n2, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN3O1(CallContext ctx, long function, long n1, long n2, long n3, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN3O2(CallContext ctx, long function, long n1, long n2, long n3, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN3O3(CallContext ctx, long function, long n1, long n2, long n3, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN4O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN4O2(CallContext ctx, long function, long n1, long n2, long n3, long n4, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN4O3(CallContext ctx, long function, long n1, long n2, long n3, long n4, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN5O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN5O2(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN5O3(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN6O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN6O2(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN6O3(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN1(CallContext ctx, long function, long n1, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN2(CallContext ctx, long function, long n1, long n2, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN2(CallContext ctx, long function, long n1, long n2, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN3(CallContext ctx, long function, long n1, long n2, long n3, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN3(CallContext ctx, long function, long n1, long n2, long n3, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN3(CallContext ctx, long function, long n1, long n2, long n3, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN4(CallContext ctx, long function, long n1, long n2, long n3, long n4, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN4(CallContext ctx, long function, long n1, long n2, long n3, long n4, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN4(CallContext ctx, long function, long n1, long n2, long n3, long n4, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN4(CallContext ctx, long function, long n1, long n2, long n3, long n4, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info)
public final long invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info)
public final long invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info, Object o5, ObjectParameterStrategy s5, ObjectParameterInfo o5info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info, Object o5, ObjectParameterStrategy s5, ObjectParameterInfo o5info)
public final long invokeN6(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info, Object o3, ObjectParameterStrategy s3, ObjectParameterInfo o3info, Object o4, ObjectParameterStrategy s4, ObjectParameterInfo o4info, Object o5, ObjectParameterStrategy s5, ObjectParameterInfo o5info, Object o6, ObjectParameterStrategy s6, ObjectParameterInfo o6info)
public long invokeAddress(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public abstract long invokeAddress(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- A buffer containing the arguments to the function.public final int invokeInt(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final int invokeInt(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- A buffer containing the arguments to the function.public final long invokeLong(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final long invokeLong(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- A buffer containing the arguments to the function.public final float invokeFloat(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final float invokeFloat(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- A buffer containing the arguments to the function.public final double invokeDouble(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final double invokeDouble(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context describing how to call the native function.function
- The address of the native function to invoke.buffer
- A buffer containing the arguments to the function.public final BigDecimal invokeBigDecimal(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final BigDecimal invokeBigDecimal(CallContext ctx, long function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- A buffer containing the arguments to the function.public final byte[] invokeStruct(Function function, HeapInvocationBuffer buffer)
function
- The Function to invoke.buffer
- The parameter buffer.public final byte[] invokeStruct(CallContext ctx, long function, HeapInvocationBuffer buffer)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- The parameter buffer.public final void invokeStruct(Function function, HeapInvocationBuffer buffer, byte[] returnBuffer, int offset)
function
- The Function to invoke.buffer
- The parameter buffer.returnBuffer
- The output buffer to place the return value in.offset
- The offset within returnBuffer to place the return value.public final void invokeStruct(CallContext ctx, long function, HeapInvocationBuffer buffer, byte[] returnBuffer, int offset)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.buffer
- The parameter buffer.returnBuffer
- The output buffer to place the return value in.offset
- The offset within returnBuffer to place the return value.public final Object invokeObject(Function function, HeapInvocationBuffer buffer)
public final void invoke(Function function, long returnBuffer, long[] parameters)
function
- The Function to invoke.returnBuffer
- The address of the native buffer to place the result
of the function call in.parameters
- An array of addresses of the function parameters.public final void invoke(CallContext ctx, long function, long returnBuffer, long[] parameters)
ctx
- The call context which describes how to call the native function.function
- The address of the native function to invoke.returnBuffer
- The address of the native buffer to place the result
of the function call in.parameters
- An array of addresses of the function parameters.Copyright © 2016. All Rights Reserved.