Lines Matching refs:new_name
9332 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
9339 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_check_already_in_use()
9357 zend_string *new_name, *lookup_name; in zend_compile_use() local
9360 new_name = zend_string_copy(zend_ast_get_str(new_name_ast)); in zend_compile_use()
9366 new_name = zend_string_init(unqualified_name, unqualified_name_len, 0); in zend_compile_use()
9368 new_name = zend_string_copy(old_name); in zend_compile_use()
9372 "has no effect", ZSTR_VAL(new_name)); in zend_compile_use()
9378 lookup_name = zend_string_copy(new_name); in zend_compile_use()
9380 lookup_name = zend_string_tolower(new_name); in zend_compile_use()
9383 if (type == ZEND_SYMBOL_CLASS && zend_is_reserved_class_name(new_name)) { in zend_compile_use()
9385 "is a special class name", ZSTR_VAL(old_name), ZSTR_VAL(new_name), ZSTR_VAL(new_name)); in zend_compile_use()
9389 zend_string *ns_name = zend_string_alloc(ZSTR_LEN(current_ns) + 1 + ZSTR_LEN(new_name), 0); in zend_compile_use()
9395 zend_check_already_in_use(type, old_name, new_name, ns_name); in zend_compile_use()
9400 zend_check_already_in_use(type, old_name, new_name, lookup_name); in zend_compile_use()
9407 "is already in use", zend_get_use_type_str(type), ZSTR_VAL(old_name), ZSTR_VAL(new_name)); in zend_compile_use()
9411 zend_string_release_ex(new_name, 0); in zend_compile_use()