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

References

lib/Support/ConvertUTF.cpp
  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;
  293         } else {                            bytesToWrite = 3;
  297         target += bytesToWrite;
  300             target -= bytesToWrite; result = targetExhausted; break;
  302         switch (bytesToWrite) { /* note: everything falls through. */
  306             case 1: *--target =  (UTF8)(ch | firstByteMark[bytesToWrite]);
  308         target += bytesToWrite;