Home
last modified time | relevance | path

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

/php-src/ext/spl/
H A Dphp_spl.c49 zend_string *lc_name = zend_string_tolower(name); in spl_find_ce_by_name() local
51 ce = zend_hash_find_ptr(EG(class_table), lc_name); in spl_find_ce_by_name()
52 zend_string_release(lc_name); in spl_find_ce_by_name()
282 return zend_hash_exists(EG(class_table), lc_name); in spl_autoload()
295 zend_string *class_name, *lc_name, *file_exts = NULL; in PHP_FUNCTION() local
313 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
321 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
327 zend_string_release(lc_name); in PHP_FUNCTION()
470 zend_string *lc_name = zend_string_tolower(class_name); in PHP_FUNCTION() local
471 spl_perform_autoload(class_name, lc_name); in PHP_FUNCTION()
[all …]
H A Dspl_functions.c57 pce->trait_names[num_traits].lc_name, ZEND_FETCH_CLASS_TRAIT); in spl_add_traits()
/php-src/Zend/
H A Dzend_execute_API.c1164 zend_string *lc_name; in zend_lookup_class_ex() local
1177 lc_name = key; in zend_lookup_class_ex()
1187 lc_name = zend_string_tolower(name); in zend_lookup_class_ex()
1194 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1222 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1229 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1236 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1247 zend_string_release_ex(lc_name, 0); in zend_lookup_class_ex()
1263 ce = zend_autoload(autoload_name, lc_name); in zend_lookup_class_ex()
1269 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.c267 zend_string *lc_name = zend_string_tolower(name); in lookup_class_ex() local
269 ce = zend_hash_find_ptr(CG(class_table), lc_name); in lookup_class_ex()
271 zend_string_release(lc_name); in lookup_class_ex()
350 ce1->interface_names[i].name, ce1->interface_names[i].lc_name, in unlinked_instanceof()
2205 zend_string_release_ex(ce->interface_names[i].lc_name, 0); in zend_do_implement_interfaces()
3471 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in zend_do_link_class()
3498 ce->interface_names[i].name, ce->interface_names[i].lc_name, in zend_do_link_class()
H A Dzend_opcode.c208 zend_string_release_ex(ce->trait_names[i].lc_name, 0); in _destroy_zend_class_traits_info()
359 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.c620 zend_string *lc_name = zend_string_tolower(name); in zend_add_func_name_literal() local
621 zend_add_literal_string(&lc_name); in zend_add_func_name_literal()
636 zend_string *lc_name = zend_string_tolower(name); in zend_add_ns_func_name_literal() local
637 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal()
641 lc_name = zend_string_alloc(unqualified_name_len, 0); in zend_add_ns_func_name_literal()
642 zend_str_tolower_copy(ZSTR_VAL(lc_name), unqualified_name, unqualified_name_len); in zend_add_ns_func_name_literal()
643 zend_add_literal_string(&lc_name); in zend_add_ns_func_name_literal()
656 zend_string *lc_name = zend_string_tolower(name); in zend_add_class_name_literal() local
657 zend_add_literal_string(&lc_name); in zend_add_class_name_literal()
8046 ce->interface_names[ce->num_interfaces - 1].lc_name = in add_stringable_interface()
[all …]
/php-src/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-src/ext/standard/
H A Dvar_unserializer.re1188 zend_string *lc_name;
1197 lc_name = zend_string_tolower(class_name);
1198 if(!unserialize_allowed_class(lc_name, var_hash)) {
1199 zend_string_release_ex(lc_name, 0);
1212 zend_string_release_ex(lc_name, 0);
1217 ce = zend_hash_find_ptr(EG(class_table), lc_name);
1221 zend_string_release_ex(lc_name, 0);
1226 zend_string_release_ex(lc_name, 0);
1233 ce = zend_lookup_class_ex(class_name, lc_name, 0);
1235 zend_string_release_ex(lc_name, 0);
/php-src/ext/pdo/
H A Dpdo_dbh.c1338 char *lc_name; in pdo_hash_methods() local
1395 lc_name = emalloc(namelen+1); in pdo_hash_methods()
1396 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods()
1397 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func)); in pdo_hash_methods()
1398 efree(lc_name); in pdo_hash_methods()
/php-src/ext/reflection/
H A Dphp_reflection.c806 zend_string *lc_name; in _function_string() local
838 zend_string_release_ex(lc_name, 0); in _function_string()
4368 zend_string *name, *lc_name; in ZEND_METHOD() local
4375 lc_name = zend_string_tolower(name); in ZEND_METHOD()
4376 RETVAL_BOOL(zend_hash_exists(&ce->function_table, lc_name) || is_closure_invoke(ce, lc_name)); in ZEND_METHOD()
4377 zend_string_release(lc_name); in ZEND_METHOD()
4388 zend_string *name, *lc_name; in ZEND_METHOD() local
4395 lc_name = zend_string_tolower(name); in ZEND_METHOD()
4414 zend_string_release(lc_name); in ZEND_METHOD()
5296 ce->trait_names[i].lc_name, ZEND_FETCH_CLASS_TRAIT); in ZEND_METHOD()
[all …]
/php-src/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-src/ext/opcache/
H A Dzend_persist_calc.c517 ADD_INTERNED_STRING(ce->interface_names[i].lc_name); in zend_persist_class_entry_calc()
528 ADD_INTERNED_STRING(ce->trait_names[i].lc_name); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c802 SERIALIZE_STR(interface_names[i].lc_name);
816 SERIALIZE_STR(trait_names[i].lc_name);
1653 UNSERIALIZE_STR(ce->interface_names[i].lc_name);
1664 UNSERIALIZE_STR(ce->trait_names[i].lc_name);
H A Dzend_persist.c1046 zend_accel_store_interned_string(ce->interface_names[i].lc_name); in zend_persist_class_entry()
1056 zend_accel_store_interned_string(ce->trait_names[i].lc_name); in zend_persist_class_entry()
H A DZendAccelerator.c3741 zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3753 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
/php-src/ext/opcache/jit/
H A Dzend_jit.c734 ce->trait_names[i].lc_name, in zend_jit_class_may_be_modified()

Completed in 146 milliseconds