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

References

lib/Support/ConvertUTF.cpp
  341         if (ch < (UTF32)0x80) {      bytesToWrite = 1;
  342         } else if (ch < (UTF32)0x800) {     bytesToWrite = 2;
  343         } else if (ch < (UTF32)0x10000) {   bytesToWrite = 3;
  344         } else if (ch <= UNI_MAX_LEGAL_UTF32) {  bytesToWrite = 4;
  345         } else {                            bytesToWrite = 3;
  350         target += bytesToWrite;
  353             target -= bytesToWrite; result = targetExhausted; break;
  355         switch (bytesToWrite) { /* note: everything falls through. */
  359             case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]);
  361         target += bytesToWrite;