Lines Matching refs:lcname

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_extension(dep->name)) { in zend_register_module_ex()
2024 zend_string_efree(lcname); in zend_register_module_ex()
2029 zend_string_efree(lcname); in zend_register_module_ex()
2036 lcname = zend_string_alloc(name_len, module->type == MODULE_PERSISTENT); in zend_register_module_ex()
2037 zend_str_tolower_copy(ZSTR_VAL(lcname), module->name, name_len); in zend_register_module_ex()
2039 lcname = zend_new_interned_string(lcname); in zend_register_module_ex()
2040 …if ((module_ptr = zend_hash_add_mem(&module_registry, lcname, module, sizeof(zend_module_entry))) … in zend_register_module_ex()
2042 zend_string_release(lcname); in zend_register_module_ex()
2049 zend_hash_del(&module_registry, lcname); in zend_register_module_ex()
2050 zend_string_release(lcname); in zend_register_module_ex()
2057 zend_string_release(lcname); in zend_register_module_ex()
2072 char lcname[16]; in zend_check_magic_method_implementation() local
2083 …zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1… in zend_check_magic_method_implementation()
2084 lcname[sizeof(lcname)-1] = '\0'; /* zend_str_tolower_copy won't necessarily set the zero byte */ in zend_check_magic_method_implementation()
2086 …if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME… in zend_check_magic_method_implementation()
2088 …} else if (name_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CLONE_FUNC_NAME, s… in zend_check_magic_method_implementation()
2090 …} else if (name_len == sizeof(ZEND_GET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_GET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
2096 …} else if (name_len == sizeof(ZEND_SET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_SET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
2102 …} else if (name_len == sizeof(ZEND_UNSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_UNSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
2108 …} else if (name_len == sizeof(ZEND_ISSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_ISSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
2114 …} else if (name_len == sizeof(ZEND_CALL_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CALL_FUNC_NAME, siz… in zend_check_magic_method_implementation()
2121 !memcmp(lcname, ZEND_CALLSTATIC_FUNC_NAME, sizeof(ZEND_CALLSTATIC_FUNC_NAME)-1) in zend_check_magic_method_implementation()
2129 …!memcmp(lcname, ZEND_TOSTRING_FUNC_NAME, sizeof(ZEND_TOSTRING_FUNC_NAME)-1) && fptr->common.num_ar… in zend_check_magic_method_implementation()
2133 …!memcmp(lcname, ZEND_DEBUGINFO_FUNC_NAME, sizeof(ZEND_DEBUGINFO_FUNC_NAME)-1) && fptr->common.num_… in zend_check_magic_method_implementation()
2769 zend_string *lcname; in zend_register_class_alias_ex() local
2778 lcname = zend_string_alloc(name_len-1, persistent); in zend_register_class_alias_ex()
2779 zend_str_tolower_copy(ZSTR_VAL(lcname), name+1, name_len-1); in zend_register_class_alias_ex()
2781 lcname = zend_string_alloc(name_len, persistent); in zend_register_class_alias_ex()
2782 zend_str_tolower_copy(ZSTR_VAL(lcname), name, name_len); in zend_register_class_alias_ex()
2785 zend_assert_valid_class_name(lcname); in zend_register_class_alias_ex()
2787 lcname = zend_new_interned_string(lcname); in zend_register_class_alias_ex()
2790 ret = zend_hash_add(CG(class_table), lcname, &zv); in zend_register_class_alias_ex()
2791 zend_string_release_ex(lcname, 0); in zend_register_class_alias_ex()
2913 zend_string *lcname; in zend_is_callable_check_class() local
2916 ZSTR_ALLOCA_ALLOC(lcname, name_len, use_heap); in zend_is_callable_check_class()
2917 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name), name_len); in zend_is_callable_check_class()
2920 if (zend_string_equals_literal(lcname, "self")) { in zend_is_callable_check_class()
2934 } else if (zend_string_equals_literal(lcname, "parent")) { in zend_is_callable_check_class()
2951 } else if (zend_string_equals_literal(lcname, "static")) { in zend_is_callable_check_class()
2993 ZSTR_ALLOCA_FREE(lcname, use_heap); in zend_is_callable_check_class()