Home
last modified time | relevance | path

Searched refs:codeloc (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dclosure_loc_fn0.c55 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/
Dffi.c134 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()
Dffi_darwin.c1008 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()
Dffi_linux64.c675 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()
Dffi_sysv.c648 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/
Dffi.c329 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/
Dffi.c253 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/
Dffi.c656 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/
Draw_api.c216 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()
Djava_raw_api.c323 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/
Dmalloc_closure.c100 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/
Dffi.c245 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/
Dffi.c670 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/
Dffi.c301 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/
Dffi.c370 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/
Dffi.c244 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/
Dffi.c249 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/
Dffi.c577 #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/
Dffi.c280 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/
Dffi.c751 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/
Dffi.c245 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/
Dffi.c461 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/
Dffi.c219 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/
Dffi.c371 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/
Dx86-ffi_darwin.c349 void *codeloc) in ffi_prep_raw_closure_loc() argument
368 codeloc); in ffi_prep_raw_closure_loc()

12