Searched refs:c_32 (Results 1 – 2 of 2) sorted by relevance
1424 uint32_t c_32; in ud_utf82utf16() local1432 c_32 = 0; in ud_utf82utf16()1449 c_32 = *s_8 & 0x7F; in ud_utf82utf16()1455 c_32 = *s_8 & 0x1F; in ud_utf82utf16()1462 c_32 = *s_8 & 0x0F; in ud_utf82utf16()1470 c_32 = *s_8 & 0x07; in ud_utf82utf16()1479 c_32 = *s_8 & 0x03; in ud_utf82utf16()1489 c_32 = *s_8 & 0x01; in ud_utf82utf16()1500 c_32 <<= 6; in ud_utf82utf16()1501 c_32 += (*s_8++ & 0x3F); in ud_utf82utf16()[all …]
1790 uint32_t c_32; in hs_ucs2_2_utf8() local1797 c_32 = c_16; in hs_ucs2_2_utf8()1803 if (c_32 < 0x80) { in hs_ucs2_2_utf8()1805 } else if (c_32 < 0x800) { in hs_ucs2_2_utf8()1807 } else if (c_32 < 0x10000) { in hs_ucs2_2_utf8()1809 } else if (c_32 < 0x200000) { in hs_ucs2_2_utf8()1811 } else if (c_32 < 0x4000000) { in hs_ucs2_2_utf8()1813 } else if (c_32 <= 0x7FFFFFFF) { /* avoid signed overflow */ in hs_ucs2_2_utf8()1821 *(--s_8) = (c_32 | byte_mark) & byte_mask; in hs_ucs2_2_utf8()1822 c_32 >>= 6; in hs_ucs2_2_utf8()[all …]