Lines Matching refs:UTF16
63 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF16()
66 UTF16* target = *targetStart; in ConvertUTF32toUTF16()
84 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
99 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
100 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
111 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF32()
114 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32()
118 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32()
215 const UTF16** sourceStart, const UTF16* sourceEnd, in ConvertUTF16toUTF8()
218 const UTF16* source = *sourceStart; in ConvertUTF16toUTF8()
225 const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF8()
348 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) { in ConvertUTF8toUTF16()
351 UTF16* target = *targetStart; in ConvertUTF8toUTF16()
391 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF8toUTF16()
408 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF8toUTF16()
409 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF8toUTF16()