Lines Matching refs:name_len
1828 size_t name_len; in zend_startup_module_ex() local
1844 name_len = strlen(dep->name); in zend_startup_module_ex()
1845 lcname = zend_string_alloc(name_len, 0); in zend_startup_module_ex()
1846 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_startup_module_ex()
2014 size_t name_len; in zend_register_module_ex() local
2032 name_len = strlen(dep->name); in zend_register_module_ex()
2033 lcname = zend_string_alloc(name_len, 0); in zend_register_module_ex()
2034 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_register_module_ex()
2048 name_len = strlen(module->name); in zend_register_module_ex()
2049 lcname = zend_string_alloc(name_len, 1); in zend_register_module_ex()
2050 zend_str_tolower_copy(ZSTR_VAL(lcname), module->name, name_len); in zend_register_module_ex()
2086 size_t name_len; in zend_check_magic_method_implementation() local
2090 name_len = ZSTR_LEN(fptr->common.function_name); in zend_check_magic_method_implementation()
2091 …zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1… in zend_check_magic_method_implementation()
2094 …if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME… in zend_check_magic_method_implementation()
2096 …} else if (name_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CLONE_FUNC_NAME, s… in zend_check_magic_method_implementation()
2098 …} else if (name_len == sizeof(ZEND_GET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_GET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
2104 …} else if (name_len == sizeof(ZEND_SET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_SET_FUNC_NAME, sizeo… in zend_check_magic_method_implementation()
2110 …} else if (name_len == sizeof(ZEND_UNSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_UNSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
2116 …} else if (name_len == sizeof(ZEND_ISSET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_ISSET_FUNC_NAME, s… in zend_check_magic_method_implementation()
2122 …} else if (name_len == sizeof(ZEND_CALL_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CALL_FUNC_NAME, siz… in zend_check_magic_method_implementation()
2128 } else if (name_len == sizeof(ZEND_CALLSTATIC_FUNC_NAME) - 1 && in zend_check_magic_method_implementation()
2136 } else if (name_len == sizeof(ZEND_TOSTRING_FUNC_NAME) - 1 && in zend_check_magic_method_implementation()
2140 } else if (name_len == sizeof(ZEND_DEBUGINFO_FUNC_NAME) - 1 && in zend_check_magic_method_implementation()
2774 ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce) … in zend_register_class_alias_ex() argument
2782 lcname = zend_string_alloc(name_len-1, persistent); in zend_register_class_alias_ex()
2783 zend_str_tolower_copy(ZSTR_VAL(lcname), name+1, name_len-1); in zend_register_class_alias_ex()
2785 lcname = zend_string_alloc(name_len, persistent); in zend_register_class_alias_ex()
2786 zend_str_tolower_copy(ZSTR_VAL(lcname), name, name_len); in zend_register_class_alias_ex()
2904 size_t name_len = ZSTR_LEN(name); in zend_is_callable_check_class() local
2908 ZSTR_ALLOCA_ALLOC(lcname, name_len, use_heap); in zend_is_callable_check_class()
2909 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name), name_len); in zend_is_callable_check_class()
2977 if (error) zend_spprintf(error, 0, "class '%.*s' not found", (int)name_len, ZSTR_VAL(name)); in zend_is_callable_check_class()
3696 size_t name_len = strlen(module_name); in zend_get_module_version() local
3699 lname = zend_string_alloc(name_len, 0); in zend_get_module_version()
3700 zend_str_tolower_copy(ZSTR_VAL(lname), module_name, name_len); in zend_get_module_version()