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

References

lib/Support/YAMLParser.cpp
  567   if (UnicodeScalarValue <= 0x7F) {
  568     Result.push_back(UnicodeScalarValue & 0x7F);
  569   } else if (UnicodeScalarValue <= 0x7FF) {
  570     uint8_t FirstByte = 0xC0 | ((UnicodeScalarValue & 0x7C0) >> 6);
  571     uint8_t SecondByte = 0x80 | (UnicodeScalarValue & 0x3F);
  574   } else if (UnicodeScalarValue <= 0xFFFF) {
  575     uint8_t FirstByte = 0xE0 | ((UnicodeScalarValue & 0xF000) >> 12);
  576     uint8_t SecondByte = 0x80 | ((UnicodeScalarValue & 0xFC0) >> 6);
  577     uint8_t ThirdByte = 0x80 | (UnicodeScalarValue & 0x3F);
  581   } else if (UnicodeScalarValue <= 0x10FFFF) {
  582     uint8_t FirstByte = 0xF0 | ((UnicodeScalarValue & 0x1F0000) >> 18);
  583     uint8_t SecondByte = 0x80 | ((UnicodeScalarValue & 0x3F000) >> 12);
  584     uint8_t ThirdByte = 0x80 | ((UnicodeScalarValue & 0xFC0) >> 6);
  585     uint8_t FourthByte = 0x80 | (UnicodeScalarValue & 0x3F);