/external/python/cpython2/Modules/_ctypes/libffi/src/mips/ |
D | n32.S | 41 #define SIZEOF_FRAME ( 8 * FFI_SIZEOF_ARG ) 54 .mask 0xc0000000,-FFI_SIZEOF_ARG 60 REG_S $fp, SIZEOF_FRAME - 2*FFI_SIZEOF_ARG($sp) # Save frame pointer 61 REG_S ra, SIZEOF_FRAME - 1*FFI_SIZEOF_ARG($sp) # Save return address 66 REG_S bytes, 2*FFI_SIZEOF_ARG($fp) # bytes 67 REG_S flags, 3*FFI_SIZEOF_ARG($fp) # flags 68 REG_S raddr, 4*FFI_SIZEOF_ARG($fp) # raddr 69 REG_S fn, 5*FFI_SIZEOF_ARG($fp) # fn 73 bge bytes, 4 * FFI_SIZEOF_ARG, bigger 74 LI v0, 4 * FFI_SIZEOF_ARG [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 86 REG_L a0, 0*FFI_SIZEOF_ARG($sp) # just go ahead and load the 87 REG_L a1, 1*FFI_SIZEOF_ARG($sp) # four regs. 88 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 | 254 *arg_reg = *loc / FFI_SIZEOF_ARG; in calc_n32_struct_flags() 265 *arg_reg = ALIGN(*loc, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in calc_n32_struct_flags() 495 loc = arg_reg * FFI_SIZEOF_ARG; in ffi_prep_cif_machdep() 838 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_mips_inner_O32()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | raw_api.c | 46 result += ALIGN (sizeof (void*), FFI_SIZEOF_ARG); in ffi_raw_size() 49 result += 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() 97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray() 154 #if FFI_SIZEOF_ARG >= 4 in ffi_ptrarray_to_raw() 176 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_ptrarray_to_raw()
|
D | prep_cif.c | 32 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG) 150 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 188 if (bytes < 10 * FFI_SIZEOF_ARG && in ffi_prep_cif_core() 189 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 193 bytes = 10 * FFI_SIZEOF_ARG; in ffi_prep_cif_core()
|
D | java_raw_api.c | 238 #if WORDS_BIGENDIAN && FFI_SIZEOF_ARG == 8 in ffi_java_rvalue_to_raw() 266 #if WORDS_BIGENDIAN && FFI_SIZEOF_ARG == 8 in ffi_java_raw_to_rvalue()
|
/external/python/cpython2/Modules/_ctypes/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
|
/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/ |
D | ffi.c | 53 if (cif->bytes < 6*FFI_SIZEOF_ARG) in ffi_prep_cif_machdep() 54 cif->bytes = 6*FFI_SIZEOF_ARG; in ffi_prep_cif_machdep() 93 argp = stack = alloca(cif->bytes + 4*FFI_SIZEOF_ARG); in ffi_call() 165 argp += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_call() 279 argn += ALIGN(size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_osf_inner()
|
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/ |
D | ffi.h | 177 #ifndef FFI_SIZEOF_ARG 179 # define FFI_SIZEOF_ARG 4 macro 181 # define FFI_SIZEOF_ARG 8 macro 189 char data[FFI_SIZEOF_ARG];
|
D | prep_cif.c | 31 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
|
/external/python/cpython2/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];
|
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/ |
D | ffi.c | 350 off = ALIGN(off, FFI_SIZEOF_ARG); in ffi_v9_layout_struct() 592 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_sparc_inner_v8() 650 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_sparc_inner_v9() 656 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_closure_sparc_inner_v9()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/x86/ |
D | ffitarget.h | 48 #define FFI_SIZEOF_ARG 8 macro 65 #define FFI_SIZEOF_ARG 8 macro
|
D | ffi.c | 292 cif->bytes += ALIGN(sizeof(void*), FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 312 cif->bytes += (unsigned)ALIGN((*ptr)->size, FFI_SIZEOF_ARG); in ffi_prep_cif_machdep()
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
D | ffi.h | 178 #define FFI_SIZEOF_ARG 8 macro 180 #define FFI_SIZEOF_ARG 4 macro 187 char data[FFI_SIZEOF_ARG];
|
D | prep_cif.c | 31 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
|
/external/python/cpython2/Modules/_ctypes/libffi/include/ |
D | ffi.h.in | 240 #ifndef FFI_SIZEOF_ARG 242 # define FFI_SIZEOF_ARG 4 macro 244 # define FFI_SIZEOF_ARG 8 macro 249 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 256 char data[FFI_SIZEOF_ARG]; 260 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8 262 sizeof(void *) is 4 and FFI_SIZEOF_ARG is 8. */
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/ |
D | ffi.c | 31 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
|
/external/python/cpython2/Modules/_ctypes/libffi/src/cris/ |
D | ffi.c | 32 #define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
|
/external/python/cpython2/Modules/_ctypes/libffi/src/pa/ |
D | ffi.c | 439 avalue = (void **)alloca(cif->nargs * FFI_SIZEOF_ARG); in ffi_closure_inner_pa32()
|
/external/python/cpython2/Modules/_ctypes/libffi/ |
D | ChangeLog.libffi-3.1 | 1201 * src/x86/ffitarget.h (FFI_SIZEOF_ARG): Defined to 8 for x32. 2805 * src/java_raw_api.c (ffi_java_raw_size): Replace FFI_SIZEOF_ARG with 2808 Replace FFI_SIZEOF_ARG with FFI_SIZEOF_JAVA_RAW. Use 4832 SIZEOF_ARG -> FFI_SIZEOF_ARG.
|