/external/libffi/src/m32r/ |
D | ffi.c | 49 *(void **) argp = ecif->rvalue; in ffi_prep_args() 178 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 187 if ((rvalue == NULL) && in ffi_call() 190 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 193 ecif.rvalue = rvalue; in ffi_call() 199 cif->flags, ecif.rvalue, fn); in ffi_call() 208 *(unsigned long *)(ecif.rvalue) <<= (4 - size) * 8; in ffi_call() 214 memcpy (ecif.rvalue, ecif.rvalue + 8-size, size); in ffi_call() 222 memcpy (ecif.rvalue, ecif.rvalue + 8-size, size); in ffi_call()
|
/external/libffi/src/x86/ |
D | ffi.c | 52 *(void **) argp = ecif->rvalue; in ffi_prep_args() 191 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 201 if ((rvalue == NULL) && in ffi_call() 204 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 207 ecif.rvalue = rvalue; in ffi_call() 213 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call() 219 ecif.rvalue, fn); in ffi_call() 273 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, void **avalue, in ffi_prep_incoming_args_SYSV() argument 284 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV() 435 ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *fake_avalue) in ffi_raw_call() argument [all …]
|
D | ffi64.c | 344 ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 361 if (rvalue == NULL && ret_in_memory) in ffi_call() 362 rvalue = alloca (cif->rtype->size); in ffi_call() 374 reg_args->gpr[gprcount++] = (long) rvalue; in ffi_call() 431 cif->flags, rvalue, fn, ssecount); in ffi_call() 467 ffi_closure_unix64_inner(ffi_closure *closure, void *rvalue, in ffi_closure_unix64_inner() argument 490 rvalue = (void *) reg_args->gpr[gprcount++]; in ffi_closure_unix64_inner() 566 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_unix64_inner()
|
/external/libffi/src/ |
D | java_raw_api.c | 236 ffi_java_rvalue_to_raw (ffi_cif *cif, void *rvalue) in ffi_java_rvalue_to_raw() argument 244 *(UINT64 *)rvalue <<= 32; in ffi_java_rvalue_to_raw() 254 *(SINT64 *)rvalue <<= 32; in ffi_java_rvalue_to_raw() 264 ffi_java_raw_to_rvalue (ffi_cif *cif, void *rvalue) in ffi_java_raw_to_rvalue() argument 272 *(UINT64 *)rvalue >>= 32; in ffi_java_raw_to_rvalue() 282 *(SINT64 *)rvalue >>= 32; in ffi_java_raw_to_rvalue() 298 void ffi_java_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_java_raw_call() argument 303 ffi_call (cif, fn, rvalue, avalue); in ffi_java_raw_call() 304 ffi_java_rvalue_to_raw (cif, rvalue); in ffi_java_raw_call() 310 ffi_java_translate_args (ffi_cif *cif, void *rvalue, in ffi_java_translate_args() argument [all …]
|
D | raw_api.c | 191 void ffi_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *raw) in ffi_raw_call() argument 195 ffi_call (cif, fn, rvalue, avalue); in ffi_raw_call() 201 ffi_translate_args (ffi_cif *cif, void *rvalue, in ffi_translate_args() argument 208 (*cl->fun) (cif, rvalue, raw, cl->user_data); in ffi_translate_args()
|
/external/libffi/src/arm/ |
D | ffi.c | 45 *(void **) argp = ecif->rvalue; in ffi_prep_args() 154 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 169 if ((rvalue == NULL) && in ffi_call() 172 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 175 ecif.rvalue = &temp; in ffi_call() 177 ecif.rvalue = rvalue; in ffi_call() 182 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call() 191 memcpy (rvalue, &temp, cif->rtype->size); in ffi_call() 231 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, in ffi_prep_incoming_args_SYSV() argument 243 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV()
|
/external/libffi/src/s390/ |
D | ffi.c | 200 p_gpr[n_gpr++] = (unsigned long) ecif->rvalue; in ffi_prep_args() 503 void *rvalue, in ffi_call() argument 511 ecif.rvalue = rvalue; in ffi_call() 514 if (rvalue == NULL) in ffi_call() 517 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 526 ret_type, ecif.rvalue, fn); in ffi_call() 553 void *rvalue = &ret_buffer; in ffi_closure_helper_SYSV() local 573 rvalue = (void *) p_gpr[n_gpr++]; in ffi_closure_helper_SYSV() 682 (closure->fun) (closure->cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_SYSV() 697 p_fpr[0] = (long long) *(unsigned int *) rvalue << 32; in ffi_closure_helper_SYSV() [all …]
|
D | sysv.S | 40 # r6: ecif.rvalue 56 lr %r8,%r6 # Save ecif.rvalue 243 # r6: ecif.rvalue 258 lgr %r8,%r6 # Save ecif.rvalue
|
/external/libffi/src/sparc/ |
D | ffi.c | 50 *(int *) argp = (long)ecif->rvalue; in ffi_prep_args_v8() 152 *(unsigned long long *) argp = (unsigned long)ecif->rvalue; in ffi_prep_args_v9() 368 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 371 void *rval = rvalue; in ffi_call() 379 ecif.rvalue = rvalue; in ffi_call() 387 if (rvalue == NULL) in ffi_call() 388 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 400 cif->flags, rvalue, fn); in ffi_call() 407 if (rvalue && rval && cif->rtype->type == FFI_TYPE_STRUCT) in ffi_call() 408 ffi_v9_layout_struct(cif->rtype, 0, (char *)rvalue, (char *)rval, ((char *)rval)+32); in ffi_call() [all …]
|
/external/libffi/src/frv/ |
D | ffi.c | 134 void *rvalue, in ffi_call() argument 145 if ((rvalue == NULL) && in ffi_call() 148 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 151 ecif.rvalue = rvalue; in ffi_call() 158 cif->flags, ecif.rvalue, fn); in ffi_call() 237 long long rvalue; in ffi_closure_eabi() local 238 (closure->fun) (cif, &rvalue, avalue, closure->user_data); in ffi_closure_eabi() 243 asm ("ldi @(%0, #0), gr8" : : "r" (&rvalue)); in ffi_closure_eabi() 244 asm ("ldi @(%0, #0), gr9" : : "r" (&((int *) &rvalue)[1])); in ffi_closure_eabi()
|
/external/libffi/src/sh64/ |
D | ffi.c | 73 *(void **) argp = ecif->rvalue; in ffi_prep_args() 249 /*@out@*/ void *rvalue, in ffi_call() argument 263 ecif.rvalue = &trvalue; in ffi_call() 264 else if ((rvalue == NULL) && in ffi_call() 268 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 272 ecif.rvalue = rvalue; in ffi_call() 279 cif->flags, cif->flags2, ecif.rvalue, fn); in ffi_call() 287 if (rvalue in ffi_call() 290 memcpy (rvalue, &trvalue, cif->rtype->size); in ffi_call() 347 ffi_closure_helper_SYSV (ffi_closure *closure, UINT64 *rvalue, in ffi_closure_helper_SYSV() argument [all …]
|
/external/libffi/src/alpha/ |
D | ffi.c | 79 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 87 if (rvalue == NULL && cif->flags == FFI_TYPE_STRUCT) in ffi_call() 88 rvalue = alloca(cif->rtype->size); in ffi_call() 95 *(void **) argp++ = rvalue; in ffi_call() 168 ffi_call_osf(stack, cif->bytes, cif->flags, rvalue, fn); in ffi_call() 205 ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp) in ffi_closure_osf_inner() argument 221 rvalue = (void *) argp[0]; in ffi_closure_osf_inner() 280 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_osf_inner()
|
/external/libffi/src/pa/ |
D | ffi.c | 374 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 384 if (rvalue == NULL in ffi_call() 392 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 395 ecif.rvalue = rvalue; in ffi_call() 401 …, bytes=%u, flags=%u, rvalue=%p, fn=%p\n", &ecif, cif->bytes, cif->flags, ecif.rvalue, (void *)fn); in ffi_call() 403 cif->flags, ecif.rvalue, fn); in ffi_call() 421 void *rvalue; in ffi_closure_inner_pa32() local 433 rvalue = (void *)r28; in ffi_closure_inner_pa32() 435 rvalue = &ret[0]; in ffi_closure_inner_pa32() 523 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_inner_pa32() [all …]
|
/external/libffi/src/sh/ |
D | ffi.c | 129 *(void **) argp = ecif->rvalue; in ffi_prep_args() 412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 425 ecif.rvalue = &trvalue; in ffi_call() 426 else if ((rvalue == NULL) && in ffi_call() 429 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 432 ecif.rvalue = rvalue; in ffi_call() 437 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call() 445 if (rvalue in ffi_call() 448 memcpy (rvalue, &trvalue, cif->rtype->size); in ffi_call() 513 ffi_closure_helper_SYSV (ffi_closure *closure, void *rvalue, in ffi_closure_helper_SYSV() argument [all …]
|
/external/libffi/src/mips/ |
D | ffi.c | 95 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args() 504 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 514 if ((rvalue == NULL) && in ffi_call() 516 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 518 ecif.rvalue = rvalue; in ffi_call() 526 cif->flags, ecif.rvalue, fn); in ffi_call() 535 void *rvalue_copy = ecif.rvalue; in ffi_call() 547 memcpy(ecif.rvalue, rvalue_copy, cif->rtype->size); in ffi_call() 657 void *rvalue, ffi_arg *ar, in ffi_closure_mips_inner_O32() argument 675 rvalue = (void *)(UINT32)ar[0]; in ffi_closure_mips_inner_O32() [all …]
|
/external/libffi/src/m68k/ |
D | ffi.c | 40 struct_value_ptr = ecif->rvalue; in ffi_prep_args() 169 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument 179 if (rvalue == NULL in ffi_call() 182 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 184 ecif.rvalue = rvalue; in ffi_call() 190 ecif.rvalue, fn); in ffi_call()
|
/external/libffi/src/powerpc/ |
D | ffi_darwin.c | 118 *next_arg++ = (unsigned)(char *)ecif->rvalue; in ffi_prep_args() 432 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 442 if ((rvalue == NULL) && in ffi_call() 445 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 448 ecif.rvalue = rvalue; in ffi_call() 453 ffi_call_AIX(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn, in ffi_call() 457 ffi_call_DARWIN(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn, in ffi_call() 630 int ffi_closure_helper_DARWIN (ffi_closure* closure, void * rvalue, in ffi_closure_helper_DARWIN() argument 665 rvalue = (void *) *pgr; in ffi_closure_helper_DARWIN() 796 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_DARWIN()
|
D | ffi.c | 162 *gpr_base.u++ = (unsigned long) (char *) ecif->rvalue; in ffi_prep_args_SYSV() 470 *next_arg.ul++ = (unsigned long) (char *) ecif->rvalue; in ffi_prep_args64() 881 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 891 if ((rvalue == NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 893 ecif.rvalue = alloca(cif->rtype->size); in ffi_call() 896 ecif.rvalue = rvalue; in ffi_call() 906 ffi_call_SYSV (&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn); in ffi_call() 910 ffi_call_LINUX64 (&ecif, -(long) cif->bytes, cif->flags, ecif.rvalue, fn); in ffi_call() 996 ffi_closure_helper_SYSV (ffi_closure *closure, void *rvalue, in ffi_closure_helper_SYSV() argument 1034 rvalue = (void *) *pgr; in ffi_closure_helper_SYSV() [all …]
|
/external/libffi/src/cris/ |
D | ffi.c | 243 ffi_call (ffi_cif * cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument 250 if ((rvalue == NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call() 252 ecif.rvalue = alloca (cif->rtype->size); in ffi_call() 255 ecif.rvalue = rvalue; in ffi_call() 261 cif->flags, ecif.rvalue, fn); in ffi_call()
|
/external/libffi/src/ia64/ |
D | ffi.c | 276 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument 285 if (rvalue == NULL && cif->rtype->type != FFI_TYPE_VOID) in ffi_call() 286 rvalue = alloca (cif->rtype->size); in ffi_call() 383 ffi_call_unix (stack, rvalue, fn, cif->flags); in ffi_call() 446 void *rvalue, void *r8) in ffi_closure_unix_inner() argument 460 rvalue = r8; in ffi_closure_unix_inner() 577 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_unix_inner()
|
/external/libffi/darwin-x86/ |
D | ffi.h | 228 void *rvalue, 241 void *rvalue, 355 void *rvalue,
|
/external/libffi/include/ |
D | ffi_real.h | 229 void *rvalue, 242 void *rvalue, 356 void *rvalue,
|
D | ffi_common.h | 76 void *rvalue; member
|
/external/iproute2/tc/ |
D | em_meta.c | 364 unsigned long lvalue = 0, rvalue = 0; in meta_parse_eopt() local 397 a = parse_object(args, a, &meta_hdr.right, &rvalue, &meta_hdr.left); in meta_parse_eopt() 409 dump_value(n, TCA_EM_META_RVALUE, rvalue, &meta_hdr.right); in meta_parse_eopt()
|
/external/bluetooth/bluez/tools/ |
D | hciattach.c | 821 int rvalue; in stlc2500() local 824 rvalue = ericsson(fd, u, ti); in stlc2500() 825 if (rvalue != 0) in stlc2500() 826 return rvalue; in stlc2500()
|