Lines Matching refs:UTF16
83 … UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF16()
86 UTF16* target = *targetStart; in ConvertUTF32toUTF16()
104 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
119 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
120 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
130 ConversionResult ConvertUTF16toUTF32 (const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF32()
133 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32()
137 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32()
233 ConversionResult ConvertUTF16toUTF8 (const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF8()
236 const UTF16* source = *sourceStart; in ConvertUTF16toUTF8()
243 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF8()
355 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF8toUTF16()
358 UTF16* target = *targetStart; in ConvertUTF8toUTF16()
398 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF8toUTF16()
415 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
416 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF8toUTF16()