Lines Matching refs:utf8Bytes
38 int32_t u32CharToUTF8Bytes(uint32_t u32char, uint8_t utf8Bytes[kMaxUTF8BytesPerChar]);
426 uint8_t utf8Bytes[kMaxUTF8BytesPerChar]; in utf8_normalizeOptCaseFoldToUTF8() local
433 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()
726 utf8Bytes[idx++] = (uint8_t)(((u32char >> 6) & 0x3F) | 0x80); in u32CharToUTF8Bytes()
728 utf8Bytes[idx++] = (uint8_t)((u32char & 0x3F) | 0x80); in u32CharToUTF8Bytes()