/PHP-8.1/ext/spl/ |
H A D | php_spl.c | 56 zend_string *lc_name = zend_string_tolower(name); in spl_find_ce_by_name() local 58 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name() 59 zend_string_release(lc_name); in spl_find_ce_by_name() 286 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload() 299 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local 317 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION() 325 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION() 331 zend_string_release(lc_name); in PHP_FUNCTION() 474 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION() local 475 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION() [all …]
|
H A D | spl_functions.c | 63 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
|
/PHP-8.1/Zend/ |
H A D | zend_execute_API.c | 1069 zend_string *lc_name; in zend_lookup_class_ex() local 1082 lc_name = key; in zend_lookup_class_ex() 1092 lc_name = zend_string_tolower(name); in zend_lookup_class_ex() 1099 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex() 1127 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex() 1134 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex() 1141 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex() 1152 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex() 1164 ce = zend_autoload(autoload_name, lc_name); in zend_lookup_class_ex() 1168 zend_hash_del(EG(in_autoload), lc_name); in zend_lookup_class_ex() [all …]
|
H A D | zend_enum.c | 178 …ce->interface_names[num_interfaces_before].lc_name = zend_string_init("unitenum", sizeof("unitenum… in zend_enum_add_interfaces() 182 …ce->interface_names[num_interfaces_before + 1].lc_name = zend_string_init("backedenum", sizeof("ba… in zend_enum_add_interfaces()
|
H A D | zend_inheritance.c | 235 zend_string *lc_name = zend_string_tolower(name); in lookup_class_ex() local 237 ce = zend_hash_find_ptr(CG(class_table), lc_name); in lookup_class_ex() 239 zend_string_release(lc_name); in lookup_class_ex() 318 ce1->interface_names[i].name, ce1->interface_names[i].lc_name, in unlinked_instanceof() 1760 zend_string_release_ex(ce->interface_names[i].lc_name, 0); in zend_do_implement_interfaces() 2731 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in zend_do_link_class() 2758 ce->interface_names[i].name, ce->interface_names[i].lc_name, in zend_do_link_class()
|
H A D | zend.h | 87 zend_string *lc_name; member
|
H A D | zend_opcode.c | 203 zend_string_release_ex(ce->trait_names[i].lc_name, 0); in _destroy_zend_class_traits_info() 342 zend_string_release_ex(ce->interface_names[i].lc_name, 0); in destroy_zend_class()
|
H A D | zend_execute.h | 35 ZEND_API extern zend_class_entry *(*zend_autoload)(zend_string *name, zend_string *lc_name);
|
H A D | zend_compile.c | 569 zend_string *lc_name = zend_string_tolower(name); in zend_add_func_name_literal() local 570 zend_add_literal_string(&lc_name); in zend_add_func_name_literal() 585 zend_string *lc_name = zend_string_tolower(name); in zend_add_ns_func_name_literal() local 586 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal() 590 lc_name = zend_string_alloc(unqualified_name_len, 0); in zend_add_ns_func_name_literal() 591 zend_str_tolower_copy(ZSTR_VAL(lc_name), unqualified_name, unqualified_name_len); in zend_add_ns_func_name_literal() 592 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal() 605 zend_string *lc_name = zend_string_tolower(name); in zend_add_class_name_literal() local 606 zend_add_literal_string(&lc_name); in zend_add_class_name_literal() 7103 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface() [all …]
|
/PHP-8.1/Zend/Optimizer/ |
H A D | pass1.c | 362 zend_string *lc_name = zend_string_tolower( in zend_optimizer_pass1() local 365 if ((func = zend_hash_find_ptr(EG(function_table), lc_name)) != NULL in zend_optimizer_pass1() 387 zend_string_release_ex(lc_name, 0); in zend_optimizer_pass1() 393 zend_string *lc_name = zend_string_tolower( in zend_optimizer_pass1() local 396 lc_name); in zend_optimizer_pass1() 398 zend_string_release_ex(lc_name, 0); in zend_optimizer_pass1()
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 400 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 D | phpdbg_prompt.c | 99 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() 192 efree(lc_name); in phpdbg_call_register() 197 efree(lc_name); in phpdbg_call_register()
|
/PHP-8.1/ext/standard/ |
H A D | var_unserializer.re | 1158 zend_string *lc_name; 1167 lc_name = zend_string_tolower(class_name); 1168 if(!unserialize_allowed_class(lc_name, var_hash)) { 1169 zend_string_release_ex(lc_name, 0); 1182 zend_string_release_ex(lc_name, 0); 1187 ce = zend_hash_find_ptr(EG(class_table), lc_name); 1191 zend_string_release_ex(lc_name, 0); 1196 zend_string_release_ex(lc_name, 0); 1203 ce = zend_lookup_class_ex(class_name, lc_name, 0); 1204 zend_string_release_ex(lc_name, 0);
|
/PHP-8.1/ext/pdo/ |
H A D | pdo_dbh.c | 1233 char *lc_name; in pdo_hash_methods() local 1286 lc_name = emalloc(namelen+1); in pdo_hash_methods() 1287 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods() 1288 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func)); in pdo_hash_methods() 1289 efree(lc_name); in pdo_hash_methods()
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist_calc.c | 484 ADD_INTERNED_STRING(ce->interface_names[i].lc_name); in zend_persist_class_entry_calc() 495 ADD_INTERNED_STRING(ce->trait_names[i].lc_name); in zend_persist_class_entry_calc()
|
H A D | zend_file_cache.c | 765 SERIALIZE_STR(interface_names[i].lc_name); 779 SERIALIZE_STR(trait_names[i].lc_name); 1547 UNSERIALIZE_STR(ce->interface_names[i].lc_name); 1558 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
|
H A D | zend_persist.c | 1001 zend_accel_store_interned_string(ce->interface_names[i].lc_name); in zend_persist_class_entry() 1011 zend_accel_store_interned_string(ce->trait_names[i].lc_name); in zend_persist_class_entry()
|
H A D | ZendAccelerator.c | 3725 zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name); 3737 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
|
/PHP-8.1/ext/reflection/ |
H A D | php_reflection.c | 771 zend_string *lc_name; in _function_string() local 795 lc_name = zend_string_tolower(fptr->common.function_name); in _function_string() 801 zend_string_release_ex(lc_name, 0); in _function_string() 4359 zend_string *name, *lc_name; in ZEND_METHOD() local 4366 lc_name = zend_string_tolower(name); in ZEND_METHOD() 4367 RETVAL_BOOL(zend_hash_exists(&ce->function_table, lc_name) || is_closure_invoke(ce, lc_name)); in ZEND_METHOD() 4368 zend_string_release(lc_name); in ZEND_METHOD() 4379 zend_string *name, *lc_name; in ZEND_METHOD() local 4386 lc_name = zend_string_tolower(name); in ZEND_METHOD() 4405 zend_string_release(lc_name); in ZEND_METHOD() [all …]
|