/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
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()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/powerpc/ |
D | ffi.c | 134 void *codeloc) in ffi_prep_closure_loc() argument 137 return ffi_prep_closure_loc_linux64 (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc() 139 return ffi_prep_closure_loc_sysv (closure, cif, fun, user_data, codeloc); in ffi_prep_closure_loc()
|
D | ffi_darwin.c | 1008 void *codeloc) in ffi_prep_closure_loc() argument 1033 *((unsigned long *)&tramp[4]) = (unsigned long) codeloc; /* context */ in ffi_prep_closure_loc() 1044 tramp[3] = (unsigned long) codeloc; /* context */ in ffi_prep_closure_loc() 1051 flush_range(codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc() 1064 tramp_aix->static_chain = codeloc; in ffi_prep_closure_loc()
|
D | ffi_linux64.c | 675 void *codeloc) in ffi_prep_closure_loc_linux64() argument 690 *(void **) &tramp[6] = codeloc; in ffi_prep_closure_loc_linux64() 691 flush_icache ((char *)tramp, (char *)codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc_linux64() 701 tramp[1] = codeloc; in ffi_prep_closure_loc_linux64()
|
D | ffi_sysv.c | 648 void *codeloc) in ffi_prep_closure_loc_sysv() argument 665 *(void **) &tramp[3] = codeloc; /* context */ in ffi_prep_closure_loc_sysv() 668 flush_icache ((char *)tramp, (char *)codeloc, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure_loc_sysv()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/ |
D | ffi.c | 656 void *codeloc) in ffi_prep_closure_loc() argument 666 codeloc, mask); in ffi_prep_closure_loc() 674 (void*)codeloc); in ffi_prep_closure_loc() 680 (void*)codeloc); in ffi_prep_closure_loc() 686 (void*)codeloc); in ffi_prep_closure_loc() 692 (void*)codeloc); in ffi_prep_closure_loc() 699 (void*)codeloc); in ffi_prep_closure_loc() 724 void *codeloc) in ffi_prep_raw_closure_loc() argument 751 codeloc); in ffi_prep_raw_closure_loc() 756 …FFI_INIT_TRAMPOLINE_RAW_THISCALL (&closure->tramp[0], &ffi_closure_raw_THISCALL, codeloc, cif->byt… in ffi_prep_raw_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | raw_api.c | 216 void *codeloc) in ffi_prep_raw_closure_loc() argument 223 codeloc, in ffi_prep_raw_closure_loc() 224 codeloc); in ffi_prep_raw_closure_loc()
|
D | java_raw_api.c | 323 void *codeloc) in ffi_prep_java_raw_closure_loc() argument 330 codeloc, in ffi_prep_java_raw_closure_loc() 331 codeloc); in ffi_prep_java_raw_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/ |
D | malloc_closure.c | 100 void *ffi_closure_alloc(size_t ignored, void** codeloc) in ffi_closure_alloc() argument 109 *codeloc = (void *)item; in ffi_closure_alloc()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/arc/ |
D | ffi.c | 245 void *user_data, void *codeloc) in ffi_prep_closure_loc() argument 252 FFI_ASSERT (tramp == codeloc); in ffi_prep_closure_loc() 265 cacheflush (codeloc, FFI_TRAMPOLINE_SIZE, BCACHE); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/ |
D | ffi.c | 670 void *codeloc) in ffi_prep_closure_loc() argument 674 char *clear_location = (char *) codeloc; in ffi_prep_closure_loc() 699 tramp[2] = 0x3c0c0000 | ((unsigned)codeloc >> 16); in ffi_prep_closure_loc() 703 tramp[4] = 0x358c0000 | ((unsigned)codeloc & 0xffff); in ffi_prep_closure_loc() 709 tramp[1] = 0x3c0c0000 | ((unsigned long)codeloc >> 48); in ffi_prep_closure_loc() 713 tramp[3] = 0x358c0000 | (((unsigned long)codeloc >> 32) & 0xffff); in ffi_prep_closure_loc() 721 tramp[7] = 0x358c0000 | (((unsigned long)codeloc >> 16) & 0xffff); in ffi_prep_closure_loc() 731 tramp[12] = 0x358c0000 | ((unsigned long)codeloc & 0xffff); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/ |
D | ffi.c | 249 void *codeloc) in ffi_prep_closure_loc() argument 253 unsigned long cls = (long) codeloc; in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/ |
D | ffi.c | 577 #define FFI_TRAMPOLINE_CODELOC_CONFIG(codeloc) ((void **) (((uint8_t *) codeloc) - 4080)); argument 777 void *codeloc) in ffi_prep_closure_loc() argument 791 void **config = FFI_TRAMPOLINE_CODELOC_CONFIG(codeloc); in ffi_prep_closure_loc() 797 codeloc); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/s390/ |
D | ffi.c | 751 void *codeloc) in ffi_prep_closure_loc() argument 761 *(long *)&closure->tramp [8] = (long)codeloc; in ffi_prep_closure_loc() 769 *(long *)&closure->tramp[16] = (long)codeloc; in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/ |
D | ffi.c | 245 void *codeloc) in ffi_prep_closure_loc() argument 257 (unsigned int)codeloc); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/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()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/cris/ |
D | ffi.c | 371 void *codeloc) in ffi_prep_closure_loc() argument 383 &codeloc, sizeof (void *)); in ffi_prep_closure_loc()
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 349 void *codeloc) in ffi_prep_raw_closure_loc() argument 368 codeloc); in ffi_prep_raw_closure_loc()
|