Home
last modified time | relevance | path

Searched refs:lc_name (Results 1 – 19 of 19) sorted by relevance

/PHP-8.3/ext/spl/
H A Dphp_spl.c55 zend_string *lc_name = zend_string_tolower(name); in spl_find_ce_by_name() local
57 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name()
58 zend_string_release(lc_name); in spl_find_ce_by_name()
288 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload()
301 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local
319 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
327 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
333 zend_string_release(lc_name); in PHP_FUNCTION()
476 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION() local
477 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION()
[all …]
H A Dspl_functions.c58 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
/PHP-8.3/Zend/
H A Dzend_execute_API.c1122 zend_string *lc_name; in zend_lookup_class_ex() local
1135 lc_name = key; in zend_lookup_class_ex()
1145 lc_name = zend_string_tolower(name); in zend_lookup_class_ex()
1152 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1180 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1187 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1194 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1205 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1221 ce = zend_autoload(autoload_name, lc_name); in zend_lookup_class_ex()
1227 zend_hash_del(EG(in_autoload), lc_name); in zend_lookup_class_ex()
[all …]
H A Dzend_enum.c186 ce->interface_names[num_interfaces_before].lc_name = ZSTR_INIT_LITERAL("unitenum", 0); in zend_enum_add_interfaces()
190 ce->interface_names[num_interfaces_before + 1].lc_name = ZSTR_INIT_LITERAL("backedenum", 0); in zend_enum_add_interfaces()
H A Dzend.h87 zend_string *lc_name; member
H A Dzend_inheritance.c252 zend_string *lc_name = zend_string_tolower(name); in lookup_class_ex() local
254 ce = zend_hash_find_ptr(CG(class_table), lc_name); in lookup_class_ex()
256 zend_string_release(lc_name); in lookup_class_ex()
335 ce1->interface_names[i].name, ce1->interface_names[i].lc_name, in unlinked_instanceof()
1910 zend_string_release_ex(ce->interface_names[i].lc_name, 0); in zend_do_implement_interfaces()
3052 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in zend_do_link_class()
3079 ce->interface_names[i].name, ce->interface_names[i].lc_name, in zend_do_link_class()
H A Dzend_opcode.c202 zend_string_release_ex(ce->trait_names[i].lc_name, 0); in _destroy_zend_class_traits_info()
353 zend_string_release_ex(ce->interface_names[i].lc_name, 0); in destroy_zend_class()
H A Dzend_execute.h37 ZEND_API extern zend_class_entry *(*zend_autoload)(zend_string *name, zend_string *lc_name);
H A Dzend_compile.c590 zend_string *lc_name = zend_string_tolower(name); in zend_add_func_name_literal() local
591 zend_add_literal_string(&lc_name); in zend_add_func_name_literal()
606 zend_string *lc_name = zend_string_tolower(name); in zend_add_ns_func_name_literal() local
607 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal()
611 lc_name = zend_string_alloc(unqualified_name_len, 0); in zend_add_ns_func_name_literal()
612 zend_str_tolower_copy(ZSTR_VAL(lc_name), unqualified_name, unqualified_name_len); in zend_add_ns_func_name_literal()
613 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal()
626 zend_string *lc_name = zend_string_tolower(name); in zend_add_class_name_literal() local
627 zend_add_literal_string(&lc_name); in zend_add_class_name_literal()
7432 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface()
[all …]
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_utils.c400 char *lc_name, *lc_free; in phpdbg_safe_class_lookup() local
407 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup()
408 zend_str_tolower_copy(lc_name, name, name_length); in phpdbg_safe_class_lookup()
411 if (lc_name[0] == '\\') { in phpdbg_safe_class_lookup()
412 lc_name += 1; in phpdbg_safe_class_lookup()
417 *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); in phpdbg_safe_class_lookup()
H A Dphpdbg_prompt.c99 char *lc_name; in phpdbg_call_register() local
107 lc_name = zend_str_tolower_dup(name->str, name->len); in phpdbg_call_register()
109 if (zend_hash_str_exists(&PHPDBG_G(registered), lc_name, name->len)) { in phpdbg_call_register()
115 ZVAL_STRINGL(&fci.function_name, lc_name, name->len); in phpdbg_call_register()
191 efree(lc_name); in phpdbg_call_register()
196 efree(lc_name); in phpdbg_call_register()
/PHP-8.3/ext/standard/
H A Dvar_unserializer.re1186 zend_string *lc_name;
1195 lc_name = zend_string_tolower(class_name);
1196 if(!unserialize_allowed_class(lc_name, var_hash)) {
1197 zend_string_release_ex(lc_name, 0);
1210 zend_string_release_ex(lc_name, 0);
1215 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1219 zend_string_release_ex(lc_name, 0);
1224 zend_string_release_ex(lc_name, 0);
1231 ce = zend_lookup_class_ex(class_name, lc_name, 0);
1233 zend_string_release_ex(lc_name, 0);
/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c1247 char *lc_name; in pdo_hash_methods() local
1303 lc_name = emalloc(namelen+1); in pdo_hash_methods()
1304 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods()
1305 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func)); in pdo_hash_methods()
1306 efree(lc_name); in pdo_hash_methods()
/PHP-8.3/Zend/Optimizer/
H A Dzend_optimizer.c129 zend_string *lc_name = zend_string_tolower(arg); in zend_optimizer_eval_special_func_call() local
130 zend_internal_function *func = zend_hash_find_ptr(EG(function_table), lc_name); in zend_optimizer_eval_special_func_call()
131 zend_string_release_ex(lc_name, 0); in zend_optimizer_eval_special_func_call()
145 zend_string *lc_name = zend_string_tolower(arg); in zend_optimizer_eval_special_func_call() local
146 zend_module_entry *m = zend_hash_find_ptr(&module_registry, lc_name); in zend_optimizer_eval_special_func_call()
147 zend_string_release_ex(lc_name, 0); in zend_optimizer_eval_special_func_call()
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c510 ADD_INTERNED_STRING(ce->interface_names[i].lc_name); in zend_persist_class_entry_calc()
521 ADD_INTERNED_STRING(ce->trait_names[i].lc_name); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c782 SERIALIZE_STR(interface_names[i].lc_name);
796 SERIALIZE_STR(trait_names[i].lc_name);
1615 UNSERIALIZE_STR(ce->interface_names[i].lc_name);
1626 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
H A Dzend_persist.c1016 zend_accel_store_interned_string(ce->interface_names[i].lc_name); in zend_persist_class_entry()
1026 zend_accel_store_interned_string(ce->trait_names[i].lc_name); in zend_persist_class_entry()
H A DZendAccelerator.c3709 zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3721 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c781 zend_string *lc_name; in _function_string() local
805 lc_name = zend_string_tolower(fptr->common.function_name); in _function_string()
811 zend_string_release_ex(lc_name, 0); in _function_string()
4451 zend_string *name, *lc_name; in ZEND_METHOD() local
4458 lc_name = zend_string_tolower(name); in ZEND_METHOD()
4459 RETVAL_BOOL(zend_hash_exists(&ce->function_table, lc_name) || is_closure_invoke(ce, lc_name)); in ZEND_METHOD()
4460 zend_string_release(lc_name); in ZEND_METHOD()
4471 zend_string *name, *lc_name; in ZEND_METHOD() local
4478 lc_name = zend_string_tolower(name); in ZEND_METHOD()
4497 zend_string_release(lc_name); in ZEND_METHOD()
[all …]

Completed in 176 milliseconds