Home
last modified time | relevance | path

Searched refs:locale_string (Results 1 – 4 of 4) sorted by relevance

/PHP-7.3/ext/standard/
H A Dbasic_functions.h170 zend_string *locale_string; /* current LC_CTYPE locale (or NULL for 'C') */ member
H A Dstring.c4883 if (BG(locale_string)) {
4884 zend_string_release_ex(BG(locale_string), 0);
4887 BG(locale_string) = zend_string_copy(loc);
4888 RETURN_STR(BG(locale_string));
4890 BG(locale_string) = zend_string_init(retval, len, 0);
4892 RETURN_STR_COPY(BG(locale_string));
H A Dbasic_functions.c3803 BG(locale_string) = NULL; in PHP_RINIT_FUNCTION()
3859 if (BG(locale_string)) { in PHP_RSHUTDOWN_FUNCTION()
3860 zend_string_release_ex(BG(locale_string), 0); in PHP_RSHUTDOWN_FUNCTION()
3861 BG(locale_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c557 if (locale_aware && BG(locale_string) && in pcre_get_compiled_regex_cache_ex()
558 (ZSTR_LEN(BG(locale_string)) != 1 && ZSTR_VAL(BG(locale_string))[0] != 'C')) { in pcre_get_compiled_regex_cache_ex()
559 key = zend_string_alloc(ZSTR_LEN(regex) + ZSTR_LEN(BG(locale_string)) + 1, 0); in pcre_get_compiled_regex_cache_ex()
560 memcpy(ZSTR_VAL(key), ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)) + 1); in pcre_get_compiled_regex_cache_ex()
561 memcpy(ZSTR_VAL(key) + ZSTR_LEN(BG(locale_string)), ZSTR_VAL(regex), ZSTR_LEN(regex) + 1); in pcre_get_compiled_regex_cache_ex()
734 tables = (uint8_t *)zend_hash_find_ptr(&char_tables, BG(locale_string)); in pcre_get_compiled_regex_cache_ex()
745 _k = zend_string_init(ZSTR_VAL(BG(locale_string)), ZSTR_LEN(BG(locale_string)), 1); in pcre_get_compiled_regex_cache_ex()

Completed in 38 milliseconds