Home
last modified time | relevance | path

Searched refs:avalue (Results 1 – 25 of 26) sorted by relevance

12

/external/libffi/src/alpha/
Dffi.c79 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
108 *(SINT64 *) argp = *(SINT8 *)(* avalue); in ffi_call()
112 *(SINT64 *) argp = *(UINT8 *)(* avalue); in ffi_call()
116 *(SINT64 *) argp = *(SINT16 *)(* avalue); in ffi_call()
120 *(SINT64 *) argp = *(UINT16 *)(* avalue); in ffi_call()
126 *(SINT64 *) argp = *(SINT32 *)(* avalue); in ffi_call()
132 *(UINT64 *) argp = *(UINT64 *)(* avalue); in ffi_call()
140 *(double *) argp = *(float *)(* avalue); in ffi_call()
143 *(float *) argp = *(float *)(* avalue); in ffi_call()
147 *(double *) argp = *(double *)(* avalue); in ffi_call()
[all …]
/external/libffi/src/ia64/
Dffi.c276 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
298 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
301 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
304 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
307 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
310 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
313 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
317 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
321 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
326 stf_spill (&stack->fp_regs[fpcount++], *(float *)avalue[i]); in ffi_call()
[all …]
/external/libffi/src/powerpc/
Dffi.c167 p_argv.v = ecif->avalue; in ffi_prep_args_SYSV()
473 p_argv.v = ecif->avalue; in ffi_prep_args64()
881 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
886 ecif.avalue = avalue; in ffi_call()
1005 void ** avalue; in ffi_closure_helper_SYSV() local
1015 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
1053 avalue[i] = (char *) pgr + 3; in ffi_closure_helper_SYSV()
1059 avalue[i] = (char *) pst + 3; in ffi_closure_helper_SYSV()
1069 avalue[i] = (char *) pgr + 2; in ffi_closure_helper_SYSV()
1075 avalue[i] = (char *) pst + 2; in ffi_closure_helper_SYSV()
[all …]
Dffi_darwin.c102 void **p_argv = ecif->avalue; in ffi_prep_args()
432 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
437 ecif.avalue = avalue; in ffi_call()
645 void ** avalue; in ffi_closure_helper_DARWIN() local
656 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_helper_DARWIN()
681 avalue[i] = (char *) pgr + 3; in ffi_closure_helper_DARWIN()
688 avalue[i] = (char *) pgr + 2; in ffi_closure_helper_DARWIN()
696 avalue[i] = pgr; in ffi_closure_helper_DARWIN()
711 avalue[i] = (void*) pgr + 4 - size_al; in ffi_closure_helper_DARWIN()
713 avalue[i] = (void*) pgr; in ffi_closure_helper_DARWIN()
[all …]
/external/libffi/src/frv/
Dffi.c45 p_argv = ecif->avalue; in ffi_prep_args()
135 void **avalue) in ffi_call() argument
140 ecif.avalue = avalue; in ffi_call()
186 void **avalue = alloca (cif->nargs * sizeof(void *)); in ffi_closure_eabi() local
197 avalue[i] = ptr + 3; in ffi_closure_eabi()
201 avalue[i] = ptr + 2; in ffi_closure_eabi()
206 avalue[i] = ptr; in ffi_closure_eabi()
209 avalue[i] = *(void**)ptr; in ffi_closure_eabi()
213 avalue[i] = ptr; in ffi_closure_eabi()
232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data); in ffi_closure_eabi()
[all …]
/external/libffi/src/sh64/
Dffi.c78 p_argv = ecif->avalue; in ffi_prep_args()
250 /*@dependent@*/ void **avalue) in ffi_call() argument
256 ecif.avalue = avalue; in ffi_call()
350 void **avalue; in ffi_closure_helper_SYSV() local
357 avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
392 avalue[i] = p; in ffi_closure_helper_SYSV()
394 avalue[i] = ((char *) p) + sizeof (UINT32) - z; in ffi_closure_helper_SYSV()
408 avalue[i] = (UINT32 *) pfr + (1 ^ freg++); in ffi_closure_helper_SYSV()
410 avalue[i] = (UINT32 *) pfr + freg++; in ffi_closure_helper_SYSV()
414 avalue[i] = pgr + greg; in ffi_closure_helper_SYSV()
[all …]
/external/libffi/src/sh/
Dffi.c139 p_argv = ecif->avalue; in ffi_prep_args()
228 p_argv = ecif->avalue; in ffi_prep_args()
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
418 ecif.avalue = avalue; in ffi_call()
517 void **avalue; in ffi_closure_helper_SYSV() local
527 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_helper_SYSV()
559 avalue[i] = (((char *)pgr) + OFS_INT8); in ffi_closure_helper_SYSV()
564 avalue[i] = (((char *)pgr) + OFS_INT16); in ffi_closure_helper_SYSV()
568 avalue[i] = pgr; in ffi_closure_helper_SYSV()
583 avalue[i] = pfr; in ffi_closure_helper_SYSV()
[all …]
/external/libffi/src/mips/
Dffi.c100 p_argv = ecif->avalue; in ffi_prep_args()
504 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
509 ecif.avalue = avalue; in ffi_call()
662 ffi_arg *avalue; in ffi_closure_mips_inner_O32() local
667 avalue = alloca (cif->nargs * sizeof (ffi_arg)); in ffi_closure_mips_inner_O32()
703 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32()
704 *(SINT8 *) &avalue[i] = (SINT8) ar[argn]; in ffi_closure_mips_inner_O32()
708 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32()
709 *(UINT8 *) &avalue[i] = (UINT8) ar[argn]; in ffi_closure_mips_inner_O32()
713 avaluep[i] = &avalue[i]; in ffi_closure_mips_inner_O32()
[all …]
/external/libffi/src/sparc/
Dffi.c67 p_argv = ecif->avalue; in ffi_prep_args_v8()
147 p_argv = ecif->avalue; in ffi_prep_args_v9()
368 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
374 ecif.avalue = avalue; in ffi_call()
479 void **avalue; in ffi_closure_sparc_inner_v8() local
484 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_sparc_inner_v8()
508 avalue[i] = (void *)gpr[argn++]; in ffi_closure_sparc_inner_v8()
519 avalue[i] = scratch; in ffi_closure_sparc_inner_v8()
527 avalue[i] = ((char *) &gpr[argn]) - arg_types[i]->size; in ffi_closure_sparc_inner_v8()
532 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_sparc_inner_v8()
[all …]
/external/libffi/src/pa/
Dffi.c153 p_argv = ecif->avalue; in ffi_prep_args_pa32()
374 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
379 ecif.avalue = avalue; in ffi_call()
420 void **avalue; in ffi_closure_inner_pa32() local
437 avalue = (void **)alloca(cif->nargs * FFI_SIZEOF_ARG); in ffi_closure_inner_pa32()
454 avalue[i] = (char *)(stack - slot) + sizeof(UINT32) - (*p_arg)->size; in ffi_closure_inner_pa32()
460 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32()
479 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32()
492 avalue[i] = (void *)(stack - slot); in ffi_closure_inner_pa32()
501 avalue[i] = (void *)(stack - slot) + sizeof(UINT32) - in ffi_closure_inner_pa32()
[all …]
/external/libffi/src/x86/
Dffi.c56 p_argv = ecif->avalue; in ffi_prep_args()
191 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
196 ecif.avalue = avalue; in ffi_call()
273 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, void **avalue, in ffi_prep_incoming_args_SYSV() argument
288 p_argv = avalue; in ffi_prep_incoming_args_SYSV()
416 memcpy (stack, ecif->avalue, ecif->cif->bytes); in ffi_prep_args_raw()
438 void **avalue = (void **)fake_avalue; in ffi_raw_call() local
441 ecif.avalue = avalue; in ffi_raw_call()
Dffi64.c344 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
397 memcpy (argp, avalue[i], size); in ffi_call()
403 char *a = (char *) avalue[i]; in ffi_call()
471 void **avalue; in ffi_closure_unix64_inner() local
478 avalue = alloca(cif->nargs * sizeof(void *)); in ffi_closure_unix64_inner()
527 avalue[i] = argp; in ffi_closure_unix64_inner()
539 avalue[i] = &reg_args->sse[ssecount]; in ffi_closure_unix64_inner()
544 avalue[i] = &reg_args->gpr[gprcount]; in ffi_closure_unix64_inner()
554 avalue[i] = a; in ffi_closure_unix64_inner()
566 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_unix64_inner()
/external/libffi/src/cris/
Dffi.c80 p_argv = ecif->avalue; in ffi_prep_args()
243 ffi_call (ffi_cif * cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument
248 ecif.avalue = avalue; in ffi_call()
304 void **avalue = alloca (closure->cif->nargs * sizeof(void *)); in ffi_prep_closure_inner() local
315 avalue[i] = ptr; in ffi_prep_closure_inner()
320 avalue[i] = ptr; in ffi_prep_closure_inner()
328 avalue[i] = *(void **) ptr; in ffi_prep_closure_inner()
356 avalue, closure->user_data); in ffi_prep_closure_inner()
/external/libffi/src/m68k/
Dffi.c44 p_argv = ecif->avalue; in ffi_prep_args()
169 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument
174 ecif.avalue = avalue; in ffi_call()
200 ffi_prep_incoming_args_SYSV (char *stack, void **avalue, ffi_cif *cif) in ffi_prep_incoming_args_SYSV() argument
208 p_argv = avalue; in ffi_prep_incoming_args_SYSV()
/external/libffi/src/arm/
Dffi.c49 p_argv = ecif->avalue; in ffi_prep_args()
154 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
162 ecif.avalue = avalue; in ffi_call()
232 void **avalue, ffi_cif *cif) in ffi_prep_incoming_args_SYSV() argument
247 p_argv = avalue; in ffi_prep_incoming_args_SYSV()
/external/libffi/src/
Draw_api.c193 void **avalue = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_raw_call() local
194 ffi_raw_to_ptrarray (cif, raw, avalue); in ffi_raw_call()
195 ffi_call (cif, fn, rvalue, avalue); in ffi_raw_call()
202 void **avalue, void *user_data) in ffi_translate_args() argument
207 ffi_ptrarray_to_raw (cif, avalue, raw); in ffi_translate_args()
Djava_raw_api.c301 void **avalue = (void**) alloca (cif->nargs * sizeof (void*)); in ffi_java_raw_call() local
302 ffi_java_raw_to_ptrarray (cif, raw, avalue); in ffi_java_raw_call()
303 ffi_call (cif, fn, rvalue, avalue); in ffi_java_raw_call()
311 void **avalue, void *user_data) in ffi_java_translate_args() argument
316 ffi_java_ptrarray_to_raw (cif, avalue, raw); in ffi_java_translate_args()
/external/libffi/src/m32r/
Dffi.c54 p_argv = ecif->avalue; in ffi_prep_args()
178 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
183 ecif.avalue = avalue; in ffi_call()
/external/libffi/src/s390/
Dffi.c193 void **p_argv = ecif->avalue; in ffi_prep_args()
504 void **avalue) in ffi_call() argument
510 ecif.avalue = avalue; in ffi_call()
554 void **avalue; in ffi_closure_helper_SYSV() local
566 p_arg = avalue = alloca (closure->cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
682 (closure->fun) (closure->cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_SYSV()
/external/clang/test/SemaCXX/
Dflexible-array-test.cpp12 void QMap<Key, T>::insert(const Key &, const T &avalue) in insert() argument
14 v = avalue; in insert()
/external/libffi/darwin-x86/
Dffi.h229 ffi_raw *avalue);
242 ffi_java_raw *avalue);
356 void **avalue);
/external/libffi/include/
Dffi_real.h230 ffi_raw *avalue);
243 ffi_java_raw *avalue);
357 void **avalue);
Dffi_common.h77 void **avalue; member
Dffi.h.in229 ffi_raw *avalue);
242 ffi_java_raw *avalue);
356 void **avalue);
/external/opencv/cxcore/src/
Dcxpersistence.cpp712 double avalue = fabs(value); in icvDoubleToString() local
714 sprintf( buf, fmt[0.01 <= avalue && avalue < 1000], value ); in icvDoubleToString()
752 double avalue = fabs((double)value); in icvFloatToString() local
754 sprintf( buf, fmt[0.01 <= avalue && avalue < 1000], value ); in icvFloatToString()

12