HomeSort by relevance Sort by last modified time
    Searched full:cif (Results 51 - 75 of 214) sorted by null

1 23 4 5 6 7 8 9

  /external/libffi/testsuite/libffi.call/
struct1.c 28 ffi_cif cif; local
50 /* Initialize the cif */
51 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1,
58 ffi_call(&cif, FFI_FN(struct1), ts1_result, values);
struct2.c 26 ffi_cif cif; local
48 /* Initialize the cif */
49 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts2_type, args) == FFI_OK);
57 ffi_call(&cif, FFI_FN(struct2), ts2_result, values);
struct3.c 24 ffi_cif cif; local
44 /* Initialize the cif */
45 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1,
51 ffi_call(&cif, FFI_FN(struct3), ts3_result, values);
struct4.c 26 ffi_cif cif; local
49 /* Initialize the cif */
50 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts4_type, args) == FFI_OK);
56 ffi_call (&cif, FFI_FN(struct4), ts4_result, values);
struct5.c 25 ffi_cif cif; local
49 /* Initialize the cif */
50 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &ts5_type, args) == FFI_OK);
57 ffi_call (&cif, FFI_FN(struct5), ts5_result, values);
struct6.c 25 ffi_cif cif; local
48 /* Initialize the cif */
49 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts6_type, args) == FFI_OK);
57 ffi_call(&cif, FFI_FN(struct6), ts6_result, values);
struct9.c 26 ffi_cif cif; local
48 /* Initialize the cif */
49 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts9_type, args) == FFI_OK);
57 ffi_call(&cif, FFI_FN(struct9), ts9_result, values);
cls_multi_uchar.c 23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals,
40 void test_func(ffi_cif *cif __UNUSED__, void *rval __UNUSED__, void **avals,
49 ffi_cif cif; local
82 /* Initialize the cif */
83 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 4,
86 ffi_call(&cif, FFI_FN(test_func_fn), &res_call, args_dbl);
91 CHECK(ffi_prep_closure(pcl, &cif, test_func_gn, NULL) == FFI_OK);
closure_stdcall.c 11 closure_test_stdcall(ffi_cif* cif __UNUSED__, void* resp, void** args,
30 ffi_cif cif; local
53 /* Initialize the cif */
54 CHECK(ffi_prep_cif(&cif, FFI_STDCALL, 4,
57 CHECK(ffi_prep_closure(pcl, &cif, closure_test_stdcall,
cls_1_1byte.c 31 cls_struct_1_1byte_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
45 ffi_cif cif; local
77 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type,
84 ffi_call(&cif, FFI_FN(cls_struct_1_1byte_fn), &res_dbl, args_dbl);
89 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_1_1byte_gn, NULL) == FFI_OK);
cls_multi_sshortchar.c 23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals,
43 ffi_cif cif; local
77 /* Initialize the cif */
78 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 4,
81 ffi_call(&cif, FFI_FN(test_func_fn), &res_call, args_dbl);
86 CHECK(ffi_prep_closure(pcl, &cif, test_func_gn, NULL) == FFI_OK);
cls_multi_ushortchar.c 23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals,
43 ffi_cif cif; local
77 /* Initialize the cif */
78 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 4,
81 ffi_call(&cif, FFI_FN(test_func_fn), &res_call, args_dbl);
86 CHECK(ffi_prep_closure(pcl, &cif, test_func_gn, NULL) == FFI_OK);
struct7.c 27 ffi_cif cif; local
51 /* Initialize the cif */
52 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts7_type, args) == FFI_OK);
62 ffi_call(&cif, FFI_FN(struct7), ts7_result, values);
struct8.c 29 ffi_cif cif; local
53 /* Initialize the cif */
54 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ts8_type, args) == FFI_OK);
66 ffi_call(&cif, FFI_FN(struct8), ts8_result, values);
cls_12byte.c 31 static void cls_struct_12byte_gn(ffi_cif* cif __UNUSED__, void* resp,
44 ffi_cif cif; local
78 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type,
85 ffi_call(&cif, FFI_FN(cls_struct_12byte_fn), &res_dbl, args_dbl);
90 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_12byte_gn, NULL) == FFI_OK);
cls_16byte.c 32 static void cls_struct_16byte_gn(ffi_cif* cif __UNUSED__, void* resp,
45 ffi_cif cif; local
79 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type,
86 ffi_call(&cif, FFI_FN(cls_struct_16byte_fn), &res_dbl, args_dbl);
95 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_16byte_gn, NULL) == FFI_OK);
  /external/libffi/testsuite/libffi.special/
