Lines Matching defs:arg_types
102 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i; i--, p_arg++)
303 switch ((cif->arg_types)[0]->type)
307 cif->flags += (cif->arg_types)[0]->type;
320 switch ((cif->arg_types)[1]->type)
324 cif->flags += (cif->arg_types)[1]->type << FFI_FLAG_BITS;
414 switch ((cif->arg_types)[index]->type)
419 ((cif->arg_types)[index]->type << (arg_reg * FFI_FLAG_BITS));
436 cif->flags += calc_n32_struct_flags((cif->arg_types)[index],
663 ffi_type **arg_types;
681 arg_types = cif->arg_types;
686 (arg_types[i]->type == FFI_TYPE_FLOAT ||
687 arg_types[i]->type == FFI_TYPE_DOUBLE))
690 if (arg_types[i]->type == FFI_TYPE_FLOAT)
698 if (arg_types[i]->alignment == 8 && (argn & 0x1))
700 switch (arg_types[i]->type)
728 argn += ALIGN(arg_types[i]->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG;
816 ffi_type **arg_types;
837 arg_types = cif->arg_types;
841 if (arg_types[i]->type == FFI_TYPE_FLOAT
842 || arg_types[i]->type == FFI_TYPE_DOUBLE)
846 if (arg_types[i]->type == FFI_TYPE_FLOAT && argn < 8)
854 unsigned type = arg_types[i]->type;
856 if (arg_types[i]->alignment > sizeof(ffi_arg))
857 argn = ALIGN(argn, arg_types[i]->alignment / sizeof(ffi_arg));
902 avaluep[i] = alloca(arg_types[i]->size);
903 copy_struct_N32(avaluep[i], 0, cif->abi, arg_types[i],
914 argn += ALIGN(arg_types[i]->size, sizeof(ffi_arg)) / sizeof(ffi_arg);