Home
last modified time | relevance | path

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

1234

/external/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/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/libffi/src/x86/
Dffi.c724 void *codeloc) in ffi_prep_closure_loc() argument
734 codeloc, mask); in ffi_prep_closure_loc()
742 (void*)codeloc); in ffi_prep_closure_loc()
748 (void*)codeloc); in ffi_prep_closure_loc()
754 (void*)codeloc); in ffi_prep_closure_loc()
760 (void*)codeloc); in ffi_prep_closure_loc()
766 (void*)codeloc); in ffi_prep_closure_loc()
773 (void*)codeloc); in ffi_prep_closure_loc()
798 void *codeloc) in ffi_prep_raw_closure_loc() argument
825 codeloc); in ffi_prep_raw_closure_loc()
[all …]
/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/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/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()
/external/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()
/external/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/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/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/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/
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/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/libffi/src/
Draw_api.c229 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()
Djava_raw_api.c341 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()
/external/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/
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/cpython3/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/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/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/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/android_arm/libffi/
Dffi.h337 void*codeloc);
404 void *codeloc);
417 void *codeloc);

1234