Home
last modified time | relevance | path

Searched refs:lcname (Results 1 - 24 of 24) sorted by relevance

/php-7.4/Zend/
H A Dzend_compile.c(last modified 05/11/2020 08:00)816 zend_string *lcname; in zend_hash_find_ptr_lc() local
819 ZSTR_ALLOCA_ALLOC(lcname, len, use_heap); in zend_hash_find_ptr_lc()
820 zend_str_tolower_copy(ZSTR_VAL(lcname), str, len); in zend_hash_find_ptr_lc()
821 result = zend_hash_find_ptr(ht, lcname); in zend_hash_find_ptr_lc()
822 ZSTR_ALLOCA_FREE(lcname, use_heap); in zend_hash_find_ptr_lc()
1021 static zend_never_inline ZEND_COLD ZEND_NORETURN void do_bind_function_error(zend_string *lcname, zend_op_array *op_array, zend_bool compile_time) /* {{{ */ in do_bind_function_error() argument
1023 zval *zv = zend_hash_find_ex(compile_time ? CG(function_table) : EG(function_table), lcname, 1); in do_bind_function_error()
1041 ZEND_API int do_bind_function(zval *lcname) /* {{{ */ in do_bind_function() argument
1046 rtd_key = lcname + 1; in do_bind_function()
1049 do_bind_function_error(Z_STR_P(lcname), NUL in do_bind_function()
1067 do_bind_class(zval *lcname, zend_string *lc_parent_name) do_bind_class() argument
1189 zval *lcname = RT_CONSTANT(opline, opline->op1); zend_do_delayed_early_binding() local
3318 zend_string *lcname = zend_string_tolower(name); zend_compile_func_defined() local
3368 zend_string *name, *lcname; zend_try_compile_ct_bound_init_user_func() local
3419 zend_compile_func_cufa(znode *result, zend_ast_list *args, zend_string *lcname) zend_compile_func_cufa() argument
3468 zend_compile_func_cuf(znode *result, zend_ast_list *args, zend_string *lcname) zend_compile_func_cuf() argument
3624 zend_compile_func_count(znode *result, zend_ast_list *args, zend_string *lcname) zend_compile_func_count() argument
3755 zend_try_compile_special_func(znode *result, zend_string *lcname, zend_ast_list *args, zend_function *fbc, uint32_t type) zend_try_compile_special_func() argument
3864 zend_string *lcname; zend_compile_call() local
3944 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op2) + 1); zend_compile_method_call() local
4009 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op1) + 1); zend_compile_static_call() local
4021 zend_string *lcname = Z_STR_P(CT_CONSTANT(opline->op2) + 1); zend_compile_static_call() local
5731 zend_string *lcname; zend_begin_method_decl() local
5912 zend_string *unqualified_name, *name, *lcname, *key; zend_begin_func_decl() local
6394 zend_string *name, *lcname; zend_compile_class_decl() local
[all...]
H A Dzend_constants.c(last modified 13/02/2019 23:06)252 char *lcname = do_alloca(name_len + 1, use_heap); in zend_get_constant_str_impl() local
253 zend_str_tolower_copy(lcname, name, name_len); in zend_get_constant_str_impl()
254 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { in zend_get_constant_str_impl()
261 free_alloca(lcname, use_heap); in zend_get_constant_str_impl()
281 char *lcname = do_alloca(ZSTR_LEN(name) + 1, use_heap); in zend_get_constant_impl() local
282 zend_str_tolower_copy(lcname, ZSTR_VAL(name), ZSTR_LEN(name)); in zend_get_constant_impl()
283 zv = zend_hash_str_find(EG(zend_constants), lcname, ZSTR_LEN(name)); in zend_get_constant_impl()
292 free_alloca(lcname, use_heap); in zend_get_constant_impl()
420 char *lcname; in zend_get_constant_ex() local
425 lcname in zend_get_constant_ex()
[all...]
H A Dzend_builtin_functions.c(last modified 03/08/2020 08:00)1277 zend_string *lcname; in same_name() local
1286 lcname = zend_string_tolower(name); in same_name()
1287 ret = memcmp(ZSTR_VAL(lcname), ZSTR_VAL(key), ZSTR_LEN(key)) == 0; in same_name()
1288 zend_string_release_ex(lcname, 0); in same_name()
1350 zend_string *lcname; in ZEND_FUNCTION() local
1369 lcname = zend_string_tolower(method_name); in ZEND_FUNCTION()
1370 func = zend_hash_find_ptr(&ce->function_table, lcname); in ZEND_FUNCTION()
1371 zend_string_release_ex(lcname, 0); in ZEND_FUNCTION()
1451 zend_string *lcname; in class_exists_impl() local
1464 lcname in class_exists_impl()
1514 zend_string *lcname; ZEND_FUNCTION() local
2626 zend_string *lcname; ZEND_FUNCTION() local
2647 zend_string *lcname; ZEND_FUNCTION() local
[all...]
H A Dzend_API.c(last modified 31/08/2020 08:00)1816 zend_string *lcname; in zend_startup_module_ex() local
1832 lcname = zend_string_alloc(name_len, 0); in zend_startup_module_ex()
1833 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_startup_module_ex()
1835 if ((req_mod = zend_hash_find_ptr(&module_registry, lcname)) == NULL || !req_mod->module_started) { in zend_startup_module_ex()
1836 zend_string_efree(lcname); in zend_startup_module_ex()
1842 zend_string_efree(lcname); in zend_startup_module_ex()
2002 zend_string *lcname; in zend_register_module_ex() local
2020 lcname = zend_string_alloc(name_len, 0); in zend_register_module_ex()
2021 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_register_module_ex()
2023 if (zend_hash_exists(&module_registry, lcname) || zend_get_extensio in zend_register_module_ex()
2072 char lcname[16]; zend_check_magic_method_implementation() local
2769 zend_string *lcname; zend_register_class_alias_ex() local
2913 zend_string *lcname; zend_is_callable_check_class() local
[all...]
H A Dzend_inheritance.c(last modified 07/10/2020 08:00)1654 zend_string *lcname; in zend_traits_copy_functions() local
1676 lcname = zend_string_tolower(alias->alias); in zend_traits_copy_functions()
1677 zend_add_trait_method(ce, ZSTR_VAL(alias->alias), lcname, &fn_copy, overridden); in zend_traits_copy_functions()
1678 zend_string_release_ex(lcname, 0); in zend_traits_copy_functions()
1759 zend_string *lcname; in zend_traits_init_trait_structures() local
1781 lcname = zend_string_tolower(cur_method_ref->method_name); in zend_traits_init_trait_structures()
1782 if (!zend_hash_exists(&trait->function_table, lcname)) { in zend_traits_init_trait_structures()
1809 if (zend_hash_add_empty_element(exclude_tables[trait_num], lcname) == NULL) { in zend_traits_init_trait_structures()
1824 zend_string_release_ex(lcname, 0); in zend_traits_init_trait_structures()
1849 lcname in zend_traits_init_trait_structures()
2586 zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, zend_string *lcname, zval *delayed_early_binding) zend_try_early_bind() argument
[all...]
H A Dzend_execute.c(last modified 23/02/2021 08:00)4019 zend_string *lcname; in zend_init_dynamic_call_string() local
4030 lcname = zend_string_init(ZSTR_VAL(function), cname_length, 0); in zend_init_dynamic_call_string()
4032 called_scope = zend_fetch_class_by_name(lcname, NULL, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); in zend_init_dynamic_call_string()
4034 zend_string_release_ex(lcname, 0); in zend_init_dynamic_call_string()
4049 zend_string_release_ex(lcname, 0); in zend_init_dynamic_call_string()
4054 zend_string_release_ex(lcname, 0); in zend_init_dynamic_call_string()
4068 lcname = zend_string_alloc(ZSTR_LEN(function) - 1, 0); in zend_init_dynamic_call_string()
4069 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(function) + 1, ZSTR_LEN(function) - 1); in zend_init_dynamic_call_string()
4071 lcname = zend_string_tolower(function); in zend_init_dynamic_call_string()
4073 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) in zend_init_dynamic_call_string()
[all...]
H A Dzend_execute.h(last modified 10/12/2019 08:00)44 ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, zend_string *lcname, uint32_t flags);
310 ZEND_API zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zend_string *lcname, int fetch_type);
H A Dzend_inheritance.h(last modified 13/09/2019 08:00)38 zend_bool zend_try_early_bind(zend_class_entry *ce, zend_class_entry *parent_ce, zend_string *lcname, zval *delayed_early_binding);
H A Dzend_compile.h(last modified 23/10/2019 08:00)763 ZEND_API int do_bind_function(zval *lcname);
764 ZEND_API int do_bind_class(zval *lcname, zend_string *lc_parent_name);
H A Dzend_vm_def.h(last modified 23/02/2021 08:00)7314 zval *lcname, *zv; variable
7319 lcname = RT_CONSTANT(opline, opline->op1);
7320 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(lcname + 1), 1);
7324 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, Z_STR_P(lcname));
7330 zv = zend_hash_find(EG(class_table), Z_STR_P(lcname));
7331 zend_hash_set_bucket_key(EG(class_table), (Bucket *) zv, Z_STR_P(lcname + 1));
H A Dzend_vm_execute.h(last modified 23/02/2021 08:00)6432 zval *lcname, *zv; in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER() local
6437 lcname = RT_CONSTANT(opline, opline->op1); in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
6438 zv = zend_hash_find_ex(EG(class_table), Z_STR_P(lcname + 1), 1); in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
6442 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, Z_STR_P(lcname)); in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
6448 zv = zend_hash_find(EG(class_table), Z_STR_P(lcname)); in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
6449 zend_hash_set_bucket_key(EG(class_table), (Bucket *) zv, Z_STR_P(lcname + 1)); in ZEND_DECLARE_CLASS_DELAYED_SPEC_CONST_CONST_HANDLER()
[all...]
/php-7.4/sapi/phpdbg/
H A Dphpdbg_print.c(last modified 13/02/2019 23:05)189 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT() local
190 zend_str_tolower_copy(ZSTR_VAL(lcname), param->method.name, ZSTR_LEN(lcname)); in PHPDBG_PRINT()
192 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
203 zend_string_release(lcname); in PHPDBG_PRINT()
217 zend_string *lcname; in PHPDBG_PRINT() local
238 lcname = zend_string_alloc(func_name_len, 0); in PHPDBG_PRINT()
239 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname)); in PHPDBG_PRINT()
242 if ((fbc = zend_hash_find_ptr(func_table, lcname))) { in PHPDBG_PRINT()
[all...]
H A Dphpdbg_utils.c(last modified 03/06/2020 08:00)181 zend_string *lcname = zend_string_init(cname, strlen(cname), 0); in phpdbg_get_function() local
182 tmp = zend_string_tolower(lcname); in phpdbg_get_function()
183 zend_string_release(lcname); in phpdbg_get_function()
184 lcname = tmp; in phpdbg_get_function()
185 ce = zend_lookup_class(lcname); in phpdbg_get_function()
187 zend_string_release(lcname); in phpdbg_get_function()
H A Dphpdbg_list.c(last modified 25/07/2019 08:00)95 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); in PHPDBG_LIST() local
97 if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { in PHPDBG_LIST()
103 efree(lcname); in PHPDBG_LIST()
H A Dphpdbg_prompt.c(last modified 25/02/2021 08:00)1450 char *lcname = zend_str_tolower_dup(param->str, param->len); in PHPDBG_COMMAND() local
1451 size_t lcname_len = strlen(lcname); in PHPDBG_COMMAND()
1453 if (!zend_hash_str_exists(&PHPDBG_G(registered), lcname, lcname_len)) { in PHPDBG_COMMAND()
1454 if ((function = zend_hash_str_find_ptr(EG(function_table), lcname, lcname_len))) { in PHPDBG_COMMAND()
1455 zend_hash_str_update_ptr(&PHPDBG_G(registered), lcname, lcname_len, function); in PHPDBG_COMMAND() local
1458 phpdbg_notice("register", "function=\"%s\"", "Registered %s", lcname); in PHPDBG_COMMAND()
1463 phpdbg_error("register", "type=\"inuse\" function=\"%s\"", "The requested name (%s) is already in use", lcname); in PHPDBG_COMMAND()
1466 efree(lcname); in PHPDBG_COMMAND()
H A Dphpdbg_bp.c(last modified 04/02/2020 08:00)409 char *lcname; in phpdbg_set_breakpoint_symbol() local
416 lcname = zend_str_tolower_dup(name, name_len); in phpdbg_set_breakpoint_symbol()
426 zend_hash_str_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM], lcname, name_len, &new_break, sizeof(phpdbg_breaksymbol_t)); in phpdbg_set_breakpoint_symbol()
435 efree(lcname); in phpdbg_set_breakpoint_symbol()
997 zend_string *lcname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_method() local
999 brake = zend_hash_find_ptr(class_table, lcname); in phpdbg_find_breakpoint_method()
1001 zend_string_release(lcname); in phpdbg_find_breakpoint_method()
/php-7.4/ext/standard/
H A Dbrowscap.c(last modified 17/07/2019 08:00)243 zend_string *lcname; in browscap_intern_str_ci() local
247 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(str), use_heap); in browscap_intern_str_ci()
248 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(str), ZSTR_LEN(str)); in browscap_intern_str_ci()
249 interned = zend_hash_find_ptr(&ctx->str_interned, lcname); in browscap_intern_str_ci()
254 interned = zend_string_dup(lcname, persistent); in browscap_intern_str_ci()
261 ZSTR_ALLOCA_FREE(lcname, use_heap); in browscap_intern_str_ci()
H A Dvar.c(last modified 26/11/2020 08:00)1242 zend_string *lcname; in PHP_FUNCTION() local
1246 lcname = zend_string_tolower(Z_STR_P(entry)); in PHP_FUNCTION()
1247 zend_hash_add_empty_element(class_hash, lcname); in PHP_FUNCTION()
1248 zend_string_release_ex(lcname, 0); in PHP_FUNCTION()
/php-7.4/ext/reflection/
H A Dphp_reflection.c(last modified 26/02/2021 08:00)163 static inline zend_bool is_closure_invoke(zend_class_entry *ce, zend_string *lcname) { in is_closure_invoke() argument
165 && zend_string_equals_literal(lcname, ZEND_INVOKE_FUNC_NAME); in is_closure_invoke()
1102 zend_string *lcname; in reflection_extension_factory() local
1105 lcname = zend_string_alloc(name_len, 0); in reflection_extension_factory()
1106 zend_str_tolower_copy(ZSTR_VAL(lcname), name_str, name_len); in reflection_extension_factory()
1107 module = zend_hash_find_ptr(&module_registry, lcname); in reflection_extension_factory()
1108 zend_string_efree(lcname); in reflection_extension_factory()
1503 zend_string *fname, *lcname; in ZEND_METHOD() local
1520 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(fname) - 1, use_heap); in ZEND_METHOD()
1521 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VA in ZEND_METHOD()
2266 zend_string *lcname = zend_string_tolower(Z_STR_P(reference)); ZEND_METHOD() local
2281 zend_string *name, *lcname; ZEND_METHOD() local
2933 char *lcname; ZEND_METHOD() local
5722 char *lcname; ZEND_METHOD() local
[all...]
/php-7.4/ext/opcache/Optimizer/
H A Descape_analysis.c(last modified 08/07/2019 08:00)151 static inline zend_class_entry *get_class_entry(const zend_script *script, zend_string *lcname) /* {{{ */ in get_class_entry() argument
153 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in get_class_entry()
158 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry()
H A Dzend_inference.c(last modified 02/03/2021 08:00)2242 static inline zend_class_entry *get_class_entry(const zend_script *script, zend_string *lcname) { in get_class_entry() argument
2243 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in get_class_entry()
2248 ce = zend_hash_find_ptr(CG(class_table), lcname); in get_class_entry()
2281 zend_string *lcname = zend_string_tolower(ZEND_TYPE_NAME(arg_info->type)); in zend_fetch_arg_info() local
2283 *pce = get_class_entry(script, lcname); in zend_fetch_arg_info()
2284 zend_string_release_ex(lcname, 0); in zend_fetch_arg_info()
2399 zend_string *lcname = zend_string_tolower(ZEND_TYPE_NAME(prop_info->type)); in zend_fetch_prop_type() local
2400 *pce = get_class_entry(script, lcname); in zend_fetch_prop_type()
2401 zend_string_release(lcname); in zend_fetch_prop_type()
H A Dzend_ssa.c(last modified 10/11/2020 08:00)500 zend_string *lcname = Z_STR_P(CRT_CONSTANT_EX(op_array, (opline-1), (opline-1)->op2, (build_flags & ZEND_RT_CONSTANTS)) + 1); in place_essa_pis() local
501 zend_class_entry *ce = script ? zend_hash_find_ptr(&script->class_table, lcname) : NULL; in place_essa_pis()
503 ce = zend_hash_find_ptr(CG(class_table), lcname); in place_essa_pis()
/php-7.4/ext/opcache/
H A DZendAccelerator.c(last modified 05/02/2021 08:00)3553 zend_string *name, *lcname; in preload_try_resolve_property_types() local
3560 lcname = zend_string_tolower(name); in preload_try_resolve_property_types()
3561 p = zend_hash_find_ptr(EG(class_table), lcname); in preload_try_resolve_property_types()
3562 zend_string_release(lcname); in preload_try_resolve_property_types()
3587 zend_string *name, *lcname; in preload_is_type_known() local
3600 lcname = zend_string_tolower(name); in preload_is_type_known()
3601 known = zend_hash_exists(EG(class_table), lcname); in preload_is_type_known()
3602 zend_string_release(lcname); in preload_is_type_known()
3606 static zend_bool preload_is_method_maybe_override(zend_class_entry *ce, zend_string *lcname) { in preload_is_method_maybe_override() argument
3616 if (zend_hash_exists(&p->function_table, lcname)) { in preload_is_method_maybe_override()
3646 zend_string *lcname; preload_needed_types_known() local
[all...]
/php-7.4/sapi/cli/
H A Dphp_cli.c(last modified 23/02/2021 08:00)1101 char *lcname = zend_str_tolower_dup(reflection_what, len); in do_cli() local
1104 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) { in do_cli()
1115 efree(lcname); in do_cli()

Completed in 718 milliseconds