reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/ConvertUTF.cpp
  562             case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  562             case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  563             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  563             case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  564             case 3: ch += *source++; ch <<= 6;
  564             case 3: ch += *source++; ch <<= 6;
  565             case 2: ch += *source++; ch <<= 6;
  565             case 2: ch += *source++; ch <<= 6;
  566             case 1: ch += *source++; ch <<= 6;
  566             case 1: ch += *source++; ch <<= 6;
  567             case 0: ch += *source++;
  569         ch -= offsetsFromUTF8[extraBytesToRead];
  575         if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */
  577             if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
  577             if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
  586                 *target++ = (UTF16)ch; /* normal case */
  588         } else if (ch > UNI_MAX_UTF16) {
  602             ch -= halfBase;
  603             *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
  604             *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START);