Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c48 lit_utf8_size_t extra_bytes_count; in lit_is_valid_utf8_string() local
51 extra_bytes_count = 1; in lit_is_valid_utf8_string()
57 extra_bytes_count = 2; in lit_is_valid_utf8_string()
63 extra_bytes_count = 3; in lit_is_valid_utf8_string()
73 if (idx + extra_bytes_count > buf_size) in lit_is_valid_utf8_string()
79 for (lit_utf8_size_t offset = 0; offset < extra_bytes_count; ++offset) in lit_is_valid_utf8_string()
115 idx += extra_bytes_count; in lit_is_valid_utf8_string()
143 lit_utf8_size_t extra_bytes_count; in lit_is_valid_cesu8_string() local
146 extra_bytes_count = 1; in lit_is_valid_cesu8_string()
152 extra_bytes_count = 2; in lit_is_valid_cesu8_string()
[all …]