Lines Matching refs:arg_types

903 	ffi_type              *arg_types[0];  member
915 if (callback_data->arg_types[i]->type == FFI_TYPE_STRUCT) { in zend_ffi_callback_hash_dtor()
916 efree(callback_data->arg_types[i]); in zend_ffi_callback_hash_dtor()
1024 callback_data->arg_types[n] = zend_ffi_get_type(arg_type); in zend_ffi_create_callback()
1025 if (!callback_data->arg_types[n]) { in zend_ffi_create_callback()
1028 if (callback_data->arg_types[i]->type == FFI_TYPE_STRUCT) { in zend_ffi_create_callback()
1029 efree(callback_data->arg_types[i]); in zend_ffi_create_callback()
1043 if (callback_data->arg_types[i]->type == FFI_TYPE_STRUCT) { in zend_ffi_create_callback()
1044 efree(callback_data->arg_types[i]); in zend_ffi_create_callback()
1052 …func.abi, callback_data->arg_count, callback_data->ret_type, callback_data->arg_types) != FFI_OK) { in zend_ffi_create_callback()
1061 if (callback_data->arg_types[i]->type == FFI_TYPE_STRUCT) { in zend_ffi_create_callback()
1062 efree(callback_data->arg_types[i]); in zend_ffi_create_callback()
2734 ffi_type **arg_types = NULL; in ZEND_FUNCTION() local
2751 arg_types = do_alloca( in ZEND_FUNCTION()
2760 …if (zend_ffi_pass_arg(EX_VAR_NUM(n), arg_type, &arg_types[n], arg_values, n, execute_data) == FAIL… in ZEND_FUNCTION()
2761 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2770 … if (zend_ffi_pass_var_arg(EX_VAR_NUM(n), &arg_types[n], arg_values, n, execute_data) == FAILURE) { in ZEND_FUNCTION()
2771 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2780 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2784 …if (ffi_prep_cif_var(&cif, type->func.abi, arg_count, EX_NUM_ARGS(), ret_type, arg_types) != FFI_O… in ZEND_FUNCTION()
2786 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2796 arg_types = do_alloca( in ZEND_FUNCTION()
2805 …if (zend_ffi_pass_arg(EX_VAR_NUM(n), arg_type, &arg_types[n], arg_values, n, execute_data) == FAIL… in ZEND_FUNCTION()
2806 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2817 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2821 if (ffi_prep_cif(&cif, type->func.abi, arg_count, ret_type, arg_types) != FFI_OK) { in ZEND_FUNCTION()
2823 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()
2833 if (arg_types[n]->type == FFI_TYPE_STRUCT) { in ZEND_FUNCTION()
2834 efree(arg_types[n]); in ZEND_FUNCTION()
2842 free_alloca(arg_types, arg_types_use_heap); in ZEND_FUNCTION()