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

1 2 3 4 5 6 7 8 9

  /external/libffi/src/m68k/
ffi.c 38 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT
39 && !ecif->cif->flags)
46 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
107 /* Perform machine dependent cif processing */
109 ffi_prep_cif_machdep (ffi_cif *cif)
112 switch (cif->rtype->type)
115 cif->flags = 0;
119 switch (cif->rtype->size)
122 cif->flags = CIF_FLAGS_STRUCT1
238 ffi_cif *cif; local
    [all...]
  /external/libffi/testsuite/libffi.call/
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);
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);
float3.c 24 ffi_cif cif; local
40 /* Initialize the cif */
41 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3,
50 ffi_call(&cif, FFI_FN(floating_1), &rd, values);
61 /* Initialize the cif */
62 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 3,
67 ffi_call(&cif, FFI_FN(floating_2), &rd, 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_fl1.c 16 ffi_cif cif; local
26 /* Initialize the cif */
27 CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 2,
32 ffi_call(&cif, FFI_FN(return_fl), &rfl, 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);
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);
  /external/libffi/src/arm/
ffi.c 44 if ( ecif->cif->flags == FFI_TYPE_STRUCT ) {
51 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
110 /* Perform machine dependent cif processing */
111 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
116 cif->bytes = (cif->bytes + 7) & ~7;
119 switch (cif->rtype->type)
124 cif->flags = (unsigned) cif->rtype->type
210 ffi_cif *cif; local
    [all...]
  /external/libffi/src/m32r/
ffi.c 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8)
53 avn = ecif->cif->nargs;
56 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
138 /* Perform machine dependent cif processing. */
140 ffi_prep_cif_machdep(ffi_cif *cif)
143 switch (cif->rtype->type)
146 cif->flags = (unsigned) cif->rtype->type
    [all...]
  /external/libffi/src/sparc/
ffi.c 49 if ( ecif->cif->rtype->type == FFI_TYPE_STRUCT ) */
69 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i; i--, p_arg++)
149 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT &&
150 ecif->cif->rtype->size > 32)
157 for (i = 0, p_arg = ecif->cif->arg_types; i < ecif->cif->nargs;
250 /* Perform machine dependent cif processing */
251 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
255 if (cif->abi != FFI_V9
477 ffi_cif *cif; local
542 ffi_cif *cif; local
    [all...]
  /external/libffi/src/x86/
ffi.c 50 if (ecif->cif->flags == FFI_TYPE_STRUCT)
58 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
117 /* Perform machine dependent cif processing */
118 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
121 switch (cif->rtype->type)
138 cif->flags = (unsigned) cif->rtype->type;
142 cif->flags = FFI_TYPE_SINT64;
147 if (cif->rtype->size == 1
253 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/cris/
ffi.c 82 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types;
106 uiLocOnStack = 4 * ecif->cif->nargs + struct_count;
157 ffi_prep_cif (ffi_cif * cif,
165 FFI_ASSERT (cif != NULL);
168 cif->abi = abi;
169 cif->arg_types = atypes;
170 cif->nargs = nargs;
171 cif->rtype = rtype;
173 cif->flags = 0
300 ffi_cif *cif = closure->cif; local
    [all...]
  /external/libffi/src/
prep_cif.c 88 ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs,
95 FFI_ASSERT(cif != NULL);
98 cif->abi = abi;
99 cif->arg_types = atypes;
100 cif->nargs = nargs;
101 cif->rtype = rtype;
103 cif->flags = 0;
106 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK))
110 FFI_ASSERT_VALID_TYPE(cif->rtype)
    [all...]
raw_api.c 35 ffi_raw_size (ffi_cif *cif)
40 ffi_type **at = cif->arg_types;
42 for (i = cif->nargs-1; i >= 0; i--, at++)
57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args)
60 ffi_type **tp = cif->arg_types;
64 for (i = 0; i < cif->nargs; i++, tp++, args++)
106 for (i = 0; i < cif->nargs; i++, tp++, args++)
129 ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw)
132 ffi_type **tp = cif->arg_types;
134 for (i = 0; i < cif->nargs; i++, tp++, args++
    [all...]
  /external/libffi/src/alpha/
ffi.c 48 ffi_prep_cif_machdep(ffi_cif *cif)
50 /* Adjust cif->bytes to represent a minimum 6 words for the temporary
52 if (cif->bytes < 6*FFI_SIZEOF_ARG)
53 cif->bytes = 6*FFI_SIZEOF_ARG;
56 switch (cif->rtype->type)
61 cif->flags = cif->rtype->type;
66 cif->flags = FFI_TYPE_STRUCT;
70 cif->flags = FFI_TYPE_INT;
79 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue
207 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/sh64/
ffi.c 71 if (return_type (ecif->cif->rtype) == FFI_TYPE_STRUCT)
77 avn = ecif->cif->nargs;
80 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++)
157 /* Perform machine dependent cif processing */
158 ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
166 greg = (return_type (cif->rtype) == FFI_TYPE_STRUCT ? 1 : 0);
168 cif->flags2 = 0;
170 for (i = j = 0; i < cif->nargs; i++)
172 type = (cif->arg_types)[i]->type;
177 cif->bytes += sizeof (UINT64) - sizeof (float)
354 ffi_cif *cif; local
    [all...]

Completed in 632 milliseconds

1 2 3 4 5 6 7 8 9