/third_party/libffi/testsuite/libffi.closures/ |
D | closure_loc_fn0.c | 55 void *codeloc; in main() local 79 pcl = ffi_closure_alloc(sizeof(ffi_closure), &codeloc); in main() 81 CHECK(codeloc != NULL); in main() 84 (void *) 3 /* userdata */, codeloc) == FFI_OK); in main() 86 CHECK(memcmp(pcl, codeloc, sizeof(*pcl)) == 0); in main() 88 res = (*((closure_loc_test_type0)codeloc)) in main()
|
/third_party/python/Modules/_ctypes/ |
D | malloc_closure.c | 110 void *Py_ffi_closure_alloc(size_t size, void** codeloc) in Py_ffi_closure_alloc() argument 116 return ffi_closure_alloc(size, codeloc); in Py_ffi_closure_alloc() 130 *codeloc = (ITEM*)((uintptr_t)item | 1); in Py_ffi_closure_alloc() 132 *codeloc = (void *)item; in Py_ffi_closure_alloc()
|
/third_party/libffi/src/m68k/ |
D | ffi.c | 329 void *codeloc) in ffi_prep_closure_loc() argument 335 *(void **)(closure->tramp + 2) = codeloc; in ffi_prep_closure_loc() 349 rtems_cache_flush_multiple_data_lines( codeloc, FFI_TRAMPOLINE_SIZE ); in ffi_prep_closure_loc() 351 Ssystem(S_FLUSHCACHE, codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc() 353 syscall(SYS_cacheflush, codeloc, FLUSH_SCOPE_LINE, in ffi_prep_closure_loc()
|
/third_party/libffi/src/frv/ |
D | ffi.c | 253 void *codeloc) in ffi_prep_closure_loc() argument 257 unsigned long cls = (long) codeloc; in ffi_prep_closure_loc() 266 tramp[0] = &((unsigned int *)codeloc)[2]; in ffi_prep_closure_loc() 289 "r" (codeloc)); in ffi_prep_closure_loc()
|
/third_party/libffi/src/powerpc/ |
D | ffi.c | 153 void *codeloc) in ffi_prep_closure_loc() argument 156 return ffi_prep_closure_loc_linux64 (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc() 158 return ffi_prep_closure_loc_sysv (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc()
|
D | ffi_darwin.c | 1044 void *codeloc) in ffi_prep_closure_loc() argument 1069 *((unsigned long *)&tramp[4]) = (unsigned long) codeloc; /* context */ in ffi_prep_closure_loc() 1080 tramp[3] = (unsigned long) codeloc; /* context */ in ffi_prep_closure_loc() 1087 flush_range(codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc() 1100 tramp_aix->static_chain = codeloc; in ffi_prep_closure_loc()
|
/third_party/libffi/src/ |
D | raw_api.c | 229 void *codeloc) in ffi_prep_raw_closure_loc() argument 236 codeloc, in ffi_prep_raw_closure_loc() 237 codeloc); in ffi_prep_raw_closure_loc()
|
D | java_raw_api.c | 341 void *codeloc) in ffi_prep_java_raw_closure_loc() argument 348 codeloc, in ffi_prep_java_raw_closure_loc() 349 codeloc); in ffi_prep_java_raw_closure_loc()
|
/third_party/libffi/src/arc/ |
D | ffi.c | 243 void *user_data, void *codeloc) in ffi_prep_closure_loc() argument 250 FFI_ASSERT (tramp == codeloc); in ffi_prep_closure_loc() 263 cacheflush (codeloc, FFI_TRAMPOLINE_SIZE, BCACHE); in ffi_prep_closure_loc()
|
/third_party/libffi/src/mips/ |
D | ffi.c | 703 void *codeloc) in ffi_prep_closure_loc() argument 707 char *clear_location = (char *) codeloc; in ffi_prep_closure_loc() 732 tramp[2] = 0x3c0c0000 | ((unsigned)codeloc >> 16); in ffi_prep_closure_loc() 740 tramp[4] = 0x358c0000 | ((unsigned)codeloc & 0xffff); in ffi_prep_closure_loc() 746 tramp[1] = 0x3c0c0000 | ((unsigned long)codeloc >> 48); in ffi_prep_closure_loc() 750 tramp[3] = 0x358c0000 | (((unsigned long)codeloc >> 32) & 0xffff); in ffi_prep_closure_loc() 758 tramp[7] = 0x358c0000 | (((unsigned long)codeloc >> 16) & 0xffff); in ffi_prep_closure_loc() 772 tramp[12] = 0x358c0000 | ((unsigned long)codeloc & 0xffff); in ffi_prep_closure_loc()
|
/third_party/libffi/src/x86/ |
D | ffi.c | 534 void *codeloc) in ffi_prep_closure_loc() argument 562 *(void **)(tramp + 1) = codeloc; in ffi_prep_closure_loc() 566 *(unsigned *)(tramp + 6) = (unsigned)dest - ((unsigned)codeloc + 10); in ffi_prep_closure_loc() 623 void *codeloc) in ffi_prep_raw_closure_loc() argument 655 *(void **)(tramp + 1) = codeloc; in ffi_prep_raw_closure_loc() 659 *(unsigned *)(tramp + 6) = (unsigned)dest - ((unsigned)codeloc + 10); in ffi_prep_raw_closure_loc()
|
/third_party/libffi/src/sh64/ |
D | ffi.c | 301 void *codeloc) in ffi_prep_closure_loc() argument 326 tramp[5] = 0xcc000010 | (((UINT32) codeloc) >> 16) << 10; in ffi_prep_closure_loc() 327 tramp[6] = 0xc8000010 | (((UINT32) codeloc) & 0xffff) << 10; in ffi_prep_closure_loc() 336 "r"(codeloc)); in ffi_prep_closure_loc()
|
/third_party/libffi/src/m88k/ |
D | ffi.c | 370 void *user_data, void *codeloc) in ffi_prep_closure_loc() argument 372 unsigned int *tramp = (unsigned int *) codeloc; in ffi_prep_closure_loc() 393 ffi_cacheflush_OBSD((unsigned int)codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc()
|
/third_party/libffi/include/ |
D | ffi-arm.h | 335 void*codeloc); 402 void *codeloc); 415 void *codeloc);
|
D | ffi-x86_64.h | 335 void*codeloc); 402 void *codeloc); 415 void *codeloc);
|
D | ffi-aarch64.h | 335 void*codeloc); 402 void *codeloc); 415 void *codeloc);
|
/third_party/libffi/msvc_build/aarch64/aarch64_include/ |
D | ffi.h | 348 void*codeloc); 415 void *codeloc); 428 void *codeloc);
|
/third_party/libffi/src/arm/ |
D | ffi.c | 576 void *user_data, void *codeloc) in ffi_prep_closure_loc() argument 590 void **config = (void **)((uint8_t *)codeloc - PAGE_MAX_SIZE); in ffi_prep_closure_loc() 604 msync(codeloc, 8, 0x1000000); /* clear insn map */ in ffi_prep_closure_loc() 609 __clear_cache(codeloc, codeloc + 8); /* clear insn map */ in ffi_prep_closure_loc()
|
/third_party/libffi/src/vax/ |
D | ffi.c | 244 void *user_data, void *codeloc) in ffi_prep_closure_loc() argument 246 char *tramp = (char *) codeloc; in ffi_prep_closure_loc()
|
/third_party/libffi/src/moxie/ |
D | ffi.c | 262 void *codeloc) in ffi_prep_closure_loc() argument 266 unsigned long cls = (long) codeloc; in ffi_prep_closure_loc()
|
/third_party/libffi/src/microblaze/ |
D | ffi.c | 280 void* user_data, void* codeloc) in ffi_prep_closure_loc() argument 283 unsigned long cls = (unsigned long)codeloc; in ffi_prep_closure_loc()
|
/third_party/libffi/src/or1k/ |
D | ffi.c | 269 void *codeloc) in ffi_prep_closure_loc() argument 273 unsigned long cls = (unsigned long) codeloc; in ffi_prep_closure_loc()
|
/third_party/libffi/src/metag/ |
D | ffi.c | 245 void *codeloc) in ffi_prep_closure_loc() argument 257 (unsigned int)codeloc); in ffi_prep_closure_loc()
|
/third_party/libffi/src/sh/ |
D | ffi.c | 461 void *codeloc) in ffi_prep_closure_loc() argument 482 *(void **) &tramp[2] = (void *)codeloc; /* ctx */ in ffi_prep_closure_loc() 491 __ic_invalidate(codeloc); in ffi_prep_closure_loc()
|
/third_party/libffi/src/tile/ |
D | ffi.c | 219 void *codeloc) in ffi_prep_closure_loc() argument 264 delta = (intptr_t)ffi_closure_tile - (intptr_t)codeloc; in ffi_prep_closure_loc()
|