Lines Matching refs:UTF32

58 static const UTF32 halfBase = 0x0010000UL;
59 static const UTF32 halfMask = 0x3FFUL;
61 #define UNI_SUR_HIGH_START (UTF32)0xD800
62 #define UNI_SUR_HIGH_END (UTF32)0xDBFF
63 #define UNI_SUR_LOW_START (UTF32)0xDC00
64 #define UNI_SUR_LOW_END (UTF32)0xDFFF
93 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
119 const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF16()
122 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16()
125 UTF32 ch; in ConvertUTF32toUTF16()
169 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF32()
172 UTF32* target = *targetStart; in ConvertUTF16toUTF32()
173 UTF32 ch, ch2; in ConvertUTF16toUTF32()
228 UTF32 ch; in ConvertUTF16toUTF8()
230 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8()
231 const UTF32 byteMark = 0x80; in ConvertUTF16toUTF8()
238 UTF32 ch2 = *source; in ConvertUTF16toUTF8()
263 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8()
264 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8()
265 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8()
266 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8()
292 const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF8()
295 const UTF32* source = *sourceStart; in ConvertUTF32toUTF8()
298 UTF32 ch; in ConvertUTF32toUTF8()
300 const UTF32 byteMask = 0xBF; in ConvertUTF32toUTF8()
301 const UTF32 byteMark = 0x80; in ConvertUTF32toUTF8()
315 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF32toUTF8()
316 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF32toUTF8()
317 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF32toUTF8()
522 UTF32 ch = 0; in ConvertUTF8toUTF16()
590 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags, in ConvertUTF8toUTF32Impl()
594 UTF32* target = *targetStart; in ConvertUTF8toUTF32Impl()
596 UTF32 ch = 0; in ConvertUTF8toUTF32Impl()
677 UTF32 **targetStart, in ConvertUTF8toUTF32Partial()
678 UTF32 *targetEnd, in ConvertUTF8toUTF32Partial()
685 const UTF8 *sourceEnd, UTF32 **targetStart, in ConvertUTF8toUTF32()
686 UTF32 *targetEnd, ConversionFlags flags) { in ConvertUTF8toUTF32()