Lines Matching refs:arg_count

914 	uint32_t               arg_count;  member
916 ffi_type *arg_types[] ZEND_ELEMENT_COUNT(arg_count);
927 for (int i = 0; i < callback_data->arg_count; ++i) { in zend_ffi_callback_hash_dtor()
950 fci.params = do_alloca(sizeof(zval) *callback_data->arg_count, use_heap); in zend_ffi_callback_trampoline()
952 fci.param_count = callback_data->arg_count; in zend_ffi_callback_trampoline()
971 if (callback_data->arg_count) { in zend_ffi_callback_trampoline()
974 for (n = 0; n < callback_data->arg_count; n++) { in zend_ffi_callback_trampoline()
997 uint32_t arg_count; in zend_ffi_create_callback() local
1012 arg_count = type->func.args ? zend_hash_num_elements(type->func.args) : 0; in zend_ffi_create_callback()
1013 if (arg_count < fcc.function_handler->common.required_num_args) { in zend_ffi_create_callback()
1024 callback_data = emalloc(sizeof(zend_ffi_callback_data) + sizeof(ffi_type*) * arg_count); in zend_ffi_create_callback()
1029 callback_data->arg_count = arg_count; in zend_ffi_create_callback()
1055 for (int i = 0; i < callback_data->arg_count; ++i) { in zend_ffi_create_callback()
1065 …if (ffi_prep_cif(&callback_data->cif, type->func.abi, callback_data->arg_count, callback_data->ret… in zend_ffi_create_callback()
1073 for (int i = 0; i < callback_data->arg_count; ++i) { in zend_ffi_create_callback()
2746 uint32_t n, arg_count; in ZEND_FUNCTION() local
2754 arg_count = type->func.args ? zend_hash_num_elements(type->func.args) : 0; in ZEND_FUNCTION()
2756 if (arg_count > EX_NUM_ARGS()) { in ZEND_FUNCTION()
2757 …arameter%s", ZSTR_VAL(EX(func)->internal_function.function_name), arg_count, (arg_count != 1) ? "s… in ZEND_FUNCTION()
2794 …if (ffi_prep_cif_var(&cif, type->func.abi, arg_count, EX_NUM_ARGS(), ret_type, arg_types) != FFI_O… in ZEND_FUNCTION()
2801 if (arg_count != EX_NUM_ARGS()) { in ZEND_FUNCTION()
2802 …arameter%s", ZSTR_VAL(EX(func)->internal_function.function_name), arg_count, (arg_count != 1) ? "s… in ZEND_FUNCTION()
2831 if (ffi_prep_cif(&cif, type->func.abi, arg_count, ret_type, arg_types) != FFI_OK) { in ZEND_FUNCTION()
2842 for (n = 0; n < arg_count; n++) { in ZEND_FUNCTION()