Lines Matching refs:ch
235 const uint16_t ch = *chars++; in CountUtf8Bytes_reference() local
236 if (ch > 0 && ch <= 0x7f) { in CountUtf8Bytes_reference()
238 } else if (ch >= 0xd800 && ch <= 0xdbff) { in CountUtf8Bytes_reference()
257 } else if (ch > 0x7ff) { in CountUtf8Bytes_reference()
269 const uint16_t ch = *utf16_in++; in ConvertUtf16ToModifiedUtf8_reference() local
270 if (ch > 0 && ch <= 0x7f) { in ConvertUtf16ToModifiedUtf8_reference()
271 *utf8_out++ = ch; in ConvertUtf16ToModifiedUtf8_reference()
277 if ((ch >= 0xd800 && ch <= 0xdbff) && (char_count > 0)) { in ConvertUtf16ToModifiedUtf8_reference()
286 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; in ConvertUtf16ToModifiedUtf8_reference()
295 if (ch > 0x07ff) { in ConvertUtf16ToModifiedUtf8_reference()
297 *utf8_out++ = (ch >> 12) | 0xe0; in ConvertUtf16ToModifiedUtf8_reference()
298 *utf8_out++ = ((ch >> 6) & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
299 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()
302 *utf8_out++ = (ch >> 6) | 0xc0; in ConvertUtf16ToModifiedUtf8_reference()
303 *utf8_out++ = (ch & 0x3f) | 0x80; in ConvertUtf16ToModifiedUtf8_reference()