Home
last modified time | relevance | path

Searched refs:__tramp (Results 1 – 3 of 3) sorted by relevance

/third_party/libffi/src/avr32/
Dffi.c401 unsigned char *__tramp = (unsigned char*)(&closure->tramp[0]); in ffi_prep_closure_loc() local
406 *(unsigned int*) &__tramp[0] = 0xebcd1f00; /* pushm r8-r12 */ in ffi_prep_closure_loc()
407 *(unsigned int*) &__tramp[4] = 0xfefc0010; /* ld.w r12, pc[16] */ in ffi_prep_closure_loc()
408 *(unsigned int*) &__tramp[8] = 0xfefb0010; /* ld.w r11, pc[16] */ in ffi_prep_closure_loc()
409 *(unsigned int*) &__tramp[12] = 0xfefa0010; /* ld.w r10, pc[16] */ in ffi_prep_closure_loc()
410 *(unsigned int*) &__tramp[16] = 0xfeff0010; /* ld.w pc, pc[16] */ in ffi_prep_closure_loc()
411 *(unsigned int*) &__tramp[20] = __ctx; in ffi_prep_closure_loc()
412 *(unsigned int*) &__tramp[24] = __rstruct_flag; in ffi_prep_closure_loc()
413 *(unsigned int*) &__tramp[28] = __inner; in ffi_prep_closure_loc()
414 *(unsigned int*) &__tramp[32] = __fun; in ffi_prep_closure_loc()
[all …]
/third_party/libffi/src/metag/
Dffi.c227 void ffi_init_trampoline(unsigned char *__tramp, unsigned int __fun, unsigned int __ctx) { in ffi_init_trampoline() argument
228 memcpy (__tramp, ffi_metag_trampoline, sizeof(ffi_metag_trampoline)); in ffi_init_trampoline()
229 *(unsigned int*) &__tramp[40] = __ctx; in ffi_init_trampoline()
230 *(unsigned int*) &__tramp[44] = __fun; in ffi_init_trampoline()
232 __builtin_meta2_cachewd(&__tramp[0], 1); in ffi_init_trampoline()
233 __builtin_meta2_cachewd(&__tramp[47], 1); in ffi_init_trampoline()
/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c308 ({ unsigned char *__tramp = (unsigned char*)(TRAMP); \
312 *(unsigned char*) &__tramp[0] = 0xb8; \
313 *(unsigned int*) &__tramp[1] = __ctx; /* movl __ctx, %eax */ \
314 *(unsigned char *) &__tramp[5] = 0xe9; \
315 *(unsigned int*) &__tramp[6] = __dis; /* jmp __fun */ \