Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c319 ecma_char_t prev_ch = 0; in lit_get_utf8_size_of_cesu8_string() local
326 …if (lit_is_code_point_utf16_low_surrogate (ch) && lit_is_code_point_utf16_high_surrogate (prev_ch)) in lit_get_utf8_size_of_cesu8_string()
331 prev_ch = ch; in lit_get_utf8_size_of_cesu8_string()
350 ecma_char_t prev_ch = 0; in lit_get_utf8_length_of_cesu8_string() local
357 … (!lit_is_code_point_utf16_low_surrogate (ch) || !lit_is_code_point_utf16_high_surrogate (prev_ch)) in lit_get_utf8_length_of_cesu8_string()
362 prev_ch = ch; in lit_get_utf8_length_of_cesu8_string()
824 ecma_char_t prev_ch = 0; in lit_convert_cesu8_string_to_utf8_string() local
832 …if (lit_is_code_point_utf16_low_surrogate (ch) && lit_is_code_point_utf16_high_surrogate (prev_ch)) in lit_convert_cesu8_string_to_utf8_string()
836 lit_code_point_t code_point = lit_convert_surrogate_pair_to_code_point (prev_ch, ch); in lit_convert_cesu8_string_to_utf8_string()
848 prev_ch = ch; in lit_convert_cesu8_string_to_utf8_string()