Searched refs:s_8 (Results 1 – 2 of 2) sorted by relevance
1421 ud_utf82utf16(uint8_t *s_8, uint16_t *c_16, int32_t count) in ud_utf82utf16() argument1425 ASSERT(s_8); in ud_utf82utf16()1433 extra_bytes = bytes_from_utf8[*s_8]; in ud_utf82utf16()1446 if (*s_8 & 0x80) { in ud_utf82utf16()1449 c_32 = *s_8 & 0x7F; in ud_utf82utf16()1451 if (((*s_8 & 0xE0) != 0xC0) || in ud_utf82utf16()1452 ((*(s_8 + 1) & 0xC0) != 0x80)) { in ud_utf82utf16()1455 c_32 = *s_8 & 0x1F; in ud_utf82utf16()1457 if (((*s_8 & 0xF0) != 0xE0) || in ud_utf82utf16()1458 ((*(s_8 + 1) & 0xC0) != 0x80) || in ud_utf82utf16()[all …]
120 static int32_t hs_ucs2_2_utf8(uint16_t c_16, uint8_t *s_8);1787 hs_ucs2_2_utf8(uint16_t c_16, uint8_t *s_8) in hs_ucs2_2_utf8() argument1818 s_8 += nc; in hs_ucs2_2_utf8()1821 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1825 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1829 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1833 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1837 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1841 *(--s_8) = c_32 | hs_first_byte_mark[nc]; in hs_ucs2_2_utf8()