Searched refs:codepoint (Results 1 – 2 of 2) sorted by relevance
60 inline size_t UTF8Length(uint32_t codepoint) in UTF8Length() argument62 if (codepoint <= UTF8_1B_MAX) { in UTF8Length()65 if (codepoint <= UTF8_2B_MAX) { in UTF8Length()68 if (codepoint <= UTF8_3B_MAX) { in UTF8Length()75 size_t EncodeUTF8(uint32_t codepoint, uint8_t* utf8, size_t len, size_t index) in EncodeUTF8() argument77 size_t size = UTF8Length(codepoint); in EncodeUTF8()82 uint8_t cont = ((codepoint | byteMark) & byteMask); in EncodeUTF8()84 codepoint >>= UTF8_OFFSET; in EncodeUTF8()86 utf8[index] = codepoint | firstByteMark[size]; in EncodeUTF8()225 uint32_t codepoint = DecodeUTF16(utf16In, end, &i); in ConvertRegionUtf16ToUtf8() local[all …]
73 size_t EncodeUTF8(uint32_t codepoint, uint8_t* utf8, size_t len, size_t index);