/external/libffi/testsuite/libffi.call/ |
float2.c | 19 ffi_cif cif; local 28 /* Initialize the cif */ 29 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 41 ffi_call(&cif, FFI_FN(ldblit), &ld, values);
|
return_dbl.c | 16 ffi_cif cif; local 24 /* Initialize the cif */ 25 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 30 ffi_call(&cif, FFI_FN(return_dbl), &rdbl, values);
|
return_fl.c | 16 ffi_cif cif; local 24 /* Initialize the cif */ 25 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 30 ffi_call(&cif, FFI_FN(return_fl), &rfl, values);
|
return_ldl.c | 16 ffi_cif cif; local 24 /* Initialize the cif */ 25 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 30 ffi_call(&cif, FFI_FN(return_ldl), &rldl, values);
|
return_ll.c | 16 ffi_cif cif; local 25 /* Initialize the cif */ 26 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 31 ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values); 37 ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
|
return_sc.c | 16 ffi_cif cif; local 25 /* Initialize the cif */ 26 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 32 ffi_call(&cif, FFI_FN(return_sc), &rint, values);
|
return_uc.c | 17 ffi_cif cif; local 27 /* Initialize the cif */ 28 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 34 ffi_call(&cif, FFI_FN(return_uc), &rint, values);
|
strlen.c | 17 ffi_cif cif; local 26 /* Initialize the cif */ 27 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values);
|
strlen_win32.c | 18 ffi_cif cif; local 26 /* Initialize the cif */ 27 CHECK(ffi_prep_cif(&cif, FFI_STDCALL, 1, 31 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values);
|
closure_fn0.c | 16 closure_test_fn0(ffi_cif* cif __UNUSED__, void* resp, void** args, 51 ffi_cif cif; local 83 /* Initialize the cif */ 84 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 87 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn0,
|
closure_fn1.c | 13 static void closure_test_fn1(ffi_cif* cif __UNUSED__, void* resp, void** args, 43 ffi_cif cif; local 75 /* Initialize the cif */ 76 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 79 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn1,
|
closure_fn2.c | 12 static void closure_test_fn2(ffi_cif* cif __UNUSED__, void* resp, void** args, 43 ffi_cif cif; local 75 /* Initialize the cif */ 76 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 79 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn2,
|
closure_fn3.c | 12 static void closure_test_fn3(ffi_cif* cif __UNUSED__, void* resp, void** args, 44 ffi_cif cif; local 76 /* Initialize the cif */ 77 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 80 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn3,
|
closure_fn4.c | 14 closure_test_fn0(ffi_cif* cif __UNUSED__, void* resp, void** args, 62 ffi_cif cif; local 82 /* Initialize the cif */ 83 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 86 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn0,
|
closure_fn5.c | 13 closure_test_fn5(ffi_cif* cif __UNUSED__, void* resp, void** args, 61 ffi_cif cif; local 84 /* Initialize the cif */ 85 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 88 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn5,
|
closure_fn6.c | 12 closure_test_fn0(ffi_cif* cif __UNUSED__, void* resp, void** args, 52 ffi_cif cif; local 84 /* Initialize the cif */ 85 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16, 88 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn0,
|
cls_double.c | 10 static void cls_ret_double_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 22 ffi_cif cif; local 39 /* Initialize the cif */ 40 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 43 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_double_fn, NULL) == FFI_OK);
|
cls_float.c | 10 static void cls_ret_float_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 23 ffi_cif cif; local 41 /* Initialize the cif */ 42 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 45 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_float_fn, NULL) == FFI_OK);
|
cls_schar.c | 12 static void cls_ret_schar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 23 ffi_cif cif; local 40 /* Initialize the cif */ 41 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 44 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_schar_fn, NULL) == FFI_OK);
|
cls_sint.c | 10 static void cls_ret_sint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 21 ffi_cif cif; local 38 /* Initialize the cif */ 39 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 42 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_sint_fn, NULL) == FFI_OK);
|
cls_sshort.c | 10 static void cls_ret_sshort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 21 ffi_cif cif; local 38 /* Initialize the cif */ 39 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 42 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_sshort_fn, NULL) == FFI_OK);
|
cls_uchar.c | 10 static void cls_ret_uchar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 21 ffi_cif cif; local 38 /* Initialize the cif */ 39 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 42 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_uchar_fn, NULL) == FFI_OK);
|
cls_uint.c | 10 static void cls_ret_uint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 22 ffi_cif cif; local 39 /* Initialize the cif */ 40 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 43 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_uint_fn, NULL) == FFI_OK);
|
cls_ulonglong.c | 10 static void cls_ret_ulonglong_fn(ffi_cif* cif __UNUSED__, void* resp, 22 ffi_cif cif; local 39 /* Initialize the cif */ 40 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, 42 CHECK(ffi_prep_closure(pcl, &cif, cls_ret_ulonglong_fn, NULL) == FFI_OK);
|
/dalvik/vm/arch/generic/ |
Call.cpp | 69 * For maximum efficiency we should compute the CIF once and save it with 72 * on the platforms where performance matters, I'm recomputing the CIF on 79 ffi_cif cif; local 112 * Prep the CIF (Call InterFace object). 114 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, dstArg, retType, types) != FFI_OK) { 119 ffi_call(&cif, FFI_FN(func), pReturn, values);
|