Home | History | Annotate | Download | only in Support

Lines Matching refs:OS

27   raw_svector_ostream OS(Out);
28 print(OS);
58 void Twine::printOneChild(raw_ostream &OS, const void *Ptr,
64 static_cast<const Twine*>(Ptr)->print(OS);
67 OS << static_cast<const char*>(Ptr);
70 OS << *static_cast<const std::string*>(Ptr);
73 OS << *static_cast<const StringRef*>(Ptr);
76 OS << (unsigned)(uintptr_t)Ptr;
79 OS << (int)(intptr_t)Ptr;
82 OS << *static_cast<const unsigned long*>(Ptr);
85 OS << *static_cast<const long*>(Ptr);
88 OS << *static_cast<const unsigned long long*>(Ptr);
91 OS << *static_cast<const long long*>(Ptr);
94 OS.write_hex(*static_cast<const uint64_t*>(Ptr));
99 void Twine::printOneChildRepr(raw_ostream &OS, const void *Ptr,
103 OS << "null"; break;
105 OS << "empty"; break;
107 OS << "rope:";
108 static_cast<const Twine*>(Ptr)->printRepr(OS);
111 OS << "cstring:\""
115 OS << "std::string:\""
119 OS << "stringref:\""
123 OS << "decUI:\"" << (unsigned)(uintptr_t)Ptr << "\"";
126 OS << "decI:\"" << (int)(intptr_t)Ptr << "\"";
129 OS << "decUL:\"" << *static_cast<const unsigned long*>(Ptr) << "\"";
132 OS << "decL:\"" << *static_cast<const long*>(Ptr) << "\"";
135 OS << "decULL:\"" << *static_cast<const unsigned long long*>(Ptr) << "\"";
138 OS << "decLL:\"" << *static_cast<const long long*>(Ptr) << "\"";
141 OS << "uhex:\"" << static_cast<const uint64_t*>(Ptr) << "\"";
146 void Twine::print(raw_ostream &OS) const {
147 printOneChild(OS, LHS, getLHSKind());
148 printOneChild(OS, RHS, getRHSKind());
151 void Twine::printRepr(raw_ostream &OS) const {
152 OS << "(Twine ";
153 printOneChildRepr(OS, LHS, getLHSKind());
154 OS << " ";
155 printOneChildRepr(OS, RHS, getRHSKind());
156 OS << ")";