Lines Matching defs:Output
382 // Output
385 Output::Output(raw_ostream &yout, void *context)
396 Output::~Output() {
399 bool Output::outputting() {
403 void Output::beginMapping() {
408 bool Output::mapTag(StringRef Tag, bool Use) {
410 this->output(" ");
411 this->output(Tag);
416 void Output::endMapping() {
420 bool Output::preflightKey(const char *Key, bool Required, bool SameAsDefault,
431 void Output::postflightKey(void *) {
438 void Output::beginDocuments() {
442 bool Output::preflightDocument(unsigned index) {
448 void Output::postflightDocument() {
451 void Output::endDocuments() {
452 output("\n...\n");
455 unsigned Output::beginSequence() {
461 void Output::endSequence() {
465 bool Output::preflightElement(unsigned, void *&) {
469 void Output::postflightElement(void *) {
472 unsigned Output::beginFlowSequence() {
476 output("[ ");
481 void Output::endFlowSequence() {
486 bool Output::preflightFlowElement(unsigned, void *&) {
488 output(", ");
490 output("\n");
492 output(" ");
494 output(" ");
499 void Output::postflightFlowElement(void *) {
503 void Output::beginEnumScalar() {
507 bool Output::matchEnumScalar(const char *Str, bool Match) {
516 void Output::endEnumScalar() {
521 bool Output::beginBitSetScalar(bool &DoClear) {
523 output("[ ");
529 bool Output::bitSetMatch(const char *Str, bool Matches) {
532 output(", ");
533 this->output(Str);
539 void Output::endBitSetScalar() {
543 void Output::scalarString(StringRef &S, bool MustQuote) {
559 output("'"); // Starting single quote.
564 output(StringRef(&Base[i], j - i + 1));
565 output("'");
570 output(StringRef(&Base[i], j - i));
574 void Output::setError(const Twine &message) {
577 bool Output::canElideEmptySequence() {
590 void Output::output(StringRef s) {
595 void Output::outputUpToEndOfLine(StringRef s) {
596 this->output(s);
601 void Output::outputNewLine() {
610 void Output::newLineCheck() {
630 output(" ");
633 output("- ");
638 void Output::paddedKey(StringRef key) {
639 output(key);
640 output(":");
643 output(&spaces[key.size()]);
645 output(" ");
652 void ScalarTraits<bool>::output(const bool &Val, void *, raw_ostream &Out) {
667 void ScalarTraits<StringRef>::output(const StringRef &Val, void *,
678 void ScalarTraits<std::string>::output(const std::string &Val, void *,
689 void ScalarTraits<uint8_t>::output(const uint8_t &Val, void *,
706 void ScalarTraits<uint16_t>::output(const uint16_t &Val, void *,
722 void ScalarTraits<uint32_t>::output(const uint32_t &Val, void *,
738 void ScalarTraits<uint64_t>::output(const uint64_t &Val, void *,
752 void ScalarTraits<int8_t>::output(const int8_t &Val, void *, raw_ostream &Out) {
768 void ScalarTraits<int16_t>::output(const int16_t &Val, void *,
783 void ScalarTraits<int32_t>::output(const int32_t &Val, void *,
798 void ScalarTraits<int64_t>::output(const int64_t &Val, void *,
811 void ScalarTraits<double>::output(const double &Val, void *, raw_ostream &Out) {
824 void ScalarTraits<float>::output(const float &Val, void *, raw_ostream &Out) {
837 void ScalarTraits<Hex8>::output(const Hex8 &Val, void *, raw_ostream &Out) {
852 void ScalarTraits<Hex16>::output(const Hex16 &Val, void *, raw_ostream &Out) {
867 void ScalarTraits<Hex32>::output(const Hex32 &Val, void *, raw_ostream &Out) {
882 void ScalarTraits<Hex64>::output(const Hex64 &Val, void *, raw_ostream &Out) {