/third_party/libffi/src/mips/ |
D | n32.S | 45 #define SIZEOF_FRAME ( 10 * FFI_SIZEOF_ARG ) 60 .mask 0xc0000000,-FFI_SIZEOF_ARG 66 REG_S $fp, SIZEOF_FRAME - 2*FFI_SIZEOF_ARG($sp) # Save frame pointer 67 REG_S ra, SIZEOF_FRAME - 1*FFI_SIZEOF_ARG($sp) # Save return address 72 REG_S bytes, 2*FFI_SIZEOF_ARG($fp) # bytes 73 REG_S flags, 3*FFI_SIZEOF_ARG($fp) # flags 74 REG_S raddr, 4*FFI_SIZEOF_ARG($fp) # raddr 75 REG_S fn, 5*FFI_SIZEOF_ARG($fp) # fn 76 REG_S closure, 6*FFI_SIZEOF_ARG($fp) # closure 80 bge bytes, 4 * FFI_SIZEOF_ARG, bigger [all …]
|
D | o32.S | 39 #define SIZEOF_FRAME (4 * FFI_SIZEOF_ARG + 2 * FFI_SIZEOF_ARG) 40 #define A3_OFF (SIZEOF_FRAME + 3 * FFI_SIZEOF_ARG) 41 #define FP_OFF (SIZEOF_FRAME - 2 * FFI_SIZEOF_ARG) 42 #define RA_OFF (SIZEOF_FRAME - 1 * FFI_SIZEOF_ARG) 65 LI v0, 4 * FFI_SIZEOF_ARG 75 ADDU a0, $sp, 4 * FFI_SIZEOF_ARG 83 ADDU $sp, 4 * FFI_SIZEOF_ARG # adjust $sp to new args 88 REG_L a0, 0*FFI_SIZEOF_ARG($sp) # just go ahead and load the 89 REG_L a1, 1*FFI_SIZEOF_ARG($sp) # four regs. 90 REG_L a2, 2*FFI_SIZEOF_ARG($sp) [all …]
|
D | ffitarget.h | 74 # define FFI_SIZEOF_ARG 4 macro 77 # define FFI_SIZEOF_ARG 8 macro
|
D | ffi.c | 255 *arg_reg = *loc / FFI_SIZEOF_ARG; in calc_n32_struct_flags() 266 *arg_reg = FFI_ALIGN(*loc, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in calc_n32_struct_flags() 499 loc = arg_reg * FFI_SIZEOF_ARG; in ffi_prep_cif_machdep_int() 880 argn += FFI_ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_mips_inner_O32()
|
/third_party/libffi/src/ |
D | raw_api.c | 46 result += FFI_ALIGN (sizeof (void*), FFI_SIZEOF_ARG); in ffi_raw_size() 49 result += FFI_ALIGN ((*at)->size, FFI_SIZEOF_ARG); in ffi_raw_size() 70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); in ffi_raw_to_ptrarray() 75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); in ffi_raw_to_ptrarray() 78 #if FFI_SIZEOF_ARG >= 4 in ffi_raw_to_ptrarray() 81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); in ffi_raw_to_ptrarray() 101 raw += FFI_ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray() 163 #if FFI_SIZEOF_ARG >= 4 in ffi_ptrarray_to_raw() 189 raw += FFI_ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_ptrarray_to_raw()
|
D | prep_cif.c | 32 #define STACK_ARG_SIZE(x) FFI_ALIGN(x, FFI_SIZEOF_ARG) 156 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 191 if (bytes < 10 * FFI_SIZEOF_ARG && in ffi_prep_cif_core() 192 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 196 bytes = 10 * FFI_SIZEOF_ARG; in ffi_prep_cif_core()
|
D | java_raw_api.c | 248 #if WORDS_BIGENDIAN && FFI_SIZEOF_ARG == 8 in ffi_java_rvalue_to_raw() 280 #if WORDS_BIGENDIAN && FFI_SIZEOF_ARG == 8 in ffi_java_raw_to_rvalue()
|
/third_party/libffi/src/tile/ |
D | ffi.c | 59 if (cif->bytes < NUM_ARG_REGS * FFI_SIZEOF_ARG) in ffi_prep_cif_machdep() 60 cif->bytes = NUM_ARG_REGS * FFI_SIZEOF_ARG; in ffi_prep_cif_machdep() 62 if (cif->rtype->size > NUM_ARG_REGS * FFI_SIZEOF_ARG) in ffi_prep_cif_machdep() 127 return sizeof(UINT64) / FFI_SIZEOF_ARG; in assign_to_ffi_arg() 131 return (type->size + FFI_SIZEOF_ARG - 1) / FFI_SIZEOF_ARG; in assign_to_ffi_arg() 175 long align = arg_word & (type->alignment > FFI_SIZEOF_ARG); in ffi_call() 183 (type->size + FFI_SIZEOF_ARG - 1) / FFI_SIZEOF_ARG; in ffi_call() 203 cif->bytes - (NUM_ARG_REGS * FFI_SIZEOF_ARG), fn); in ffi_call() 323 (type->size + FFI_SIZEOF_ARG - 1) / FFI_SIZEOF_ARG; in ffi_closure_tile_inner() 328 long align = arg_word & (type->alignment > FFI_SIZEOF_ARG); in ffi_closure_tile_inner()
|
D | ffitarget.h | 53 # define FFI_SIZEOF_ARG 8 macro 60 # define FFI_SIZEOF_ARG 4 macro
|
D | tile.S | 32 #define REG_SIZE FFI_SIZEOF_ARG
|
/third_party/libffi/src/x86/ |
D | ffi.c | 146 bytes += FFI_ALIGN (sizeof(void*), FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 185 bytes += FFI_ALIGN (t->size, FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 333 if (z <= FFI_SIZEOF_ARG && t != FFI_TYPE_STRUCT) in ffi_call_int() 352 size_t za = FFI_ALIGN (z, FFI_SIZEOF_ARG); in ffi_call_int() 353 size_t align = FFI_SIZEOF_ARG; in ffi_call_int() 470 if (z <= FFI_SIZEOF_ARG && t != FFI_TYPE_STRUCT) in ffi_closure_inner() 487 size_t za = FFI_ALIGN (z, FFI_SIZEOF_ARG); in ffi_closure_inner() 488 size_t align = FFI_SIZEOF_ARG; in ffi_closure_inner() 740 if (z <= FFI_SIZEOF_ARG && t != FFI_TYPE_STRUCT && t != FFI_TYPE_FLOAT) in ffi_raw_call() 744 z = FFI_SIZEOF_ARG; in ffi_raw_call() [all …]
|
D | ffitarget.h | 48 #define FFI_SIZEOF_ARG 8 macro 70 #define FFI_SIZEOF_ARG 8 macro
|
/third_party/libffi/include/ |
D | ffi-arm.h | 229 #ifndef FFI_SIZEOF_ARG 231 # define FFI_SIZEOF_ARG 4 macro 233 # define FFI_SIZEOF_ARG 8 macro 238 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 245 char data[FFI_SIZEOF_ARG]; 249 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
D | ffi-x86_64.h | 229 #ifndef FFI_SIZEOF_ARG 231 # define FFI_SIZEOF_ARG 4 macro 233 # define FFI_SIZEOF_ARG 8 macro 238 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 245 char data[FFI_SIZEOF_ARG]; 249 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
D | ffi-aarch64.h | 229 #ifndef FFI_SIZEOF_ARG 231 # define FFI_SIZEOF_ARG 4 macro 233 # define FFI_SIZEOF_ARG 8 macro 238 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 245 char data[FFI_SIZEOF_ARG]; 249 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
D | ffitarget-aarch64.h | 31 #define FFI_SIZEOF_ARG 8 macro 36 #define FFI_SIZEOF_ARG 8 macro
|
D | ffitarget-x86_64.h | 48 #define FFI_SIZEOF_ARG 8 macro 70 #define FFI_SIZEOF_ARG 8 macro
|
D | ffi.h.in | 237 #ifndef FFI_SIZEOF_ARG 239 # define FFI_SIZEOF_ARG 4 macro 241 # define FFI_SIZEOF_ARG 8 macro 246 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 253 char data[FFI_SIZEOF_ARG]; 257 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8 259 sizeof(void *) is 4 and FFI_SIZEOF_ARG is 8. */
|
/third_party/libffi/msvc_build/aarch64/aarch64_include/ |
D | ffi.h | 237 #ifndef FFI_SIZEOF_ARG 239 # define FFI_SIZEOF_ARG 4 macro 241 # define FFI_SIZEOF_ARG 8 macro 246 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 253 char data[FFI_SIZEOF_ARG]; 257 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
/third_party/python/Modules/_ctypes/libffi_osx/include/ |
D | ffi.h | 184 #ifndef FFI_SIZEOF_ARG 186 # define FFI_SIZEOF_ARG 4 macro 188 # define FFI_SIZEOF_ARG 8 macro 196 char data[FFI_SIZEOF_ARG];
|
/third_party/libffi/src/alpha/ |
D | ffi.c | 101 bytes += FFI_ALIGN(itype->size, FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 243 argp = frame = alloca(cif->bytes + 4*FFI_SIZEOF_ARG); in ffi_call_int() 288 argn += FFI_ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_call_int() 424 argn += FFI_ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_osf_inner()
|
/third_party/libffi/src/aarch64/ |
D | ffitarget.h | 31 #define FFI_SIZEOF_ARG 8 macro 36 #define FFI_SIZEOF_ARG 8 macro
|
/third_party/python/Modules/_ctypes/libffi_osx/ |
D | ffi.c | 31 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
|
/third_party/libffi/src/cris/ |
D | ffi.c | 32 #define STACK_ARG_SIZE(x) FFI_ALIGN(x, FFI_SIZEOF_ARG)
|
/third_party/libffi/src/pa/ |
D | ffi.c | 439 avalue = (void **)alloca(cif->nargs * FFI_SIZEOF_ARG); in ffi_closure_inner_pa32()
|