Lines Matching refs:new_name
8052 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
8059 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_check_already_in_use()
8077 zend_string *new_name, *lookup_name; in zend_compile_use() local
8080 new_name = zend_string_copy(zend_ast_get_str(new_name_ast)); in zend_compile_use()
8086 new_name = zend_string_init(unqualified_name, unqualified_name_len, 0); in zend_compile_use()
8088 new_name = zend_string_copy(old_name); in zend_compile_use()
8092 "has no effect", ZSTR_VAL(new_name)); in zend_compile_use()
8098 lookup_name = zend_string_copy(new_name); in zend_compile_use()
8100 lookup_name = zend_string_tolower(new_name); in zend_compile_use()
8103 if (type == ZEND_SYMBOL_CLASS && zend_is_reserved_class_name(new_name)) { in zend_compile_use()
8105 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name)); in zend_compile_use()
8109 zend_string *ns_name = zend_string_alloc(ZSTR_LEN(current_ns) + 1 + ZSTR_LEN(new_name), 0); in zend_compile_use()
8115 zend_check_already_in_use(type, old_name, new_name, ns_name); in zend_compile_use()
8120 zend_check_already_in_use(type, old_name, new_name, lookup_name); in zend_compile_use()
8127 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_compile_use()
8131 zend_string_release_ex(new_name, 0); in zend_compile_use()