Home
last modified time | relevance | path

Searched refs:FFI_ASSERT (Results 1 – 25 of 41) sorted by relevance

12

/third_party/libffi/src/cris/
Dffi.c39 FFI_ASSERT (arg != NULL); in initialize_aggregate_packed_struct()
41 FFI_ASSERT (arg->elements != NULL); in initialize_aggregate_packed_struct()
42 FFI_ASSERT (arg->size == 0); in initialize_aggregate_packed_struct()
43 FFI_ASSERT (arg->alignment == 0); in initialize_aggregate_packed_struct()
53 FFI_ASSERT (ffi_type_test ((*ptr))); in initialize_aggregate_packed_struct()
139 FFI_ASSERT (0); in ffi_prep_args()
166 FFI_ASSERT (cif != NULL); in ffi_prep_cif_core()
167 FFI_ASSERT((!isvariadic) || (nfixedargs >= 1)); in ffi_prep_cif_core()
168 FFI_ASSERT(nfixedargs <= ntotalargs); in ffi_prep_cif_core()
169 FFI_ASSERT (abi > FFI_FIRST_ABI && abi < FFI_LAST_ABI); in ffi_prep_cif_core()
[all …]
/third_party/libffi/src/powerpc/
Dffi_sysv.c282 FFI_ASSERT (0); in ffi_prep_cif_sysv_core()
443 FFI_ASSERT (((unsigned long) (char *) stack & 0xF) == 0); in ffi_prep_args_SYSV()
444 FFI_ASSERT (((unsigned long) copy_space.c & 0xF) == 0); in ffi_prep_args_SYSV()
445 FFI_ASSERT (((unsigned long) stacktop.c & 0xF) == 0); in ffi_prep_args_SYSV()
446 FFI_ASSERT ((bytes & 0xF) == 0); in ffi_prep_args_SYSV()
447 FFI_ASSERT (copy_space.c >= next_arg.c); in ffi_prep_args_SYSV()
488 FFI_ASSERT (flags & FLAG_FP_ARGUMENTS); in ffi_prep_args_SYSV()
503 FFI_ASSERT (flags & FLAG_FP_ARGUMENTS); in ffi_prep_args_SYSV()
515 FFI_ASSERT (flags & FLAG_FP_ARGUMENTS); in ffi_prep_args_SYSV()
575 FFI_ASSERT (copy_space.c > next_arg.c); in ffi_prep_args_SYSV()
[all …]
Dffi_darwin.c138 FFI_ASSERT(((unsigned) (char *) stack & 0xF) == 0); in ffi_prep_args()
139 FFI_ASSERT(((unsigned) (char *) stacktop & 0xF) == 0); in ffi_prep_args()
140 FFI_ASSERT((bytes & 0xF) == 0); in ffi_prep_args()
169 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
185 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
226 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
273 FFI_ASSERT (abi != FFI_DARWIN); in ffi_prep_args()
322 FFI_ASSERT (s->type == FFI_TYPE_STRUCT) in darwin64_scan_struct_for_floats()
401 FFI_ASSERT (s && s->type == FFI_TYPE_STRUCT); in darwin64_struct_ret_by_value_p()
484 FFI_ASSERT (s->type == FFI_TYPE_STRUCT) in darwin64_pass_struct_by_value()
[all …]
Dffi_linux64.c318 FFI_ASSERT (0); in ffi_prep_cif_linux64_core()
515 FFI_ASSERT (((unsigned long) (char *) stack & 0xF) == 0); in ffi_prep_args64()
516 FFI_ASSERT (((unsigned long) stacktop.c & 0xF) == 0); in ffi_prep_args64()
517 FFI_ASSERT (((unsigned long) gpr_base.c & 0xF) == 0); in ffi_prep_args64()
518 FFI_ASSERT (((unsigned long) gpr_end.c & 0xF) == 0); in ffi_prep_args64()
519 FFI_ASSERT (((unsigned long) vec_base.c & 0xF) == 0); in ffi_prep_args64()
520 FFI_ASSERT ((bytes & 0xF) == 0); in ffi_prep_args64()
556 FFI_ASSERT (__LDBL_MANT_DIG__ == 113); in ffi_prep_args64()
557 FFI_ASSERT (flags & FLAG_VEC_ARGUMENTS); in ffi_prep_args64()
590 FFI_ASSERT (__LDBL_MANT_DIG__ == 106); in ffi_prep_args64()
[all …]
/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c102 FFI_ASSERT(0); in ffi_prep_args()
220 FFI_ASSERT(0); in ffi_call()
353 FFI_ASSERT (cif->abi == FFI_SYSV); in ffi_prep_raw_closure_loc()
362 FFI_ASSERT (cif->arg_types[i]->type != FFI_TYPE_STRUCT); in ffi_prep_raw_closure_loc()
363 FFI_ASSERT (cif->arg_types[i]->type != FFI_TYPE_LONGDOUBLE); in ffi_prep_raw_closure_loc()
432 FFI_ASSERT(0); in ffi_raw_call()
Dx86-ffi64.c188 FFI_ASSERT (0); in classify_argument()
277 FFI_ASSERT(i != 0); in classify_argument()
285 FFI_ASSERT(i != 0); in classify_argument()
294 FFI_ASSERT(0); in classify_argument()
447 FFI_ASSERT(cif->abi == FFI_UNIX64); in ffi_call()
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc-ffi_darwin.c142 FFI_ASSERT(stack == SF_ROUND(stack)); in ffi_prep_args()
143 FFI_ASSERT(stacktop == SF_ROUND(stacktop)); in ffi_prep_args()
144 FFI_ASSERT(bytes == SF_ROUND(bytes)); in ffi_prep_args()
172 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
186 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
208 FFI_ASSERT(flags & FLAG_FP_ARGUMENTS); in ffi_prep_args()
621 FFI_ASSERT(0); in ffi_call()
724 FFI_ASSERT (cif->abi == FFI_DARWIN); in ffi_prep_closure()
770 FFI_ASSERT (cif->abi == FFI_AIX); in ffi_prep_closure()
1011 FFI_ASSERT(0); in ffi_closure_helper_DARWIN()
[all …]
/third_party/libffi/src/bfin/
Dffi.c107 FFI_ASSERT(0); in ffi_prep_cif_machdep()
133 FFI_ASSERT(0); in ffi_call()
182 FFI_ASSERT(0); in ffi_prep_args()
/third_party/libffi/src/pa/
Dffi.c252 FFI_ASSERT(0); in ffi_prep_args_pa32()
273 FFI_ASSERT(slot * 4 <= bytes); in ffi_prep_args_pa32()
365 FFI_ASSERT(0); in ffi_prep_cif_machdep()
409 FFI_ASSERT(0); in ffi_call()
524 FFI_ASSERT(0); in ffi_closure_inner_pa32()
614 FFI_ASSERT(0); in ffi_closure_inner_pa32()
/third_party/libffi/src/vax/
Dffi.c101 FFI_ASSERT (0); in ffi_prep_args()
187 FFI_ASSERT (0); in ffi_call()
249 FFI_ASSERT (cif->abi == FFI_ELFBSD); in ffi_prep_closure_loc()
/third_party/libffi/src/arc/
Dffi.c104 FFI_ASSERT (0); in ffi_prep_args()
189 FFI_ASSERT (0); in ffi_call()
250 FFI_ASSERT (tramp == codeloc); in ffi_prep_closure_loc()
/third_party/libffi/src/s390/
Dffi.c206 FFI_ASSERT (0); in ffi_prep_cif_machdep()
321 FFI_ASSERT (cif->abi == FFI_SYSV); in ffi_call_int()
472 FFI_ASSERT (0); in ffi_call_int()
630 FFI_ASSERT (0); in ffi_closure_helper_SYSV()
692 FFI_ASSERT (0); in ffi_closure_helper_SYSV()
/third_party/python/Modules/_ctypes/libffi_osx/include/
Dffi_common.h64 # define FFI_ASSERT(x) ((x) ? (void)0 : ffi_assert(#x, __FILE__,__LINE__)) macro
68 # define FFI_ASSERT(x)
/third_party/libffi/src/
Dprep_cif.c119 FFI_ASSERT(cif != NULL); in ffi_prep_cif_core()
120 FFI_ASSERT((!isvariadic) || (nfixedargs >= 1)); in ffi_prep_cif_core()
121 FFI_ASSERT(nfixedargs <= ntotalargs); in ffi_prep_cif_core()
/third_party/libffi/src/sh/
Dffi.c175 FFI_ASSERT(0); in ffi_prep_args()
264 FFI_ASSERT(0); in ffi_prep_args()
441 FFI_ASSERT(0); in ffi_call()
573 FFI_ASSERT(0); in ffi_closure_helper_SYSV()
658 FFI_ASSERT(0); in ffi_closure_helper_SYSV()
/third_party/libffi/src/sh64/
Dffi.c110 FFI_ASSERT(0); in ffi_prep_args()
131 FFI_ASSERT(0); in ffi_prep_args()
283 FFI_ASSERT(0); in ffi_call()
403 FFI_ASSERT(0); in ffi_closure_helper_SYSV()
/third_party/libffi/src/xtensa/
Dffi.c117 FFI_ASSERT (((unsigned long) stack & 0x7) == 0); in ffi_prep_args()
184 FFI_ASSERT(0); in ffi_prep_args()
217 FFI_ASSERT(0); in ffi_call()
/third_party/libffi/src/m88k/
Dffi.c175 FFI_ASSERT (0); in ffi_prep_args()
257 FFI_ASSERT (0); in ffi_call()
375 FFI_ASSERT (cif->abi == FFI_OBSD); in ffi_prep_closure_loc()
/third_party/libffi/include/
Dffi_common.h68 #define FFI_ASSERT(x) ((x) ? (void)0 : ffi_assert(#x, __FILE__,__LINE__)) macro
72 #define FFI_ASSERT(x)
/third_party/libffi/src/m32r/
Dffi.c102 FFI_ASSERT(0); in ffi_prep_args()
229 FFI_ASSERT(0); in ffi_call()
/third_party/libffi/src/frv/
Dffi.c94 FFI_ASSERT(0); in ffi_prep_args()
161 FFI_ASSERT(0); in ffi_call()
/third_party/libffi/src/moxie/
Dffi.c87 FFI_ASSERT(0); in ffi_prep_args()
153 FFI_ASSERT(0); in ffi_call()
/third_party/libffi/src/metag/
Dffi.c85 FFI_ASSERT(0); in ffi_prep_args()
200 FFI_ASSERT(0); in ffi_call()
/third_party/libffi/src/x86/
Dffi64.c200 FFI_ASSERT (0); in classify_argument()
290 FFI_ASSERT (i != 0); in classify_argument()
300 FFI_ASSERT (i != 0); in classify_argument()
568 FFI_ASSERT (cif->abi == FFI_UNIX64); in ffi_call_int()
/third_party/libffi/src/ia64/
Dffi.c299 FFI_ASSERT (cif->abi == FFI_UNIX); in ffi_call()
372 FFI_ASSERT (align <= 16); in ffi_call()
561 FFI_ASSERT (align <= 16); in ffi_closure_unix_inner()

12