Lines Matching refs:UTF32
65 static const UTF32 halfBase = 0x0010000UL;
66 static const UTF32 halfMask = 0x3FFUL;
68 #define UNI_SUR_HIGH_START (UTF32)0xD800
69 #define UNI_SUR_HIGH_END (UTF32)0xDBFF
70 #define UNI_SUR_LOW_START (UTF32)0xDC00
71 #define UNI_SUR_LOW_END (UTF32)0xDFFF
82 ConversionResult ConvertUTF32toUTF16 (const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF16()
85 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16()
88 UTF32 ch; in ConvertUTF32toUTF16()
131 … UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF32()
134 UTF32* target = *targetStart; in ConvertUTF16toUTF32()
135 UTF32 ch, ch2; in ConvertUTF16toUTF32()
209 static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
239 UTF32 ch; in ConvertUTF16toUTF8()
241 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8()
242 const UTF32 byteMark = 0x80; in ConvertUTF16toUTF8()
249 UTF32 ch2 = *source; in ConvertUTF16toUTF8()
274 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8()
275 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8()
276 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8()
277 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8()
360 UTF32 ch = 0; in ConvertUTF8toUTF16()
426 ConversionResult ConvertUTF32toUTF8 (const UTF32** sourceStart, const UTF32* sourceEnd, in ConvertUTF32toUTF8()
429 const UTF32* source = *sourceStart; in ConvertUTF32toUTF8()
432 UTF32 ch; in ConvertUTF32toUTF8()
434 const UTF32 byteMask = 0xBF; in ConvertUTF32toUTF8()
435 const UTF32 byteMark = 0x80; in ConvertUTF32toUTF8()
449 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF32toUTF8()
450 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF32toUTF8()
451 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF32toUTF8()
479 UTF32** targetStart, UTF32* targetEnd, ConversionFlags flags) { in ConvertUTF8toUTF32()
482 UTF32* target = *targetStart; in ConvertUTF8toUTF32()
484 UTF32 ch = 0; in ConvertUTF8toUTF32()