Searched refs:srcChar (Results 1 – 1 of 1) sorted by relevance
63 static inline size_t utf32_codepoint_utf8_length(char32_t srcChar) in utf32_codepoint_utf8_length() argument66 if (srcChar < 0x00000080) { in utf32_codepoint_utf8_length()68 } else if (srcChar < 0x00000800) { in utf32_codepoint_utf8_length()70 } else if (srcChar < 0x00010000) { in utf32_codepoint_utf8_length()71 if ((srcChar < kUnicodeSurrogateStart) || (srcChar > kUnicodeSurrogateEnd)) { in utf32_codepoint_utf8_length()79 else if (srcChar <= kUnicodeMaxCodepoint) { in utf32_codepoint_utf8_length()89 static inline void utf32_codepoint_to_utf8(uint8_t* dstP, char32_t srcChar, size_t bytes) in utf32_codepoint_to_utf8() argument94 case 4: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()96 case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()98 case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()[all …]