Searched refs:locale_string (Results 1 – 4 of 4) sorted by relevance
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.c | 602 if (locale_aware && BG(locale_string) && in pcre_get_compiled_regex_cache_ex() 603 (ZSTR_LEN(BG(locale_string)) != 1 && ZSTR_VAL(BG(locale_string))[0] != 'C')) { in pcre_get_compiled_regex_cache_ex() 604 key = zend_string_alloc(ZSTR_LEN(regex) + ZSTR_LEN(BG(locale_string)) + 1, 0); in pcre_get_compiled_regex_cache_ex() 605 memcpy(ZSTR_VAL(key), ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)) + 1); in pcre_get_compiled_regex_cache_ex() 606 memcpy(ZSTR_VAL(key) + ZSTR_LEN(BG(locale_string)), ZSTR_VAL(regex), ZSTR_LEN(regex) + 1); in pcre_get_compiled_regex_cache_ex() 764 tables = (uint8_t *)zend_hash_find_ptr(&char_tables, BG(locale_string)); in pcre_get_compiled_regex_cache_ex() 775 _k = zend_string_init(ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)), 1); in pcre_get_compiled_regex_cache_ex()
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.h | 172 zend_string *locale_string; /* current LC_CTYPE locale (or NULL for 'C') */ member
|
H A D | string.c | 4998 if (BG(locale_string)) { 4999 zend_string_release_ex(BG(locale_string), 0); 5002 BG(locale_string) = zend_string_copy(loc); 5003 RETURN_STR(BG(locale_string)); 5005 BG(locale_string) = zend_string_init(retval, len, 0); 5007 RETURN_STR_COPY(BG(locale_string));
|
H A D | basic_functions.c | 3785 BG(locale_string) = NULL; in PHP_RINIT_FUNCTION() 3843 if (BG(locale_string)) { in PHP_RSHUTDOWN_FUNCTION() 3844 zend_string_release_ex(BG(locale_string), 0); in PHP_RSHUTDOWN_FUNCTION() 3845 BG(locale_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
|
Completed in 40 milliseconds