Lines Matching refs:reg_function
2926 zend_internal_function *reg_function, *internal_function = (zend_internal_function *)&function; in zend_register_functions() local
3063 reg_function = malloc(sizeof(zend_internal_function)); in zend_register_functions()
3064 memcpy(reg_function, &function, sizeof(zend_internal_function)); in zend_register_functions()
3065 if (zend_hash_add_ptr(target_function_table, lowercase_name, reg_function) == NULL) { in zend_register_functions()
3067 free(reg_function); in zend_register_functions()
3071 if (reg_function->frameless_function_infos) { in zend_register_functions()
3072 const zend_frameless_function_info *flf_info = reg_function->frameless_function_infos; in zend_register_functions()
3085 zend_flf_functions[zend_flf_count] = (zend_function *)reg_function; in zend_register_functions()
3094 uint32_t num_args = reg_function->num_args; in zend_register_functions()
3095 if (reg_function->fn_flags & ZEND_ACC_VARIADIC) { in zend_register_functions()
3100 if (reg_function->arg_info && num_args) { in zend_register_functions()
3103 zend_internal_arg_info *arg_info = ®_function->arg_info[i]; in zend_register_functions()
3106 reg_function->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS; in zend_register_functions()
3110 if (!strcmp(arg_info->name, reg_function->arg_info[j].name)) { in zend_register_functions()
3121 if (reg_function->arg_info && in zend_register_functions()
3122 (reg_function->fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS))) { in zend_register_functions()
3125 zend_internal_arg_info *arg_info = reg_function->arg_info - 1; in zend_register_functions()
3132 reg_function->arg_info = new_arg_info + 1; in zend_register_functions()
3194 scope, (zend_function *)reg_function, lowercase_name, E_CORE_ERROR); in zend_register_functions()
3195 zend_add_magic_method(scope, (zend_function *)reg_function, lowercase_name); in zend_register_functions()