Searched refs:srcChar (Results 1 – 1 of 1) sorted by relevance
77 static inline size_t utf32_codepoint_utf8_length(char32_t srcChar) in utf32_codepoint_utf8_length() argument80 if (srcChar < 0x00000080) { in utf32_codepoint_utf8_length()82 } else if (srcChar < 0x00000800) { in utf32_codepoint_utf8_length()84 } else if (srcChar < 0x00010000) { in utf32_codepoint_utf8_length()85 if ((srcChar < kUnicodeSurrogateStart) || (srcChar > kUnicodeSurrogateEnd)) { in utf32_codepoint_utf8_length()93 else if (srcChar <= kUnicodeMaxCodepoint) { in utf32_codepoint_utf8_length()103 static inline void utf32_codepoint_to_utf8(uint8_t* dstP, char32_t srcChar, size_t bytes) in utf32_codepoint_to_utf8() argument108 case 4: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()110 case 3: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()112 case 2: *--dstP = (uint8_t)((srcChar | kByteMark) & kByteMask); srcChar >>= 6; in utf32_codepoint_to_utf8()[all …]