Lines Matching refs:reg_function
2321 zend_function function, *reg_function; in ZEND_END_ARG_INFO() local
2437 reg_function = malloc(sizeof(zend_internal_function)); in ZEND_END_ARG_INFO()
2438 memcpy(reg_function, &function, sizeof(zend_internal_function)); in ZEND_END_ARG_INFO()
2439 if (zend_hash_add_ptr(target_function_table, lowercase_name, reg_function) == NULL) { in ZEND_END_ARG_INFO()
2441 free(reg_function); in ZEND_END_ARG_INFO()
2447 uint32_t num_args = reg_function->common.num_args; in ZEND_END_ARG_INFO()
2448 if (reg_function->common.fn_flags & ZEND_ACC_VARIADIC) { in ZEND_END_ARG_INFO()
2453 if (reg_function->common.arg_info && num_args) { in ZEND_END_ARG_INFO()
2456 zend_internal_arg_info *arg_info = ®_function->internal_function.arg_info[i]; in ZEND_END_ARG_INFO()
2459 reg_function->common.fn_flags |= ZEND_ACC_HAS_TYPE_HINTS; in ZEND_END_ARG_INFO()
2463 if (!strcmp(arg_info->name, reg_function->internal_function.arg_info[j].name)) { in ZEND_END_ARG_INFO()
2473 if (reg_function->common.arg_info && in ZEND_END_ARG_INFO()
2474 (reg_function->common.fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS))) { in ZEND_END_ARG_INFO()
2477 zend_arg_info *arg_info = reg_function->common.arg_info - 1; in ZEND_END_ARG_INFO()
2484 reg_function->common.arg_info = new_arg_info + 1; in ZEND_END_ARG_INFO()
2528 scope, reg_function, lowercase_name, E_CORE_ERROR); in ZEND_END_ARG_INFO()
2529 zend_add_magic_method(scope, reg_function, lowercase_name); in ZEND_END_ARG_INFO()