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

References

lib/Support/ConvertUTF.cpp
  259         ch = *source++;
  261         if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_HIGH_END) {
  261         if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_HIGH_END) {
  267                     ch = ((ch - UNI_SUR_HIGH_START) << halfShift)
  267                     ch = ((ch - UNI_SUR_HIGH_START) << halfShift)
  282             if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) {
  282             if (ch >= UNI_SUR_LOW_START && ch <= UNI_SUR_LOW_END) {
  289         if (ch < (UTF32)0x80) {      bytesToWrite = 1;
  290         } else if (ch < (UTF32)0x800) {     bytesToWrite = 2;
  291         } else if (ch < (UTF32)0x10000) {   bytesToWrite = 3;
  292         } else if (ch < (UTF32)0x110000) {  bytesToWrite = 4;
  294                                             ch = UNI_REPLACEMENT_CHAR;
  303             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  303             case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  304             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  304             case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  305             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  305             case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6;
  306             case 1: *--target =  (UTF8)(ch | firstByteMark[bytesToWrite]);