Searched refs:cesu8_pos (Results 1 – 2 of 2) sorted by relevance
816 const lit_utf8_byte_t *cesu8_pos = cesu8_string; in lit_convert_cesu8_string_to_utf8_string() local827 while (cesu8_pos < cesu8_end_pos) in lit_convert_cesu8_string_to_utf8_string()830 lit_utf8_size_t code_unit_size = lit_read_code_unit_from_utf8 (cesu8_pos, &ch); in lit_convert_cesu8_string_to_utf8_string()842 memcpy (utf8_pos, cesu8_pos, code_unit_size); in lit_convert_cesu8_string_to_utf8_string()847 cesu8_pos += code_unit_size; in lit_convert_cesu8_string_to_utf8_string()852 JERRY_ASSERT (cesu8_pos == cesu8_end_pos); in lit_convert_cesu8_string_to_utf8_string()
1201 const lit_utf8_byte_t *cesu8_pos = cesu8_str_p; in ecma_substring_copy_to_utf8_buffer() local1209 lit_utf8_size_t code_unit_size = lit_read_code_unit_from_utf8 (cesu8_pos, &ch); in ecma_substring_copy_to_utf8_buffer()1216 …if (((cesu8_pos + code_unit_size) != cesu8_end_pos) && lit_is_code_point_utf16_high_surrogate (ch)) in ecma_substring_copy_to_utf8_buffer()1219 …lit_utf8_size_t next_ch_size = lit_read_code_unit_from_utf8 (cesu8_pos + code_unit_size, &next_ch); in ecma_substring_copy_to_utf8_buffer()1230 cesu8_pos += next_ch_size; in ecma_substring_copy_to_utf8_buffer()1238 memcpy (utf8_pos, cesu8_pos, code_unit_size); in ecma_substring_copy_to_utf8_buffer()1244 memcpy (utf8_pos, cesu8_pos, code_unit_size); in ecma_substring_copy_to_utf8_buffer()1249 cesu8_pos += code_unit_size; in ecma_substring_copy_to_utf8_buffer()