Uses of Class
com.kenai.jffi.CallContext
Packages that use CallContext
-
Uses of CallContext in com.kenai.jffi
Methods in com.kenai.jffi that return CallContextModifier and TypeMethodDescriptionstatic CallContextCallContext.getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) static CallContextCallContext.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) Returns aCallContextinstance.static CallContextCallContext.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) final CallContextCallContextCache.getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) final CallContextCallContextCache.getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) final CallContextCallContextCache.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention) final CallContextCallContextCache.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) final CallContextCallContextCache.getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) final CallContextFunction.getCallContext()Methods in com.kenai.jffi with parameters of type CallContextModifier and TypeMethodDescriptionfinal ClosurePoolClosureManager.getClosurePool(CallContext callContext) static InvokeDynamicSupport.InvokerInvokeDynamicSupport.getFastNumericInvoker(CallContext callContext, long function) final voidInvoker.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.abstract longInvoker.invokeAddress(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a native memory address.final BigDecimalInvoker.invokeBigDecimal(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit floating point value.final doubleInvoker.invokeDouble(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit floating point value.final floatInvoker.invokeFloat(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a 32 bit floating point value.final intInvoker.invokeI0(CallContext context, long function) Invokes a function with no arguments, and returns a 32 bit integer.final intInvoker.invokeI0NoErrno(CallContext context, long function) final intInvoker.invokeI1(CallContext context, long function, int arg1) Invokes a function with one integer argument, and returns a 32 bit integer.final intInvoker.invokeI1NoErrno(CallContext context, long function, int arg1) final intInvoker.invokeI2(CallContext context, long function, int arg1, int arg2) Invokes a function with two integer arguments, and returns a 32 bit integer.final intInvoker.invokeI2NoErrno(CallContext context, long function, int arg1, int arg2) final intInvoker.invokeI3(CallContext context, long function, int arg1, int arg2, int arg3) Invokes a function with three integer arguments, and returns a 32 bit integer.final intInvoker.invokeI3NoErrno(CallContext context, long function, int arg1, int arg2, int arg3) final intInvoker.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.final intInvoker.invokeI4NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4) final intInvoker.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.final intInvoker.invokeI5NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5) final intInvoker.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.final intInvoker.invokeI6NoErrno(CallContext context, long function, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) final intInvoker.invokeInt(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a 32 bit integer value.final longInvoker.invokeL0(CallContext context, long function) Invokes a function with no arguments, and returns a 64 bit integer.final longInvoker.invokeL0NoErrno(CallContext context, long function) final longInvoker.invokeL1(CallContext context, long function, long arg1) Invokes a function with one 64 bit integer argument, and returns a 64 bit integer.final longInvoker.invokeL1NoErrno(CallContext context, long function, long arg1) final longInvoker.invokeL2(CallContext context, long function, long arg1, long arg2) Invokes a function with two 64 bit integer arguments, and returns a 64 bit integer.final longInvoker.invokeL2NoErrno(CallContext context, long function, long arg1, long arg2) final longInvoker.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.final longInvoker.invokeL3NoErrno(CallContext context, long function, long arg1, long arg2, long arg3) final longInvoker.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.final longInvoker.invokeL4NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4) final longInvoker.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.final longInvoker.invokeL5NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5) final longInvoker.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.final longInvoker.invokeL6NoErrno(CallContext context, long function, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6) final longInvoker.invokeLong(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function and returns a 64 bit integer value.final longInvoker.invokeN0(CallContext context, long function) Invokes a function with no arguments, and returns a numeric value.final longInvoker.invokeN1(CallContext context, long function, long arg1) Invokes a function with one numeric argument, and returns a numeric value.final longInvoker.invokeN1(CallContext ctx, long function, long n1, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.invokeN1O1(CallContext ctx, long function, long n1, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.invokeN2(CallContext context, long function, long arg1, long arg2) Invokes a function with two numeric arguments, and returns a numeric value.final longInvoker.invokeN2(CallContext ctx, long function, long n1, long n2, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.invokeN2(CallContext ctx, long function, long n1, long n2, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info) final longInvoker.invokeN2O1(CallContext ctx, long function, long n1, long n2, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.invokeN2O2(CallContext ctx, long function, long n1, long n2, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info) final longInvoker.invokeN3(CallContext context, long function, long arg1, long arg2, long arg3) Invokes a function with three numeric arguments, and returns a numeric value.final longInvoker.invokeN3(CallContext ctx, long function, long n1, long n2, long n3, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final longInvoker.invokeN3O1(CallContext ctx, long function, long n1, long n2, long n3, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.invokeN3O2(CallContext ctx, long function, long n1, long n2, long n3, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info, Object o2, ObjectParameterStrategy s2, ObjectParameterInfo o2info) final longInvoker.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) final longInvoker.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.final longInvoker.invokeN4(CallContext ctx, long function, long n1, long n2, long n3, long n4, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.invokeN4O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final longInvoker.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.final longInvoker.invokeN5(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, int objCount, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.invokeN5O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final longInvoker.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.final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.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) final longInvoker.invokeN6O1(CallContext ctx, long function, long n1, long n2, long n3, long n4, long n5, long n6, Object o1, ObjectParameterStrategy s1, ObjectParameterInfo o1info) final longInvoker.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) final longInvoker.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) final byte[]Invoker.invokeStruct(CallContext ctx, long function, HeapInvocationBuffer buffer) Invokes a function that returns a C struct by value.final voidInvoker.invokeStruct(CallContext ctx, long function, HeapInvocationBuffer buffer, byte[] returnBuffer, int offset) Invokes a function that returns a C struct by value.final Closure.HandleClosureManager.newClosure(Closure closure, CallContext callContext) Wraps a java object that implements theClosureinterface in a native closure.ClosureManager.newClosureMagazine(CallContext callContext, Method method) Constructors in com.kenai.jffi with parameters of type CallContextModifierConstructorDescriptionFunction(long address, CallContext callContext) Creates a new instance ofFunctionwith default calling convention.HeapInvocationBuffer(CallContext callContext) Creates a new instance ofHeapInvocationBuffer.HeapInvocationBuffer(CallContext context, int objectCount) Creates a new instance ofHeapInvocationBuffer.