Home
last modified time | relevance | path

Searched refs:IS_STR_VALID_UTF8 (Results 1 – 9 of 9) sorted by relevance

/PHP-8.3/Zend/
H A Dzend_string.c109 GC_ADD_FLAGS(zend_empty_string, IS_STR_VALID_UTF8); in zend_interned_strings_init()
116 GC_ADD_FLAGS(zend_one_char_string[i], IS_STR_VALID_UTF8); in zend_interned_strings_init()
125 GC_ADD_FLAGS(zend_known_strings[i], IS_STR_VALID_UTF8); in zend_interned_strings_init()
H A Dzend_string.h83 #define ZSTR_IS_VALID_UTF8(s) (GC_FLAGS(s) & IS_STR_VALID_UTF8) in END_EXTERN_C()
88 #define ZSTR_COPYABLE_CONCAT_PROPERTIES (IS_STR_VALID_UTF8) in END_EXTERN_C()
145 GC_DEL_FLAGS(s, IS_STR_VALID_UTF8); in zend_string_forget_hash_val()
H A Dzend_operators.c3414 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8);
3428 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8);
3472 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8);
3485 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8);
3497 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8);
H A Dzend_types.h823 #define IS_STR_VALID_UTF8 (1<<9) /* valid UTF-8 according to PCRE */ macro
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.h262 GC_ADD_FLAGS(ret, IS_STR_VALID_UTF8); in mb_convert_buf_result()
/PHP-8.3/ext/mbstring/
H A Dmbstring.c1821 …se if (php_mb_is_no_encoding_utf8(encoding->no_encoding) && GC_FLAGS(string) & IS_STR_VALID_UTF8) { in mb_get_strlen()
2248 if (GC_FLAGS(haystack) & IS_STR_VALID_UTF8) { in PHP_FUNCTION()
2254 GC_ADD_FLAGS(haystack, IS_STR_VALID_UTF8); in PHP_FUNCTION()
2258 if (GC_FLAGS(needle) & IS_STR_VALID_UTF8) { in PHP_FUNCTION()
2264 GC_ADD_FLAGS(needle, IS_STR_VALID_UTF8); in PHP_FUNCTION()
3206 if (size == 1 && *elist == &mbfl_encoding_utf8 && (GC_FLAGS(str) & IS_STR_VALID_UTF8)) { in PHP_FUNCTION()
5291 if (GC_FLAGS(str) & IS_STR_VALID_UTF8) { in mb_check_str_encoding()
5296 GC_ADD_FLAGS(str, IS_STR_VALID_UTF8); in mb_check_str_encoding()
5684 if (enc == &mbfl_encoding_utf8 && (GC_FLAGS(str) & IS_STR_VALID_UTF8)) { in PHP_FUNCTION()
/PHP-8.3/ext/pcre/
H A Dphp_pcre.c1133 if (!(GC_FLAGS(subject_str) & IS_STR_VALID_UTF8)) { in is_known_valid_utf8()
1459 GC_ADD_FLAGS(subject_str, IS_STR_VALID_UTF8); in php_pcre_match_impl()
/PHP-8.3/ext/opcache/
H A Dzend_persist.c40 uint32_t flags = GC_STRING | (ZSTR_IS_VALID_UTF8(str) ? IS_STR_VALID_UTF8 : 0); \
H A DZendAccelerator.c543 …INTERNED | IS_STR_PERMANENT) << GC_FLAGS_SHIFT)| (ZSTR_IS_VALID_UTF8(str) ? IS_STR_VALID_UTF8 : 0); in accel_new_interned_string()

Completed in 68 milliseconds