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

References

lib/Support/ConvertUTF.cpp
  621     while (source < sourceEnd) {
  623         unsigned short extraBytesToRead = trailingBytesForUTF8[*source];
  624         if (extraBytesToRead >= sourceEnd - source) {
  635                 source += findMaximalSubpartOfIllFormedUTF8Sequence(source,
  635                 source += findMaximalSubpartOfIllFormedUTF8Sequence(source,
  646         if (!isLegalUTF8(source, extraBytesToRead+1)) {
  656                 source += findMaximalSubpartOfIllFormedUTF8Sequence(source,
  656                 source += findMaximalSubpartOfIllFormedUTF8Sequence(source,
  666             case 5: ch += *source++; ch <<= 6;
  667             case 4: ch += *source++; ch <<= 6;
  668             case 3: ch += *source++; ch <<= 6;
  669             case 2: ch += *source++; ch <<= 6;
  670             case 1: ch += *source++; ch <<= 6;
  671             case 0: ch += *source++;
  682                     source -= (extraBytesToRead+1); /* return to the illegal value itself */
  696     *sourceStart = source;