/external/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 …]
|
/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 …]
|
/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()
|
/external/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() 101 raw += 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 += 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) 154 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 196 if (bytes < 10 * FFI_SIZEOF_ARG && in ffi_prep_cif_core() 197 bytes + STACK_ARG_SIZE((*ptr)->size) > 10 * FFI_SIZEOF_ARG) in ffi_prep_cif_core() 201 bytes = 10 * FFI_SIZEOF_ARG; in ffi_prep_cif_core()
|
/external/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
|
/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
|
/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/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/libffi/src/x86/ |
D | ffi.c | 109 if (z > FFI_SIZEOF_ARG in ffi_prep_args() 117 z = FFI_SIZEOF_ARG; in ffi_prep_args() 126 if (z < FFI_SIZEOF_ARG) in ffi_prep_args() 128 z = FFI_SIZEOF_ARG; in ffi_prep_args() 172 if ((z == FFI_SIZEOF_ARG) in ffi_prep_args() 219 … memmove (argp2 + FFI_SIZEOF_ARG, argp2, (size_t) ((char*) p_stack_data[i] - (char*)argp2)); in ffi_prep_args() 223 argp2 += FFI_SIZEOF_ARG; in ffi_prep_args() 300 cif->bytes += ALIGN(sizeof(void*), FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 320 cif->bytes += (unsigned)ALIGN((*ptr)->size, FFI_SIZEOF_ARG); in ffi_prep_cif_machdep() 325 cif->bytes += 4 * FFI_SIZEOF_ARG; in ffi_prep_cif_machdep() [all …]
|
/external/python/cpython2/android_x86/libffi/ |
D | ffi.h | 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
|
/external/python/cpython2/android_arm/libffi/ |
D | ffi.h | 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
|
/external/python/cpython2/darwin_x86_64/libffi/ |
D | ffi.h | 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
|
/external/python/cpython2/linux_x86_64/libffi/ |
D | ffi.h | 241 #ifndef FFI_SIZEOF_ARG 243 # define FFI_SIZEOF_ARG 4 macro 245 # define FFI_SIZEOF_ARG 8 macro 250 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 257 char data[FFI_SIZEOF_ARG]; 261 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
/external/python/cpython2/android_x86_64/libffi/ |
D | ffi.h | 241 #ifndef FFI_SIZEOF_ARG 243 # define FFI_SIZEOF_ARG 4 macro 245 # define FFI_SIZEOF_ARG 8 macro 250 # define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG 257 char data[FFI_SIZEOF_ARG]; 261 #if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8
|
/external/python/cpython2/android_arm64/libffi/ |
D | ffi.h | 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
|
/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];
|
/external/python/cpython3/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_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()
|