Lines Matching refs:reg_function
2926 zend_internal_function *reg_function, *internal_function = (zend_internal_function *)&function; in zend_register_functions() local
3056 reg_function = malloc(sizeof(zend_internal_function)); in zend_register_functions()
3057 memcpy(reg_function, &function, sizeof(zend_internal_function)); in zend_register_functions()
3058 if (zend_hash_add_ptr(target_function_table, lowercase_name, reg_function) == NULL) { in zend_register_functions()
3060 free(reg_function); in zend_register_functions()
3064 if (reg_function->frameless_function_infos) { in zend_register_functions()
3065 const zend_frameless_function_info *flf_info = reg_function->frameless_function_infos; in zend_register_functions()
3078 zend_flf_functions[zend_flf_count] = (zend_function *)reg_function; in zend_register_functions()
3087 uint32_t num_args = reg_function->num_args; in zend_register_functions()
3088 if (reg_function->fn_flags & ZEND_ACC_VARIADIC) { in zend_register_functions()
3093 if (reg_function->arg_info && num_args) { in zend_register_functions()
3096 zend_internal_arg_info *arg_info = ®_function->arg_info[i]; in zend_register_functions()
3099 reg_function->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS; in zend_register_functions()
3103 if (!strcmp(arg_info->name, reg_function->arg_info[j].name)) { in zend_register_functions()
3114 if (reg_function->arg_info && in zend_register_functions()
3115 (reg_function->fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS))) { in zend_register_functions()
3118 zend_internal_arg_info *arg_info = reg_function->arg_info - 1; in zend_register_functions()
3125 reg_function->arg_info = new_arg_info + 1; in zend_register_functions()
3187 scope, (zend_function *)reg_function, lowercase_name, E_CORE_ERROR); in zend_register_functions()
3188 zend_add_magic_method(scope, (zend_function *)reg_function, lowercase_name); in zend_register_functions()