Lines Matching refs:new_name
7543 static void zend_check_already_in_use(uint32_t type, zend_string *old_name, zend_string *new_name, … in zend_check_already_in_use() argument
7550 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_check_already_in_use()
7568 zend_string *new_name, *lookup_name; in zend_compile_use() local
7571 new_name = zend_string_copy(zend_ast_get_str(new_name_ast)); in zend_compile_use()
7577 new_name = zend_string_init(unqualified_name, unqualified_name_len, 0); in zend_compile_use()
7579 new_name = zend_string_copy(old_name); in zend_compile_use()
7583 "has no effect", ZSTR_VAL(new_name)); in zend_compile_use()
7589 lookup_name = zend_string_copy(new_name); in zend_compile_use()
7591 lookup_name = zend_string_tolower(new_name); in zend_compile_use()
7594 if (type == ZEND_SYMBOL_CLASS && zend_is_reserved_class_name(new_name)) { in zend_compile_use()
7596 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name)); in zend_compile_use()
7600 zend_string *ns_name = zend_string_alloc(ZSTR_LEN(current_ns) + 1 + ZSTR_LEN(new_name), 0); in zend_compile_use()
7606 zend_check_already_in_use(type, old_name, new_name, ns_name); in zend_compile_use()
7611 zend_check_already_in_use(type, old_name, new_name, lookup_name); in zend_compile_use()
7618 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_compile_use()
7622 zend_string_release_ex(new_name, 0); in zend_compile_use()