HomeSort by relevance Sort by last modified time
    Searched defs:cif (Results 101 - 125 of 126) sorted by null

1 2 3 45 6

  /external/libffi/testsuite/libffi.call/
cls_7_1_byte.c 43 cls_struct_7byte_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
57 ffi_cif cif; local
95 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type,
102 ffi_call(&cif, FFI_FN(cls_struct_7byte_fn), &res_dbl, args_dbl);
116 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_7byte_gn, NULL) == FFI_OK);
cls_7byte.c 36 cls_struct_7byte_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
50 ffi_cif cif; local
85 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type,
92 ffi_call(&cif, FFI_FN(cls_struct_7byte_fn), &res_dbl, args_dbl);
97 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_7byte_gn, NULL) == FFI_OK);
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);
nested_struct2.c 37 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
51 ffi_cif cif; local
96 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type1,
103 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
109 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct3.c 38 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
52 ffi_cif cif; local
97 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type1,
104 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
111 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct4.c 38 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
52 ffi_cif cif; local
97 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type1,
104 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
110 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct5.c 38 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
52 ffi_cif cif; local
97 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type1,
104 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
111 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct7.c 38 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
52 ffi_cif cif; local
97 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2, &cls_struct_type1,
104 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
110 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
pyobjc-tc.c 38 ffi_cif cif; local
72 * Create a CIF
81 r = ffi_prep_cif(&cif, FFI_DEFAULT_ABI,
88 /* And call the function through the CIF */
108 ffi_call(&cif, FFI_FN(doit), &result, values);
cls_64byte.c 46 cls_struct_64byte_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
61 ffi_cif cif; local
104 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 4, &cls_struct_type,
113 ffi_call(&cif, FFI_FN(cls_struct_64byte_fn), &res_dbl, args_dbl);
119 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_64byte_gn, NULL) == FFI_OK);
nested_struct.c 53 cls_struct_combined_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
70 ffi_cif cif; local
129 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3, &cls_struct_type2,
137 ffi_call(&cif, FFI_FN(cls_struct_combined_fn), &res_dbl, args_dbl);
146 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_combined_gn, NULL) == FFI_OK);
nested_struct1.c 55 cls_struct_combined_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
74 ffi_cif cif; local
135 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 4, &cls_struct_type2,
144 ffi_call(&cif, FFI_FN(cls_struct_combined_fn), &res_dbl, args_dbl);
153 CHECK(ffi_prep_closure(pcl, &cif, cls_struct_combined_gn, NULL) == FFI_OK);
nested_struct10.c 44 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
60 ffi_cif cif; local
118 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3, &cls_struct_type1,
126 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
132 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct6.c 43 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
59 ffi_cif cif; local
116 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3, &cls_struct_type1,
124 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
130 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct8.c 43 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
59 ffi_cif cif; local
116 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3, &cls_struct_type1,
124 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
130 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
nested_struct9.c 43 B_gn(ffi_cif* cif __UNUSED__, void* resp, void** args,
59 ffi_cif cif; local
116 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3, &cls_struct_type1,
124 ffi_call(&cif, FFI_FN(B_fn), &res_dbl, args_dbl);
130 CHECK(ffi_prep_closure(pcl, &cif, B_gn, NULL) == FFI_OK);
  /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/sh/
ffi.c 127 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT)
138 avn = ecif->cif->nargs;
141 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++)
230 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++)
321 /* Perform machine dependent cif processing */
322 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
332 cif->flags = 0;
334 greg = ((return_type (cif->rtype) == FFI_TYPE_STRUCT) &&
338 for (i = j = 0; i < cif->nargs && j < 12; i++)
340 type = (cif->arg_types)[i]->type
524 ffi_cif *cif; local
    [all...]
  /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...]
  /external/libffi/src/mips/
ffi.c 90 if ( ecif->cif->rstruct_flag != 0 )
92 if ( ecif->cif->rtype->type == FFI_TYPE_STRUCT )
102 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i; i--, p_arg++)
127 (ecif->cif->abi == FFI_N64) ? FFI_TYPE_SINT64 : FFI_TYPE_SINT32;
289 /* Perform machine dependent cif processing */
290 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
292 cif->flags = 0;
299 if (cif->rtype->type != FFI_TYPE_STRUCT && cif->abi == FFI_O32
660 ffi_cif *cif; local
813 ffi_cif *cif; local
    [all...]
  /external/libffi/src/powerpc/
ffi_darwin.c 85 const unsigned bytes = ecif->cif->bytes;
86 const unsigned flags = ecif->cif->flags;
100 int i = ecif->cif->nargs;
104 ffi_type** ptr = ecif->cif->arg_types;
202 if (size_al < 3 && ecif->cif->abi == FFI_DARWIN)
271 /* Perform machine dependent cif processing. */
272 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
282 /* All the machine-independent calculation of cif->bytes will be wrong.
286 if (cif->abi == FFI_DARWIN)
288 darwin_adjust_aggregate_sizes (cif->rtype)
650 ffi_cif * cif; local
    [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/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 184 ffi_cif cif; local
221 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, &args[0]) == FFI_OK) {
225 ffi_call(&cif, Fn, ret.data(), values.data());
  /external/libffi/darwin-x86/
ffi.h 226 void ffi_raw_call (ffi_cif *cif,
231 void ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw);
232 void ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args);
233 size_t ffi_raw_size (ffi_cif *cif);
239 void ffi_java_raw_call (ffi_cif *cif,
244 void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw);
245 void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args);
246 size_t ffi_java_raw_size (ffi_cif *cif);
254 ffi_cif *cif; member in struct:__anon10087
278 ffi_cif *cif; member in struct:__anon10088
299 ffi_cif *cif; member in struct:__anon10089
    [all...]
  /external/libffi/include/
ffi_real.h 227 void ffi_raw_call (ffi_cif *cif,
232 void ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw);
233 void ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args);
234 size_t ffi_raw_size (ffi_cif *cif);
240 void ffi_java_raw_call (ffi_cif *cif,
245 void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw);
246 void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args);
247 size_t ffi_java_raw_size (ffi_cif *cif);
255 ffi_cif *cif; member in struct:__anon10095
279 ffi_cif *cif; member in struct:__anon10096
300 ffi_cif *cif; member in struct:__anon10097
    [all...]

Completed in 1472 milliseconds

1 2 3 45 6