unwindtest_ffi_call.cc 18 ffi_cif cif; local
34 /* Initialize the cif */
35 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3,
44 ffi_call(&cif, FFI_FN(checking), &rint, values);
unwindtest.cc 11 closure_test_fn(ffi_cif* cif __UNUSED__, void* resp __UNUSED__,
19 void closure_test_fn1(ffi_cif* cif __UNUSED__, void* resp,
52 ffi_cif cif; local
67 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0,
69 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn, NULL) == FFI_OK);
103 /* Initialize the cif */
104 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 16,
107 CHECK(ffi_prep_closure(pcl, &cif, closure_test_fn1,
  /external/libffi/src/
java_raw_api.c 45 ffi_java_raw_size (ffi_cif *cif)
50 ffi_type **at = cif->arg_types;
52 for (i = cif->nargs-1; i >= 0; i--, at++)
73 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args)
76 ffi_type **tp = cif->arg_types;
80 for (i = 0; i < cif->nargs; i++, tp++, args++)
119 for (i = 0; i < cif->nargs; i++, tp++, args++)
147 ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw)
150 ffi_type **tp = cif->arg_types;
152 for (i = 0; i < cif->nargs; i++, tp++, args++
    [all...]
  /external/libffi/src/x86/
ffi64.c 273 /* Perform machine dependent cif processing. */
276 ffi_prep_cif_machdep (ffi_cif *cif)
284 flags = cif->rtype->type;
287 n = examine_argument (cif->rtype, classes, 1, &ngpr, &nsse);
308 flags |= cif->rtype->size << 12;
315 for (bytes = 0, i = 0, avn = cif->nargs; i < avn; i++)
317 if (examine_argument (cif->arg_types[i], classes, 0, &ngpr, &nsse) == 0
321 long align = cif->arg_types[i]->alignment;
327 bytes += cif->arg_types[i]->size;
337 cif->flags = flags
470 ffi_cif *cif; local
    [all...]
  /external/libffi/src/pa/
ffi.c 152 p_arg = ecif->cif->arg_types;
155 for (i = 0; i < ecif->cif->nargs; i++)
276 static void ffi_size_stack_pa32(ffi_cif *cif)
282 for (ptr = cif->arg_types, i = 0; i < cif->nargs; ptr++, i++)
309 cif->bytes = MIN_STACK_SIZE; /* min stack size */
311 cif->bytes = 64 + ROUND_UP((z - 6) * sizeof(UINT32), MIN_STACK_SIZE);
313 debug(3, "Calculated stack size is %u bytes\n", cif->bytes);
316 /* Perform machine dependent cif processing. */
317 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
419 ffi_cif *cif; local
    [all...]
  /external/libffi/src/powerpc/
ffi.c 92 const unsigned bytes = ecif->cif->bytes;
93 const unsigned flags = ecif->cif->flags;
141 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT)
168 for (ptr = ecif->cif->arg_types, i = ecif->cif->nargs;
176 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT)
192 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT)
215 if ((ecif->cif->abi != FFI_LINUX)
216 && (ecif->cif->abi != FFI_LINUX_SOFT_FLOAT))
223 if (ecif->cif->abi == FFI_LINUX_SOFT_FLOAT
1010 ffi_cif * cif; local
1303 ffi_cif *cif; local
    [all...]
  /external/libffi/man/
ffi.3 12 .Fa "ffi_cif *cif"
20 .Fa "ffi_cif *cif"
ffi_call.3 10 .Fa "ffi_cif *cif"
27 .Fa cif
55 ffi_cif cif;
70 if ((status = ffi_prep_cif(&cif, FFI_DEFAULT_ABI,
84 ffi_call(&cif, FFI_FN(foo), &result, arg_values);
  /external/libffi/src/ia64/
ffi.c 220 /* Perform machine dependent cif processing. */
223 ffi_prep_cif_machdep(ffi_cif *cif)
227 /* Adjust cif->bytes to include space for the bits of the ia64_args frame
231 cif->bytes += offsetof(struct ia64_args, gp_regs[0]);
232 if (cif->bytes < sizeof(struct ia64_args))
233 cif->bytes = sizeof(struct ia64_args);
236 flags = cif->rtype->type;
237 switch (cif->rtype->type)
248 size_t size = cif->rtype->size;
249 int hfa_type = hfa_element_type (cif->rtype, 0)
448 ffi_cif *cif; local
    [all...]

Completed in 781 milliseconds

1 23 4 5 6 7 8 9