Lines Matching refs:name

253 		*class_name = ce->name;  in zend_get_object_classname()
579 return ce->name; in zend_parse_arg_impl()
605 ce_base->name, Z_STRVAL_PP(arg)); in zend_parse_arg_impl()
771 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
791 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
814 … const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; in zend_parse_va_args()
957 …ce->name, get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, get_active_function_name(… in zend_parse_method_parameters()
995 …ce->name, get_active_function_name(TSRMLS_C), Z_OBJCE_P(this_ptr)->name, get_active_function_name(… in zend_parse_method_parameters_ex()
1185 zend_error(E_ERROR, "Cannot instantiate %s %s", what, class_type->name); in _object_and_properties_init()
1727 while (dep->name) { in zend_startup_module_ex()
1731 name_len = strlen(dep->name); in zend_startup_module_ex()
1732 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_startup_module_ex()
1737 …NG, "Cannot load module '%s' because required module '%s' is not loaded", module->name, dep->name); in zend_startup_module_ex()
1760 zend_error(E_CORE_ERROR,"Unable to start %s module", module->name); in zend_startup_module_ex()
1783 while (dep->name) { in zend_sort_modules()
1788 if (strcasecmp(dep->name, r->name) == 0) { in zend_sort_modules()
1910 zend_printf("%s: Registering module %d\n", module->name, module->module_number); in zend_register_module_ex()
1917 while (dep->name) { in zend_register_module_ex()
1919 name_len = strlen(dep->name); in zend_register_module_ex()
1920 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_register_module_ex()
1925 …nnot load module '%s' because conflicting module '%s' is already loaded", module->name, dep->name); in zend_register_module_ex()
1934 name_len = strlen(module->name); in zend_register_module_ex()
1935 lcname = zend_str_tolower_dup(module->name, name_len); in zend_register_module_ex()
1938 zend_error(E_CORE_WARNING, "Module '%s' already loaded", module->name); in zend_register_module_ex()
1948 zend_error(E_CORE_WARNING,"%s: Unable to register functions, unable to load", module->name); in zend_register_module_ex()
1977 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC… in zend_check_magic_method_implementation()
1979 …zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name, ZEND_CLONE_FUNC_NA… in zend_check_magic_method_implementation()
1982 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_GET_FUNC_NAM… in zend_check_magic_method_implementation()
1984 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_GET_FU… in zend_check_magic_method_implementation()
1988 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_SET_FUNC_NA… in zend_check_magic_method_implementation()
1990 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_SET_FU… in zend_check_magic_method_implementation()
1994 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_UNSET_FUNC_N… in zend_check_magic_method_implementation()
1996 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_UNSET_… in zend_check_magic_method_implementation()
2000 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ce->name, ZEND_ISSET_FUNC_N… in zend_check_magic_method_implementation()
2002 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_ISSET_… in zend_check_magic_method_implementation()
2006 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_CALL_FUNC_N… in zend_check_magic_method_implementation()
2008 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_CALL_F… in zend_check_magic_method_implementation()
2014 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ce->name, ZEND_CALLSTATIC_… in zend_check_magic_method_implementation()
2016 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ce->name, ZEND_CALLST… in zend_check_magic_method_implementation()
2021 …zend_error(error_type, "Method %s::%s() cannot take arguments", ce->name, ZEND_TOSTRING_FUNC_NAME); in zend_check_magic_method_implementation()
2054 class_name_len = strlen(scope->name); in zend_register_functions()
2055 if ((lc_class_name = zend_memrchr(scope->name, '\\', class_name_len))) { in zend_register_functions()
2057 class_name_len -= (lc_class_name - scope->name); in zend_register_functions()
2060 lc_class_name = zend_str_tolower_dup(scope->name, class_name_len); in zend_register_functions()
2072 …cess must be exactly one of public, protected or private", scope ? scope->name : "", scope ? "::" … in zend_register_functions()
2119 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? scope->name : "", sc… in zend_register_functions()
2124 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", scope->name, ptr->f… in zend_register_functions()
2131 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? scope->name : "", scop… in zend_register_functions()
2160 zend_error(error_type, "Destructor %s::%s() cannot take arguments", scope->name, ptr->fname); in zend_register_functions()
2197 … "Function registration failed - duplicate name - %s%s%s", scope ? scope->name : "", scope ? "::" … in zend_register_functions()
2219 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor->common.function… in zend_register_functions()
2226 …zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_… in zend_register_functions()
2233 …zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.functio… in zend_register_functions()
2239 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __call->common.function_na… in zend_register_functions()
2245 …zend_error(error_type, "Method %s::%s() must be static", scope->name, __callstatic->common.functio… in zend_register_functions()
2251 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __tostring->common.functio… in zend_register_functions()
2257 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __get->common.function_nam… in zend_register_functions()
2263 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __set->common.function_nam… in zend_register_functions()
2269 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __unset->common.function_n… in zend_register_functions()
2275 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __isset->common.function_n… in zend_register_functions()
2358 zend_printf("%s: Module shutdown\n", module->name); in module_destructor()
2399 zend_error(E_WARNING, "request_startup() for %s module failed", module->name); in zend_activate_modules()
2412 zend_printf("%s: Request shutdown\n", module->name); in module_registry_cleanup()
2507 zend_str_tolower_copy(lowercase_name, orig_class_entry->name, class_entry->name_length); in do_register_internal_class()
2575 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
2577 char *lcname = zend_str_tolower_dup(name, name_len); in zend_register_class_alias_ex()
2594 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
2606 zend_hash_update(symbol_table, name, name_length + 1, &symbol, sizeof(zval *), NULL); in zend_set_hash_symbol()
2647 zend_error(E_WARNING, "%s() has been disabled for security reasons", class_type->name); in display_disabled_class()
2674 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
2678 char *lcname = zend_str_tolower_dup(name, name_len); in zend_is_callable_check_class()
2721 } else if (zend_lookup_class_ex(name, name_len, NULL, 1, &pce TSRMLS_CC) == SUCCESS) { in zend_is_callable_check_class()
2736 if (error) zend_spprintf(error, 0, "class '%.*s' not found", name_len, name); in zend_is_callable_check_class()
2808 …spprintf(error, 0, "class '%s' is not a subclass of '%s'", ce_org->name, fcc->calling_scope->name); in zend_is_callable_check_func()
2921 …zend_spprintf(error, 0, "cannot call abstract method %s::%s()", fcc->calling_scope->name, fcc->fun… in zend_is_callable_check_func()
2924 …zend_error(E_ERROR, "Cannot call abstract method %s::%s()", fcc->calling_scope->name, fcc->functio… in zend_is_callable_check_func()
2943 …e context %s", fcc->calling_scope->name, fcc->function_handler->common.function_name, verb, Z_OBJC… in zend_is_callable_check_func()
2948 …e context %s", fcc->calling_scope->name, fcc->function_handler->common.function_name, verb, Z_OBJC… in zend_is_callable_check_func()
2952 …"non-static method %s::%s() %s be called statically", fcc->calling_scope->name, fcc->function_hand… in zend_is_callable_check_func()
2957 …"Non-static method %s::%s() %s be called statically", fcc->calling_scope->name, fcc->function_hand… in zend_is_callable_check_func()
2968 …zend_spprintf(error, 0, "cannot access private method %s::%s()", fcc->calling_scope->name, fcc->fu… in zend_is_callable_check_func()
2978 …zend_spprintf(error, 0, "cannot access protected method %s::%s()", fcc->calling_scope->name, fcc->… in zend_is_callable_check_func()
2987 …zend_spprintf(error, 0, "class '%s' does not have a method '%s'", fcc->calling_scope->name, mname); in zend_is_callable_check_func()
3049 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3129 memcpy(ptr, fcc->calling_scope->name, fcc->calling_scope->name_length); in zend_is_callable_ex()
3182 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3219 add_next_index_string(callable, fcc.calling_scope->name, 1); in zend_make_callable()
3414 ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, int name_length, zval… in zend_declare_property_ex() argument
3418 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3424 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3428 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3438 …if (zend_hash_quick_find(&ce->properties_info, name, name_length + 1, h, (void**)&property_info_pt… in zend_declare_property_ex()
3442 zend_hash_quick_del(&ce->properties_info, name, name_length + 1, h); in zend_declare_property_ex()
3466 …zend_mangle_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_len… in zend_declare_property_ex()
3467 property_info.name = priv_name; in zend_declare_property_ex()
3475 …zend_mangle_property_name(&prot_name, &prot_name_length, "*", 1, name, name_length, ce->type & ZEN… in zend_declare_property_ex()
3476 property_info.name = prot_name; in zend_declare_property_ex()
3481 if (IS_INTERNED(name)) { in zend_declare_property_ex()
3482 property_info.name = (char*)name; in zend_declare_property_ex()
3484 …property_info.name = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(n… in zend_declare_property_ex()
3490 …interned_name = zend_new_interned_string(property_info.name, property_info.name_length+1, 0 TSRMLS… in zend_declare_property_ex()
3491 if (interned_name != property_info.name) { in zend_declare_property_ex()
3493 efree((char*)property_info.name); in zend_declare_property_ex()
3495 free((char*)property_info.name); in zend_declare_property_ex()
3497 property_info.name = interned_name; in zend_declare_property_ex()
3501 …property_info.h = (access_type & ZEND_ACC_PUBLIC) ? h : zend_get_hash_value(property_info.name, pr… in zend_declare_property_ex()
3508 …zend_hash_quick_update(&ce->properties_info, name, name_length+1, h, &property_info, sizeof(zend_p… in zend_declare_property_ex()
3514 ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, int name_length, zval *p… in zend_declare_property() argument
3516 return zend_declare_property_ex(ce, name, name_length, property, access_type, NULL, 0 TSRMLS_CC); in zend_declare_property()
3520 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in… in zend_declare_property_null() argument
3530 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_null()
3534 ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_bool() argument
3545 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_bool()
3549 ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, int name_length, lo… in zend_declare_property_long() argument
3560 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_long()
3564 ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_double() argument
3575 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_double()
3579 ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, int name_length, … in zend_declare_property_string() argument
3592 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_string()
3596 ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, int name_length,… in zend_declare_property_stringl() argument
3608 return zend_declare_property(ce, name, name_length, property, access_type TSRMLS_CC); in zend_declare_property_stringl()
3612 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length… in zend_declare_class_constant() argument
3614 return zend_hash_update(&ce->constants_table, name, name_length+1, &value, sizeof(zval *), NULL); in zend_declare_class_constant()
3618 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
3629 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_null()
3633 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
3644 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_long()
3648 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
3659 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_bool()
3663 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
3674 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_double()
3678 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
3690 return zend_declare_class_constant(ce, name, name_length, constant TSRMLS_CC); in zend_declare_class_constant_stringl()
3694 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
3696 return zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value) TSRMLS_CC); in zend_declare_class_constant_string()
3700 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, int nam… in zend_update_property() argument
3713 zend_error(E_CORE_ERROR, "Property %s of class %s cannot be updated", name, class_name); in zend_update_property()
3716 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
3724 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_null() argument
3732 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_null()
3736 ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_bool() argument
3744 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_bool()
3748 ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, in… in zend_update_property_long() argument
3756 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_long()
3760 ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, … in zend_update_property_double() argument
3768 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_double()
3772 ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, … in zend_update_property_string() argument
3780 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_string()
3784 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name,… in zend_update_property_stringl() argument
3792 zend_update_property(scope, object, name, name_length, tmp TSRMLS_CC); in zend_update_property_stringl()
3796 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, int name_length… in zend_update_static_property() argument
3802 property = zend_std_get_static_property(scope, name, name_length, 0, NULL TSRMLS_CC); in zend_update_static_property()
3833 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
3841 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_null()
3845 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
3853 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_bool()
3857 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
3865 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_long()
3869 ZEND_API int zend_update_static_property_double(zend_class_entry *scope, const char *name, int name… in zend_update_static_property_double() argument
3877 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_double()
3881 ZEND_API int zend_update_static_property_string(zend_class_entry *scope, const char *name, int name… in zend_update_static_property_string() argument
3889 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_string()
3893 ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int nam… in zend_update_static_property_stringl() argument
3901 return zend_update_static_property(scope, name, name_length, tmp TSRMLS_CC); in zend_update_static_property_stringl()
3905 ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name… in zend_read_property() argument
3917 zend_error(E_CORE_ERROR, "Property %s of class %s cannot be read", name, class_name); in zend_read_property()
3921 ZVAL_STRINGL(property, name, name_length, 1); in zend_read_property()
3930 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, int name_length… in zend_read_static_property() argument
3936 property = zend_std_get_static_property(scope, name, name_length, silent, NULL TSRMLS_CC); in zend_read_static_property()
3984 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len) /*… in zend_find_alias_name() argument
3992 !strncasecmp(name, alias->alias, alias->alias_len)) { in zend_find_alias_name()
4000 return name; in zend_find_alias_name()
4021 char *name; in zend_resolve_method_name() local
4025 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name()
4030 !strncasecmp(name, f->common.function_name, len)) { in zend_resolve_method_name()
4033 return zend_find_alias_name(f->common.scope, name, len); in zend_resolve_method_name()