Searched refs:utf8Bytes (Results 1 – 1 of 1) sorted by relevance
38 int32_t u32CharToUTF8Bytes(uint32_t u32char, uint8_t utf8Bytes[kMaxUTF8BytesPerChar]);426 uint8_t utf8Bytes[kMaxUTF8BytesPerChar]; in utf8_normalizeOptCaseFoldToUTF8() local433 int32_t idx, utf8Len = u32CharToUTF8Bytes((uint32_t)*bufPtr++, utf8Bytes); in utf8_normalizeOptCaseFoldToUTF8()438 *ustrCur++ = (char)utf8Bytes[idx]; in utf8_normalizeOptCaseFoldToUTF8()711 u32CharToUTF8Bytes(uint32_t u32char, uint8_t utf8Bytes[kMaxUTF8BytesPerChar]) in u32CharToUTF8Bytes()715 utf8Bytes[idx++] = (uint8_t)u32char; in u32CharToUTF8Bytes()718 utf8Bytes[idx++] = (uint8_t)((u32char >> 6) | 0xC0); in u32CharToUTF8Bytes()721 utf8Bytes[idx++] = (uint8_t)((u32char >> 12) | 0xE0); in u32CharToUTF8Bytes()723 utf8Bytes[idx++] = (uint8_t)((u32char >> 18) | 0xF0); in u32CharToUTF8Bytes()724 utf8Bytes[idx++] = (uint8_t)(((u32char >> 12) & 0x3F) | 0x80); in u32CharToUTF8Bytes()[all …]