Home
last modified time | relevance | path

Searched refs:lcname (Results 1 – 25 of 35) sorted by relevance

12

/PHP-8.3/Zend/
H A Dzend_attributes.c159 if (attr->offset == offset && zend_string_equals(attr->lcname, lcname)) { in get_attribute()
174 if (attr->offset == offset && zend_string_equals_cstr(attr->lcname, str, len)) { in get_attribute_str()
185 return get_attribute(attributes, lcname, 0); in zend_get_attribute()
195 return get_attribute(attributes, lcname, offset + 1); in zend_get_parameter_attribute()
253 if (zend_string_equals(other->lcname, attr->lcname)) { in zend_is_attribute_repeated()
268 zend_string_release(attr->lcname); in attr_free()
300 attr->lcname = zend_string_tolower_ex(attr->name, persistent); in zend_add_attribute()
338 zend_string *lcname = zend_string_tolower_ex(ce->name, 1); in zend_mark_internal_attribute() local
339 zend_hash_update_ptr(&internal_attributes, lcname, internal_attr); in zend_mark_internal_attribute()
340 zend_string_release(lcname); in zend_mark_internal_attribute()
[all …]
H A Dzend_attributes.h55 zend_string *lcname; member
70 ZEND_API zend_attribute *zend_get_attribute(HashTable *attributes, zend_string *lcname);
73 ZEND_API zend_attribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, u…
83 ZEND_API zend_internal_attribute *zend_internal_attribute_get(zend_string *lcname);
H A Dzend_builtin_functions.c881 zend_string *lcname; in ZEND_FUNCTION() local
904 zend_string_release_ex(lcname, 0); in ZEND_FUNCTION()
983 zend_string *lcname; in class_exists_impl() local
1010 zend_string_release_ex(lcname, 0); in class_exists_impl()
1054 zend_string *lcname; in ZEND_FUNCTION() local
1065 lcname = zend_string_tolower(name); in ZEND_FUNCTION()
1069 zend_string_release_ex(lcname, 0); in ZEND_FUNCTION()
1970 zend_string *lcname; in ZEND_FUNCTION() local
1982 zend_string_release_ex(lcname, 0); in ZEND_FUNCTION()
1990 zend_string *lcname; in ZEND_FUNCTION() local
[all …]
H A Dzend_API.c2268 zend_string *lcname; in zend_startup_module_ex() local
2294 zend_string_efree(lcname); in zend_startup_module_ex()
2467 zend_string *lcname; in zend_register_module_ex() local
2494 zend_string_efree(lcname); in zend_register_module_ex()
2504 lcname = zend_new_interned_string(lcname); in zend_register_module_ex()
2507 zend_string_release(lcname); in zend_register_module_ex()
2522 zend_string_release(lcname); in zend_register_module_ex()
2735 if (ZSTR_VAL(lcname)[0] != '_' || ZSTR_VAL(lcname)[1] != '_') { in zend_add_magic_method() local
3399 zend_string *lcname; in zend_register_class_alias_ex() local
3417 lcname = zend_new_interned_string(lcname); in zend_register_class_alias_ex()
[all …]
H A Dzend_constants.c501 char *lcname; in zend_get_constant_ex() local
507 lcname = do_alloca(lcname_len + 1, use_heap); in zend_get_constant_ex()
508 zend_str_tolower_copy(lcname, name, prefix_len); in zend_get_constant_ex()
510 lcname[prefix_len] = '\\'; in zend_get_constant_ex()
511 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
513 c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len); in zend_get_constant_ex()
514 free_alloca(lcname, use_heap); in zend_get_constant_ex()
H A Dzend_compile.c1276 rtd_key = lcname + 1; in do_bind_class()
4148 zend_string *name, *lcname; in zend_try_compile_ct_bound_init_user_func() local
4657 zend_string *lcname; in zend_compile_call() local
7442 zend_string *lcname; in zend_begin_method_decl() local
7489 lcname = zend_new_interned_string(lcname); in zend_begin_method_decl()
7502 return lcname; in zend_begin_method_decl()
7558 return lcname; in zend_begin_func_decl()
7570 zend_string *lcname; in zend_compile_func_decl() local
8073 zend_string *name, *lcname; in zend_compile_class_decl() local
8104 lcname = NULL; in zend_compile_class_decl()
[all …]
H A Dzend_inheritance.h38 …rly_bind(zend_class_entry *ce, zend_class_entry *parent_ce, zend_string *lcname, zval *delayed_ear…
H A Dzend_inheritance.c2063 zend_string *lcname; in zend_traits_copy_functions() local
2087 lcname = zend_string_tolower(alias->alias); in zend_traits_copy_functions()
2089 zend_string_release_ex(lcname, 0); in zend_traits_copy_functions()
2157 zend_string *lcname; in zend_traits_init_trait_structures() local
2181 if (!zend_hash_exists(&trait->function_table, lcname)) { in zend_traits_init_trait_structures()
2226 zend_string_release_ex(lcname, 0); in zend_traits_init_trait_structures()
2255 if (!zend_hash_exists(&trait->function_table, lcname)) { in zend_traits_init_trait_structures()
2295 zend_string_release_ex(lcname, 0); in zend_traits_init_trait_structures()
3369 zend_observer_class_linked_notify(ce, lcname); in zend_try_early_bind()
3382 zend_observer_class_linked_notify(ret, lcname); in zend_try_early_bind()
[all …]
H A Dzend_compile.h837 zval *class_table_slot, zval *lcname, zend_string *lc_parent_name);
838 ZEND_API zend_result do_bind_function(zend_function *func, zval *lcname);
839 ZEND_API zend_result do_bind_class(zval *lcname, zend_string *lc_parent_name);
H A Dzend_execute.h52 ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, zend_string *lcname, uint32_t fl…
389 ZEND_API zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zend_string *lcname, u…
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_print.c160 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT() local
161 zend_str_tolower_copy(ZSTR_VAL(lcname), param->method.name, ZSTR_LEN(lcname)); in PHPDBG_PRINT()
163 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
174 zend_string_release(lcname); in PHPDBG_PRINT()
188 zend_string *lcname; in PHPDBG_PRINT() local
209 lcname = zend_string_alloc(func_name_len, 0); in PHPDBG_PRINT()
210 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname)); in PHPDBG_PRINT()
213 if ((fbc = zend_hash_find_ptr(func_table, lcname))) { in PHPDBG_PRINT()
228 efree(lcname); in PHPDBG_PRINT()
H A Dphpdbg_list.c93 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); in PHPDBG_LIST() local
95 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST()
101 efree(lcname); in PHPDBG_LIST()
H A Dphpdbg_utils.c178 zend_string *lcname = zend_string_init(cname, strlen(cname), 0); in phpdbg_get_function() local
179 tmp = zend_string_tolower(lcname); in phpdbg_get_function()
180 zend_string_release(lcname); in phpdbg_get_function()
181 lcname = tmp; in phpdbg_get_function()
182 ce = zend_lookup_class(lcname); in phpdbg_get_function()
184 zend_string_release(lcname); in phpdbg_get_function()
H A Dphpdbg_prompt.c1421 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND() local
1422 size_t lcname_len = strlen(lcname); in PHPDBG_COMMAND()
1424 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) { in PHPDBG_COMMAND()
1425 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) { in PHPDBG_COMMAND()
1426 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); in PHPDBG_COMMAND()
1429 phpdbg_notice("Registered %s", lcname); in PHPDBG_COMMAND()
1434 phpdbg_error("The requested name (%s) is already in use", lcname); in PHPDBG_COMMAND()
1437 efree(lcname); in PHPDBG_COMMAND()
H A Dphpdbg_bp.c406 char *lcname; in phpdbg_set_breakpoint_symbol() local
413 lcname = zend_str_tolower_dup(name, name_len); in phpdbg_set_breakpoint_symbol()
423 …zend_hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], lcname, name_len, &new_break, sizeof(php… in phpdbg_set_breakpoint_symbol()
432 efree(lcname); in phpdbg_set_breakpoint_symbol()
990 zend_string *lcname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_method() local
992 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method()
994 zend_string_release(lcname); in phpdbg_find_breakpoint_method()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c282 zval *lcname = RT_CONSTANT(opline, opline->op1); in zend_accel_build_delayed_early_binding_list() local
283 early_binding->lcname = zend_string_copy(Z_STR_P(lcname)); in zend_accel_build_delayed_early_binding_list()
284 early_binding->rtd_key = zend_string_copy(Z_STR_P(lcname + 1)); in zend_accel_build_delayed_early_binding_list()
329 zend_string_release(early_binding->lcname); in zend_accel_free_delayed_early_binding_list()
355 zend_class_entry *ce = zend_hash_find_ex_ptr(EG(class_table), early_binding->lcname, 1); in zend_accel_do_delayed_early_binding()
364 ce = zend_try_early_bind(orig_ce, parent_ce, early_binding->lcname, zv); in zend_accel_do_delayed_early_binding()
H A DZendAccelerator.h113 zend_string *lcname; member
H A Dzend_persist_calc.c171 ADD_INTERNED_STRING(attr->lcname); in zend_persist_attributes_calc()
591 ADD_INTERNED_STRING(early_binding->lcname); in zend_persist_early_bindings_calc()
H A DZendAccelerator.c3894 zend_string *lcname = zend_string_tolower(ce->name); local
3896 if (zend_hash_exists(EG(class_table), lcname)) {
3897 zend_string_release(lcname);
3904 zend_string_release(lcname);
3908 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, lcname);
3931 ce = zend_do_link_class(ce, NULL, lcname);
3964 zend_string_release(lcname);
3995 zend_string *lcname = zend_string_tolower(ce->name); local
3998 && zend_hash_exists(EG(class_table), lcname)) {
4014 zend_string_release(lcname);
/PHP-8.3/ext/standard/
H A Dbrowscap.c241 zend_string *lcname; in browscap_intern_str_ci() local
245 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(str), use_heap); in browscap_intern_str_ci()
246 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(str), ZSTR_LEN(str)); in browscap_intern_str_ci()
247 interned = zend_hash_find_ptr(&ctx->str_interned, lcname); in browscap_intern_str_ci()
252 interned = zend_string_init(ZSTR_VAL(lcname), ZSTR_LEN(lcname), persistent); in browscap_intern_str_ci()
259 ZSTR_ALLOCA_FREE(lcname, use_heap); in browscap_intern_str_ci()
H A Dvar.c1373 zend_string *lcname; in php_unserialize_with_options() local
1377 lcname = zend_string_tolower(Z_STR_P(entry)); in php_unserialize_with_options()
1378 zend_hash_add_empty_element(class_hash, lcname); in php_unserialize_with_options()
1379 zend_string_release_ex(lcname, 0); in php_unserialize_with_options()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c1284 zend_string *lcname; in reflection_extension_factory() local
1290 zend_string_efree(lcname); in reflection_extension_factory()
1584 zend_string *fname, *lcname; in ZEND_METHOD() local
1606 zend_string_release(lcname); in ZEND_METHOD()
2405 zend_string_release(lcname); in ZEND_METHOD()
2418 zend_string *name, *lcname; in ZEND_METHOD() local
3214 char *lcname; in instantiate_reflection_method() local
3290 efree(lcname); in instantiate_reflection_method()
3295 efree(lcname); in instantiate_reflection_method()
5986 char *lcname; in ZEND_METHOD() local
[all …]
/PHP-8.3/Zend/Optimizer/
H A Dzend_optimizer_internal.h105 const zend_script *script, const zend_op_array *op_array, zend_string *lcname);
H A Dzend_optimizer.c794 const zend_script *script, const zend_op_array *op_array, zend_string *lcname) { in zend_optimizer_get_class_entry() argument
795 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in zend_optimizer_get_class_entry()
800 ce = zend_hash_find_ptr(CG(class_table), lcname); in zend_optimizer_get_class_entry()
807 if (op_array && op_array->scope && zend_string_equals_ci(op_array->scope->name, lcname)) { in zend_optimizer_get_class_entry()
/PHP-8.3/sapi/cli/
H A Dphp_cli.c1103 char *lcname = zend_str_tolower_dup(reflection_what, len); in do_cli() local
1106 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) { in do_cli()
1117 efree(lcname); in do_cli()

Completed in 147 milliseconds

12