/external/libffi/src/ |
H A D | prep_cif.c | 111 ffi_type *rtype, ffi_type **atypes) 127 cif->rtype = rtype; 136 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 140 if (rtype->type == FFI_TYPE_COMPLEX) 144 FFI_ASSERT_VALID_TYPE(cif->rtype); 149 if (cif->rtype->type == FFI_TYPE_STRUCT 151 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 154 && (cif->rtype 107 ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi, unsigned int isvariadic, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument 226 ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument 232 ffi_prep_cif_var(ffi_cif *cif, ffi_abi abi, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
H A D | prep_cif.c | 111 ffi_type *rtype, ffi_type **atypes) 127 cif->rtype = rtype; 136 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 140 FFI_ASSERT_VALID_TYPE(cif->rtype); 145 if (cif->rtype->type == FFI_TYPE_STRUCT 147 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 150 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) 153 && (cif->rtype 107 ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi, unsigned int isvariadic, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument 218 ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument 224 ffi_prep_cif_var(ffi_cif *cif, ffi_abi abi, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/ |
H A D | prep_cif.c | 111 ffi_type *rtype, ffi_type **atypes) 127 cif->rtype = rtype; 136 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 140 FFI_ASSERT_VALID_TYPE(cif->rtype); 145 if (cif->rtype->type == FFI_TYPE_STRUCT 147 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 150 && (cif->rtype->size > 10 * FFI_SIZEOF_ARG) 153 && (cif->rtype 107 ffi_prep_cif_core(ffi_cif *cif, ffi_abi abi, unsigned int isvariadic, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument 218 ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument 224 ffi_prep_cif_var(ffi_cif *cif, ffi_abi abi, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes) argument [all...] |
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
H A D | prep_cif.c | 89 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type *rtype, 102 cif->rtype = rtype; 108 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 113 FFI_ASSERT_VALID_TYPE(cif->rtype); 118 if (cif->rtype->type == FFI_TYPE_STRUCT 120 && (cif->rtype->size > 8) /* MSVC returns small structs in registers */ 123 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 87 ffi_prep_cif( ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument
|
H A D | ffi.c | 49 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) 133 switch (cif->rtype->type) 140 cif->flags = (unsigned) cif->rtype->type; 147 if (cif->rtype->size <= 4) 149 else if (cif->rtype->size <= 8) 203 (cif->rtype->type == FFI_TYPE_STRUCT)) 206 ecif.rvalue = alloca(cif->rtype->size); 257 unsigned short rtype; local 274 rtype = cif->flags; 278 /* now, do a generic return based on the value of rtype */ [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
H A D | prep_cif.c | 89 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type *rtype, 102 cif->rtype = rtype; 108 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 113 FFI_ASSERT_VALID_TYPE(cif->rtype); 118 if (cif->rtype->type == FFI_TYPE_STRUCT 120 && (cif->rtype->size > 8) /* MSVC returns small structs in registers */ 123 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 87 ffi_prep_cif( ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument
|
H A D | ffi.c | 49 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) 152 switch (cif->rtype->type) 159 cif->flags = (unsigned) cif->rtype->type; 166 if (cif->rtype->size <= 4) 168 else if (cif->rtype->size <= 8) 222 (cif->rtype->type == FFI_TYPE_STRUCT)) 225 ecif.rvalue = alloca(cif->rtype->size); 286 unsigned short rtype; local 303 rtype = cif->flags; 307 /* now, do a generic return based on the value of rtype */ [all...] |
/external/libffi/src/m32r/ |
H A D | ffi.c | 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) 143 switch (cif->rtype->type) 146 cif->flags = (unsigned) cif->rtype->type; 150 if (cif->rtype->size <= 4) 153 else if (cif->rtype->size <= 8) 157 cif->flags = (unsigned) cif->rtype->type; 188 (cif->rtype->type == FFI_TYPE_STRUCT)) 190 ecif.rvalue = alloca (cif->rtype->size); 200 if (cif->rtype [all...] |
/external/libffi/src/vax/ |
H A D | ffi.c | 61 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 125 switch (cif->rtype->type) 132 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 133 cif->rtype->elements[1]) 139 if (cif->rtype->size == sizeof (char)) 141 else if (cif->rtype->size == sizeof (short)) 143 else if (cif->rtype->size == sizeof (int)) 145 else if (cif->rtype->size == 2 * sizeof (int)) 152 if (cif->rtype->size <= sizeof (int)) 174 && cif->rtype [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/m32r/ |
H A D | ffi.c | 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) 143 switch (cif->rtype->type) 146 cif->flags = (unsigned) cif->rtype->type; 150 if (cif->rtype->size <= 4) 153 else if (cif->rtype->size <= 8) 157 cif->flags = (unsigned) cif->rtype->type; 188 (cif->rtype->type == FFI_TYPE_STRUCT)) 190 ecif.rvalue = alloca (cif->rtype->size); 200 if (cif->rtype [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/vax/ |
H A D | ffi.c | 61 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 125 switch (cif->rtype->type) 132 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 133 cif->rtype->elements[1]) 139 if (cif->rtype->size == sizeof (char)) 141 else if (cif->rtype->size == sizeof (short)) 143 else if (cif->rtype->size == sizeof (int)) 145 else if (cif->rtype->size == 2 * sizeof (int)) 152 if (cif->rtype->size <= sizeof (int)) 174 && cif->rtype [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/m32r/ |
H A D | ffi.c | 47 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT && ecif->cif->rtype->size > 8) 143 switch (cif->rtype->type) 146 cif->flags = (unsigned) cif->rtype->type; 150 if (cif->rtype->size <= 4) 153 else if (cif->rtype->size <= 8) 157 cif->flags = (unsigned) cif->rtype->type; 188 (cif->rtype->type == FFI_TYPE_STRUCT)) 190 ecif.rvalue = alloca (cif->rtype->size); 200 if (cif->rtype [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/vax/ |
H A D | ffi.c | 61 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 125 switch (cif->rtype->type) 132 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 133 cif->rtype->elements[1]) 139 if (cif->rtype->size == sizeof (char)) 141 else if (cif->rtype->size == sizeof (short)) 143 else if (cif->rtype->size == sizeof (int)) 145 else if (cif->rtype->size == 2 * sizeof (int)) 152 if (cif->rtype->size <= sizeof (int)) 174 && cif->rtype [all...] |
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/ |
H A D | prep_cif.c | 89 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type *rtype, 102 cif->rtype = rtype; 108 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 113 FFI_ASSERT_VALID_TYPE(cif->rtype); 118 if (cif->rtype->type == FFI_TYPE_STRUCT 123 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 87 ffi_prep_cif( ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes) argument
|
/external/libffi/src/moxie/ |
H A D | ffi.c | 46 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) 109 if (cif->rtype->type == FFI_TYPE_STRUCT) 112 cif->flags = cif->rtype->size; 139 (cif->rtype->type == FFI_TYPE_STRUCT)) 141 ecif.rvalue = alloca(cif->rtype->size); 189 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { 231 if (cif->rtype && (cif->rtype->type == FFI_TYPE_STRUCT))
|
/external/libffi/src/nios2/ |
H A D | ffi.c | 88 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 89 && ecif->cif->rtype->size > 8) 159 int bigret = (cif->rtype->type == FFI_TYPE_STRUCT 160 && cif->rtype->size > 8); 168 ecif.rvalue = alloca (cif->rtype->size); 178 switch (cif->rtype->size) 193 memcpy (rvalue, (void *)&result, cif->rtype->size); 216 if (cif->rtype->type == FFI_TYPE_STRUCT 217 && cif->rtype->size > 8)
|
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/ |
H A D | ffi.c | 46 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) 109 if (cif->rtype->type == FFI_TYPE_STRUCT) 112 cif->flags = cif->rtype->size; 139 (cif->rtype->type == FFI_TYPE_STRUCT)) 141 ecif.rvalue = alloca(cif->rtype->size); 189 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { 231 if (cif->rtype && (cif->rtype->type == FFI_TYPE_STRUCT))
|
/external/python/cpython2/Modules/_ctypes/libffi/src/nios2/ |
H A D | ffi.c | 88 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 89 && ecif->cif->rtype->size > 8) 159 int bigret = (cif->rtype->type == FFI_TYPE_STRUCT 160 && cif->rtype->size > 8); 168 ecif.rvalue = alloca (cif->rtype->size); 178 switch (cif->rtype->size) 193 memcpy (rvalue, (void *)&result, cif->rtype->size); 216 if (cif->rtype->type == FFI_TYPE_STRUCT 217 && cif->rtype->size > 8)
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/ |
H A D | ffi.c | 135 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type* rtype, 151 cif->rtype = rtype; 156 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 161 FFI_ASSERT_VALID_TYPE(cif->rtype); 166 if (cif->rtype->type == FFI_TYPE_STRUCT 168 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 171 && (struct_on_stack(cif->rtype->size)) 131 ffi_prep_cif( ffi_cif* cif, ffi_abi abi, unsigned int nargs, ffi_type* rtype, ffi_type** atypes) argument
|
/external/python/cpython3/Modules/_ctypes/libffi/src/moxie/ |
H A D | ffi.c | 46 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT) 109 if (cif->rtype->type == FFI_TYPE_STRUCT) 112 cif->flags = cif->rtype->size; 139 (cif->rtype->type == FFI_TYPE_STRUCT)) 141 ecif.rvalue = alloca(cif->rtype->size); 189 if ((cif->rtype != NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) { 231 if (cif->rtype && (cif->rtype->type == FFI_TYPE_STRUCT))
|
/external/python/cpython3/Modules/_ctypes/libffi/src/nios2/ |
H A D | ffi.c | 88 if (ecif->cif->rtype->type == FFI_TYPE_STRUCT 89 && ecif->cif->rtype->size > 8) 159 int bigret = (cif->rtype->type == FFI_TYPE_STRUCT 160 && cif->rtype->size > 8); 168 ecif.rvalue = alloca (cif->rtype->size); 178 switch (cif->rtype->size) 193 memcpy (rvalue, (void *)&result, cif->rtype->size); 216 if (cif->rtype->type == FFI_TYPE_STRUCT 217 && cif->rtype->size > 8)
|
/external/python/cpython3/Modules/_ctypes/libffi_osx/ |
H A D | ffi.c | 136 /*@dependent@*/ /*@out@*/ /*@partial@*/ ffi_type* rtype, 152 cif->rtype = rtype; 157 if ((cif->rtype->size == 0) && (initialize_aggregate(cif->rtype) != FFI_OK)) 162 FFI_ASSERT_VALID_TYPE(cif->rtype); 167 if (cif->rtype->type == FFI_TYPE_STRUCT 169 && (cif->abi != FFI_V9 || cif->rtype->size > 32) 172 && (struct_on_stack(cif->rtype->size)) 132 ffi_prep_cif( ffi_cif* cif, ffi_abi abi, unsigned int nargs, ffi_type* rtype, ffi_type** atypes) argument
|
/external/libffi/src/m68k/ |
H A D | ffi.c | 49 (ecif->cif->rtype->type == FFI_TYPE_LONGDOUBLE) || 51 (((ecif->cif->rtype->type == FFI_TYPE_STRUCT) 134 switch (cif->rtype->type) 141 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 142 cif->rtype->elements[1]) 148 switch (cif->rtype->size) 233 && cif->rtype->type == FFI_TYPE_STRUCT 234 && cif->rtype->size > 8) 235 ecif.rvalue = alloca (cif->rtype->size); 270 cif->rtype [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/m68k/ |
H A D | ffi.c | 49 (ecif->cif->rtype->type == FFI_TYPE_LONGDOUBLE) || 51 (((ecif->cif->rtype->type == FFI_TYPE_STRUCT) 134 switch (cif->rtype->type) 141 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 142 cif->rtype->elements[1]) 148 switch (cif->rtype->size) 233 && cif->rtype->type == FFI_TYPE_STRUCT 234 && cif->rtype->size > 8) 235 ecif.rvalue = alloca (cif->rtype->size); 270 cif->rtype [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/m68k/ |
H A D | ffi.c | 49 (ecif->cif->rtype->type == FFI_TYPE_LONGDOUBLE) || 51 (((ecif->cif->rtype->type == FFI_TYPE_STRUCT) 134 switch (cif->rtype->type) 141 if (cif->rtype->elements[0]->type == FFI_TYPE_STRUCT && 142 cif->rtype->elements[1]) 148 switch (cif->rtype->size) 233 && cif->rtype->type == FFI_TYPE_STRUCT 234 && cif->rtype->size > 8) 235 ecif.rvalue = alloca (cif->rtype->size); 270 cif->rtype [all...] |