Lines Matching refs:name

48 	zend_string_addref(new_property_info->name);  in zend_duplicate_property_info_internal()
182 ZSTR_VAL(parent->name), ZSTR_VAL(parent->constructor->common.function_name), in do_inherit_parent_constructor()
183 ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); in do_inherit_parent_constructor()
205 static zend_string *resolve_class_name(zend_class_entry *scope, zend_string *name) { in resolve_class_name() argument
207 if (zend_string_equals_literal_ci(name, "parent") && scope->parent) { in resolve_class_name()
209 return scope->parent->name; in resolve_class_name()
213 } else if (zend_string_equals_literal_ci(name, "self")) { in resolve_class_name()
214 return scope->name; in resolve_class_name()
216 return name; in resolve_class_name()
230 static zend_class_entry *lookup_class(zend_class_entry *scope, zend_string *name) { in lookup_class() argument
234 ce = zend_lookup_class_ex(name, NULL, flags); in lookup_class()
244 zend_hash_add_empty_element(CG(delayed_autoloads), name); in lookup_class()
246 ce = zend_lookup_class_ex(name, NULL, ZEND_FETCH_CLASS_NO_AUTOLOAD); in lookup_class()
252 if (zend_string_equals_ci(scope->name, name)) { in lookup_class()
299 ce1->interface_names[i].name, ce1->interface_names[i].lc_name, in unlinked_instanceof()
542 class_name = ZSTR_VAL(fptr->common.scope->name); in zend_append_type_hint()
543 class_name_len = ZSTR_LEN(fptr->common.scope->name); in zend_append_type_hint()
545 class_name = ZSTR_VAL(fptr->common.scope->parent->name); in zend_append_type_hint()
546 class_name_len = ZSTR_LEN(fptr->common.scope->parent->name); in zend_append_type_hint()
573 …smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration()
602 if (arg_info->name) { in zend_get_function_declaration()
604 smart_str_appends(&str, ((zend_internal_arg_info*)arg_info)->name); in zend_get_function_declaration()
606 smart_str_appendl(&str, ZSTR_VAL(arg_info->name), ZSTR_LEN(arg_info->name)); in zend_get_function_declaration()
917 ? ZEND_TYPE_CE(parent_info->type)->name in property_types_compatible()
920 ? ZEND_TYPE_CE(child_info->type)->name in property_types_compatible()
943 ZSTR_VAL(child->ce->name), in emit_incompatible_property_error()
944 zend_get_unmangled_property_name(child->name), in emit_incompatible_property_error()
947 …? ZSTR_VAL(ZEND_TYPE_IS_CE(parent->type) ? ZEND_TYPE_CE(parent->type)->name : resolve_class_name(p… in emit_incompatible_property_error()
949 ZSTR_VAL(parent->ce->name)); in emit_incompatible_property_error()
965 …(parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ZSTR_VAL(ce->parent->name), ZS… in do_inherit_property()
966 …(child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ZSTR_VAL(ce->name), ZSTR_VAL(ke… in do_inherit_property()
970 … in class %s)%s", ZSTR_VAL(ce->name), ZSTR_VAL(key), zend_visibility_string(parent_info->flags), Z… in do_inherit_property()
993 ZSTR_VAL(ce->name), in do_inherit_property()
995 ZSTR_VAL(ce->parent->name)); in do_inherit_property()
1012 …ORE_ERROR, "Class %s could not implement interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in do_implement_interface()
1054 static void do_inherit_class_constant(zend_string *name, zend_class_constant *parent_const, zend_cl… in do_inherit_class_constant() argument
1056 zval *zv = zend_hash_find_ex(&ce->constants_table, name, 1); in do_inherit_class_constant()
1063 …ZSTR_VAL(ce->name), ZSTR_VAL(name), zend_visibility_string(Z_ACCESS_FLAGS(parent_const->value)), Z… in do_inherit_class_constant()
1074 _zend_hash_append_ptr(&ce->constants_table, name, parent_const); in do_inherit_class_constant()
1127 …OR, "Interface %s may not inherit from class (%s)", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); in zend_do_inheritance_ex()
1132 …_ERROR, "Class %s cannot extend from interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); in zend_do_inheritance_ex()
1134 …PILE_ERROR, "Class %s cannot extend from trait %s", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); in zend_do_inheritance_ex()
1139 …, "Class %s may not inherit from final class (%s)", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); in zend_do_inheritance_ex()
1350 …child_constants_table, zend_class_constant *parent_constant, zend_string *name, const zend_class_e… in do_inherit_constant_check() argument
1352 zval *zv = zend_hash_find_ex(child_constants_table, name, 1); in do_inherit_constant_check()
1358 …ously-inherited or override constant %s from interface %s", ZSTR_VAL(name), ZSTR_VAL(iface->name)); in do_inherit_constant_check()
1366 static void do_inherit_iface_constant(zend_string *name, zend_class_constant *c, zend_class_entry *… in do_inherit_iface_constant() argument
1368 if (do_inherit_constant_check(&ce->constants_table, c, name, iface)) { in do_inherit_iface_constant()
1378 zend_hash_update_ptr(&ce->constants_table, name, c); in do_inherit_iface_constant()
1422 … cannot implement previously implemented interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in zend_do_implement_interface()
1462 …ROR, "%s cannot implement %s - it is not an interface", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in zend_do_implement_interfaces()
1469 … cannot implement previously implemented interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in zend_do_implement_interfaces()
1488 zend_string_release_ex(ce->interface_names[i].name, 0); in zend_do_implement_interfaces()
1510 …} else if (ZSTR_LEN(ce->name) != ZSTR_LEN(mname) && (ZSTR_VAL(mname)[0] != '_' || ZSTR_VAL(mname)[… in zend_add_magic_methods()
1516 …_COMPILE_ERROR, "%s has colliding constructor definitions coming from traits", ZSTR_VAL(ce->name)); in zend_add_magic_methods()
1541 } else if (ZSTR_LEN(ce->name) == ZSTR_LEN(mname)) { in zend_add_magic_methods()
1542 zend_string *lowercase_name = zend_string_tolower(ce->name); in zend_add_magic_methods()
1546 …_COMPILE_ERROR, "%s has colliding constructor definitions coming from traits", ZSTR_VAL(ce->name)); in zend_add_magic_methods()
1556 static void zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_fu… in zend_add_trait_method() argument
1604 name, ZSTR_VAL(ce->name)); in zend_add_trait_method()
1607 ZSTR_VAL(fn->common.scope->name), ZSTR_VAL(fn->common.function_name), in zend_add_trait_method()
1608 ZSTR_VAL(ce->name), name, in zend_add_trait_method()
1609 ZSTR_VAL(existing_fn->common.scope->name), ZSTR_VAL(existing_fn->common.function_name)); in zend_add_trait_method()
1686 alias->trait_method.class_name = zend_string_copy(fn->common.scope->name); in zend_traits_copy_functions()
1720 alias->trait_method.class_name = zend_string_copy(fn->common.scope->name); in zend_traits_copy_functions()
1739 …s not a trait, Only traits may be used in 'as' and 'insteadof' statements", ZSTR_VAL(trait->name)); in zend_check_trait_usage()
1748 …_COMPILE_ERROR, "Required Trait %s wasn't added to %s", ZSTR_VAL(trait->name), ZSTR_VAL(ce->name)); in zend_check_trait_usage()
1785 ZSTR_VAL(trait->name), in zend_traits_init_trait_structures()
1810 …d multiple times", ZSTR_VAL(precedences[i]->trait_method.method_name), ZSTR_VAL(exclude_ce->name)); in zend_traits_init_trait_structures()
1820 ZSTR_VAL(trait->name), in zend_traits_init_trait_structures()
1821 ZSTR_VAL(trait->name)); in zend_traits_init_trait_structures()
1851 …s was defined for %s::%s but this method does not exist", ZSTR_VAL(trait->name), ZSTR_VAL(cur_meth… in zend_traits_init_trait_structures()
1951 prop_name = zend_string_copy(property_info->name); in zend_do_traits_property_binding()
1957 zend_unmangle_property_name_ex(property_info->name, in zend_do_traits_property_binding()
2013 ZSTR_VAL(find_first_definition(ce, traits, i, prop_name, coliding_prop->ce)->name), in zend_do_traits_property_binding()
2014 ZSTR_VAL(property_info->ce->name), in zend_do_traits_property_binding()
2016 ZSTR_VAL(ce->name)); in zend_do_traits_property_binding()
2106 trait = zend_fetch_class_by_name(ce->trait_names[i].name, in zend_do_bind_traits()
2112 …return(E_ERROR, "%s cannot use %s - it is not a trait", ZSTR_VAL(ce->name), ZSTR_VAL(trait->name)); in zend_do_bind_traits()
2161 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in zend_has_deprecated_constructor()
2170 … be constructors in a future version of PHP; %s has a deprecated constructor", ZSTR_VAL(ce->name)); in zend_check_deprecated_constructor()
2223 ZSTR_VAL(ce->name), ai.cnt, in zend_verify_abstract_class()
2372 zend_string *name; in load_delayed_classes() local
2381 ZEND_HASH_FOREACH_STR_KEY(delayed_autoloads, name) { in load_delayed_classes()
2382 zend_lookup_class(name); in load_delayed_classes()
2454 …"During inheritance of %s with variance dependencies: Uncaught %s", ZSTR_VAL(ce->name), ZSTR_VAL(e… in check_unrecoverable_load_failure()
2487 ce->interface_names[i].name, ce->interface_names[i].lc_name, in zend_do_link_class()
2593 … declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); in zend_try_early_bind()