Lines Matching refs:lcname

1716 	char *lcname;  in zend_startup_module_ex()  local
1732 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_startup_module_ex()
1734 …if (zend_hash_find(&module_registry, lcname, name_len+1, (void**)&req_mod) == FAILURE || !req_mod-… in zend_startup_module_ex()
1735 efree(lcname); in zend_startup_module_ex()
1741 efree(lcname); in zend_startup_module_ex()
1902 char *lcname; in zend_register_module_ex() local
1920 lcname = zend_str_tolower_dup(dep->name, name_len); in zend_register_module_ex()
1922 if (zend_hash_exists(&module_registry, lcname, name_len+1)) { in zend_register_module_ex()
1923 efree(lcname); in zend_register_module_ex()
1928 efree(lcname); in zend_register_module_ex()
1935 lcname = zend_str_tolower_dup(module->name, name_len); in zend_register_module_ex()
1937 …if (zend_hash_add(&module_registry, lcname, name_len+1, (void *)module, sizeof(zend_module_entry),… in zend_register_module_ex()
1939 efree(lcname); in zend_register_module_ex()
1942 efree(lcname); in zend_register_module_ex()
1967 char lcname[16]; in zend_check_magic_method_implementation() local
1973 zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1)); in zend_check_magic_method_implementation()
1974 lcname[sizeof(lcname)-1] = '\0'; /* zend_str_tolower_copy won't necessarily set the zero byte */ in zend_check_magic_method_implementation()
1976 …if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME… in zend_check_magic_method_implementation()
1978 …} else if (name_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CLONE_FUNC_NAME, s… in zend_check_magic_method_implementation()
1980 …} else if (name_len == sizeof(ZEND_GET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_GET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
1986 …} else if (name_len == sizeof(ZEND_SET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_SET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
1992 …} else if (name_len == sizeof(ZEND_UNSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_UNSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
1998 …} else if (name_len == sizeof(ZEND_ISSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_ISSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
2004 …} else if (name_len == sizeof(ZEND_CALL_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CALL_FUNC_NAME, siz… in zend_check_magic_method_implementation()
2011 !memcmp(lcname, ZEND_CALLSTATIC_FUNC_NAME, sizeof(ZEND_CALLSTATIC_FUNC_NAME)-1) in zend_check_magic_method_implementation()
2019 …!memcmp(lcname, ZEND_TOSTRING_FUNC_NAME, sizeof(ZEND_TOSTRING_FUNC_NAME)-1) && fptr->common.num_ar… in zend_check_magic_method_implementation()
2577 char *lcname = zend_str_tolower_dup(name, name_len); in zend_register_class_alias_ex() local
2580 if (lcname[0] == '\\') { in zend_register_class_alias_ex()
2581 ret = zend_hash_add(CG(class_table), lcname+1, name_len, &ce, sizeof(zend_class_entry *), NULL); in zend_register_class_alias_ex()
2583 ret = zend_hash_add(CG(class_table), lcname, name_len+1, &ce, sizeof(zend_class_entry *), NULL); in zend_register_class_alias_ex()
2586 efree(lcname); in zend_register_class_alias_ex()
2678 char *lcname = zend_str_tolower_dup(name, name_len); in zend_is_callable_check_class() local
2682 !memcmp(lcname, "self", sizeof("self") - 1)) { in zend_is_callable_check_class()
2694 !memcmp(lcname, "parent", sizeof("parent") - 1)) { in zend_is_callable_check_class()
2709 !memcmp(lcname, "static", sizeof("static") - 1)) { in zend_is_callable_check_class()
2738 efree(lcname); in zend_is_callable_check_class()