Lines Matching refs:name

253 		*class_name = ce->name;  in zend_get_object_classname()
563 return ce->name; in zend_parse_arg_impl()
589 ce_base->name, Z_STRVAL_PP(arg)); in zend_parse_arg_impl()
742 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
762 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
785 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
928 …ce->name, get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, get_active_function_name(… in zend_parse_method_parameters()
966 …ce->name, get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, get_active_function_name(… in zend_parse_method_parameters_ex()
1156 zend_error(E_ERROR, "Cannot instantiate %s %s", what, class_type->name); in _object_and_properties_init()
1664 while (dep->name) { in zend_startup_module_ex()
1668 name_len = strlen(dep->name); in zend_startup_module_ex()
1669 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_startup_module_ex()
1674 …NG, "Cannot load module '%s' because required module '%s' is not loaded", module->name, dep->name); in zend_startup_module_ex()
1697 zend_error(E_CORE_ERROR,"Unable to start %s module", module->name); in zend_startup_module_ex()
1720 while (dep->name) { in zend_sort_modules()
1725 if (strcasecmp(dep->name, r->name) == 0) { in zend_sort_modules()
1847 zend_printf("%s: Registering module %d\n", module->name, module->module_number); in zend_register_module_ex()
1854 while (dep->name) { in zend_register_module_ex()
1856 name_len = strlen(dep->name); in zend_register_module_ex()
1857 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_register_module_ex()
1862 …nnot load module '%s' because conflicting module '%s' is already loaded", module->name, dep->name); in zend_register_module_ex()
1871 name_len = strlen(module->name); in zend_register_module_ex()
1872 lcname = zend_str_tolower_dup(module->name, name_len); in zend_register_module_ex()
1875 zend_error(E_CORE_WARNING, "Module '%s' already loaded", module->name); in zend_register_module_ex()
1885 zend_error(E_CORE_WARNING,"%s: Unable to register functions, unable to load", module->name); in zend_register_module_ex()
1914 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC… in zend_check_magic_method_implementation()
1916 …zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name, ZEND_CLONE_FUNC_NA… in zend_check_magic_method_implementation()
1919 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_GET_FUNC_NAM… in zend_check_magic_method_implementation()
1921 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_GET_FU… in zend_check_magic_method_implementation()
1925 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_SET_FUNC_NA… in zend_check_magic_method_implementation()
1927 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_SET_FU… in zend_check_magic_method_implementation()
1931 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_UNSET_FUNC_N… in zend_check_magic_method_implementation()
1933 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_UNSET_… in zend_check_magic_method_implementation()
1937 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_ISSET_FUNC_N… in zend_check_magic_method_implementation()
1939 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_ISSET_… in zend_check_magic_method_implementation()
1943 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_CALL_FUNC_N… in zend_check_magic_method_implementation()
1945 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_CALL_F… in zend_check_magic_method_implementation()
1951 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_CALLSTATIC_… in zend_check_magic_method_implementation()
1953 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_CALLST… in zend_check_magic_method_implementation()
1958 …zend_error(error_type, "Method %s::%s() cannot take arguments", ce->name, ZEND_TOSTRING_FUNC_NAME); in zend_check_magic_method_implementation()
1991 class_name_len = strlen(scope->name); in zend_register_functions()
1992 if ((lc_class_name = zend_memrchr(scope->name, '\\', class_name_len))) { in zend_register_functions()
1994 class_name_len -= (lc_class_name - scope->name); in zend_register_functions()
1997 lc_class_name = zend_str_tolower_dup(scope->name, class_name_len); in zend_register_functions()
2009 …cess must be exactly one of public, protected or private", scope ? scope->name : "", scope ? "::" … in zend_register_functions()
2056 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? scope->name : "", sc… in zend_register_functions()
2061 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", scope->name, ptr->f… in zend_register_functions()
2068 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? scope->name : "", scop… in zend_register_functions()
2097 zend_error(error_type, "Destructor %s::%s() cannot take arguments", scope->name, ptr->fname); in zend_register_functions()
2134 … "Function registration failed - duplicate name - %s%s%s", scope ? scope->name : "", scope ? "::" … in zend_register_functions()
2156 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor->common.function… in zend_register_functions()
2163 …zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_… in zend_register_functions()
2170 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.functio… in zend_register_functions()
2176 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __call->common.function_na… in zend_register_functions()
2182 …zend_error(error_type, "Method %s::%s() must be static", scope->name, __callstatic->common.functio… in zend_register_functions()
2188 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __tostring->common.functio… in zend_register_functions()
2194 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __get->common.function_nam… in zend_register_functions()
2200 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __set->common.function_nam… in zend_register_functions()
2206 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __unset->common.function_n… in zend_register_functions()
2212 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __isset->common.function_n… in zend_register_functions()
2295 zend_printf("%s: Module shutdown\n", module->name); in module_destructor()
2336 zend_error(E_WARNING, "request_startup() for %s module failed", module->name); in zend_activate_modules()
2349 zend_printf("%s: Request shutdown\n", module->name); in module_registry_cleanup()
2444 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length); in do_register_internal_class()
2512 ZEND_API int zend_register_class_alias_ex(const char *name, int name_len, zend_class_entry *ce TSRM… in zend_register_class_alias_ex() argument
2514 char *lcname = zend_str_tolower_dup(name, name_len); in zend_register_class_alias_ex()
2531 ZEND_API int zend_set_hash_symbol(zval *symbol, const char *name, int name_length, zend_bool is_ref… in zend_set_hash_symbol() argument
2543 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
2584 zend_error(E_WARNING, "%s() has been disabled for security reasons", class_type->name); in display_disabled_class()
2611 static int zend_is_callable_check_class(const char *name, int name_len, zend_fcall_info_cache *fcc,… in zend_is_callable_check_class() argument
2615 char *lcname = zend_str_tolower_dup(name, name_len); in zend_is_callable_check_class()
2658 } else if (zend_lookup_class_ex(name, name_len, NULL, 1, &pce TSRMLS_CC) == SUCCESS) { in zend_is_callable_check_class()
2673 if (error) zend_spprintf(error, 0, "class '%.*s' not found", name_len, name); in zend_is_callable_check_class()
2745 …spprintf(error, 0, "class '%s' is not a subclass of '%s'", ce_org->name, fcc->calling_scope->name); in zend_is_callable_check_func()
2858 …zend_spprintf(error, 0, "cannot call abstract method %s::%s()", fcc->calling_scope->name, fcc->fun… in zend_is_callable_check_func()
2861 …zend_error(E_ERROR, "Cannot call abstract method %s::%s()", fcc->calling_scope->name, fcc->functio… in zend_is_callable_check_func()
2880 …e context %s", fcc->calling_scope->name, fcc->function_handler->common.function_name, verb, Z_OBJC… in zend_is_callable_check_func()
2885 …e context %s", fcc->calling_scope->name, fcc->function_handler->common.function_name, verb, Z_OBJC… in zend_is_callable_check_func()
2889 …"non-static method %s::%s() %s be called statically", fcc->calling_scope->name, fcc->function_hand… in zend_is_callable_check_func()
2894 …"Non-static method %s::%s() %s be called statically", fcc->calling_scope->name, fcc->function_hand… in zend_is_callable_check_func()
2905 …zend_spprintf(error, 0, "cannot access private method %s::%s()", fcc->calling_scope->name, fcc->fu… in zend_is_callable_check_func()
2915 …zend_spprintf(error, 0, "cannot access protected method %s::%s()", fcc->calling_scope->name, fcc->… in zend_is_callable_check_func()
2924 …zend_spprintf(error, 0, "class '%s' does not have a method '%s'", fcc->calling_scope->name, mname); in zend_is_callable_check_func()
2986 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3066 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3119 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3156 add_next_index_string(callable, fcc.calling_scope->name, 1); in zend_make_callable()
3351 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval… in zend_declare_property_ex() argument
3355 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3361 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3365 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3375 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3379 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3403 …zend_mangle_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_len… in zend_declare_property_ex()
3404 property_info.name = priv_name; in zend_declare_property_ex()
3412 …zend_mangle_property_name(&prot_name, &prot_name_length, "*", 1, name, name_length, ce->type & ZEN… in zend_declare_property_ex()
3413 property_info.name = prot_name; in zend_declare_property_ex()
3418 if (IS_INTERNED(name)) { in zend_declare_property_ex()
3419 property_info.name = (char*)name; in zend_declare_property_ex()
3421 …property_info.name = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(n… in zend_declare_property_ex()
3427 …interned_name = zend_new_interned_string(property_info.name, property_info.name_length+1, 0 TSRMLS… in zend_declare_property_ex()
3428 if (interned_name != property_info.name) { in zend_declare_property_ex()
3430 efree((char*)property_info.name); in zend_declare_property_ex()
3432 free((char*)property_info.name); in zend_declare_property_ex()
3434 property_info.name = interned_name; in zend_declare_property_ex()
3438 …property_info.h = (access_type & ZEND_ACC_PUBLIC) ? h : zend_get_hash_value(property_info.name, pr… in zend_declare_property_ex()
3445 …zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_p… in zend_declare_property_ex()
3451 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *p… in zend_declare_property() argument
3453 return zend_declare_property_ex(ce, name, name_length, property, access_type, NULL, 0 TSRMLS_CC); in zend_declare_property()
3457 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in… in zend_declare_property_null() argument
3467 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_null()
3471 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_bool() argument
3482 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_bool()
3486 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_long() argument
3497 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_long()
3501 ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_double() argument
3512 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_double()
3516 ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_string() argument
3529 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_string()
3533 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length,… in zend_declare_property_stringl() argument
3545 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_stringl()
3549 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length… in zend_declare_class_constant() argument
3551 return zend_hash_update(&ce->constants_table, name, name_length+1, &value, sizeof(zval *), NULL); in zend_declare_class_constant()
3555 ZEND_API int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_l… in zend_declare_class_constant_null() argument
3566 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_null()
3570 ZEND_API int zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_l… in zend_declare_class_constant_long() argument
3581 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_long()
3585 ZEND_API int zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_l… in zend_declare_class_constant_bool() argument
3596 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_bool()
3600 ZEND_API int zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name… in zend_declare_class_constant_double() argument
3611 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_double()
3615 ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t nam… in zend_declare_class_constant_stringl() argument
3627 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_stringl()
3631 ZEND_API int zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name… in zend_declare_class_constant_string() argument
3633 return zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value) TSRMLS_CC); in zend_declare_class_constant_string()
3637 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, int nam… in zend_update_property() argument
3650 zend_error(E_CORE_ERROR, "Property %s of class %s cannot be updated", name, class_name); in zend_update_property()
3653 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
3661 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_null() argument
3669 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_null()
3673 ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_bool() argument
3681 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_bool()
3685 ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_long() argument
3693 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_long()
3697 ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, … in zend_update_property_double() argument
3705 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_double()
3709 ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, … in zend_update_property_string() argument
3717 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_string()
3721 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name,… in zend_update_property_stringl() argument
3729 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_stringl()
3733 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, int name_length… in zend_update_static_property() argument
3739 property = zend_std_get_static_property(scope, name, name_length, 0, NULL TSRMLS_CC); in zend_update_static_property()
3770 ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, int name_l… in zend_update_static_property_null() argument
3778 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_null()
3782 ZEND_API int zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_l… in zend_update_static_property_bool() argument
3790 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_bool()
3794 ZEND_API int zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_l… in zend_update_static_property_long() argument
3802 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_long()
3806 ZEND_API int zend_update_static_property_double(zend_class_entry *scope, const char *name, int name… in zend_update_static_property_double() argument
3814 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_double()
3818 ZEND_API int zend_update_static_property_string(zend_class_entry *scope, const char *name, int name… in zend_update_static_property_string() argument
3826 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_string()
3830 ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int nam… in zend_update_static_property_stringl() argument
3838 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_stringl()
3842 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name… in zend_read_property() argument
3854 zend_error(E_CORE_ERROR, "Property %s of class %s cannot be read", name, class_name); in zend_read_property()
3858 ZVAL_STRINGL(property, name, name_length, 1); in zend_read_property()
3867 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, int name_length… in zend_read_static_property() argument
3873 property = zend_std_get_static_property(scope, name, name_length, silent, NULL TSRMLS_CC); in zend_read_static_property()
3921 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len) /*… in zend_find_alias_name() argument
3929 !strncasecmp(name, alias->alias, alias->alias_len)) { in zend_find_alias_name()
3937 return name; in zend_find_alias_name()
3958 char *name; in zend_resolve_method_name() local
3962 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name()
3967 !strncasecmp(name, f->common.function_name, len)) { in zend_resolve_method_name()
3970 return zend_find_alias_name(f->common.scope, name, len); in zend_resolve_method_name()