Lines Matching refs:ostream
39 // type Foo by defining either operator<<(::std::ostream&, const Foo&)
40 // or void PrintTo(const Foo&, ::std::ostream*) in the namespace that
52 #include <ostream> // NOLINT
63 using ::std::ostream;
71 size_t count, ostream* os) {
88 // Prints the bytes in the given value to the given ostream.
90 ostream* os) {
131 ostream* os) {
151 static CharFormat PrintAsCharLiteralTo(Char c, ostream* os) {
189 ostream::fmtflags flags = os->flags();
200 static CharFormat PrintAsStringLiteralTo(char32_t c, ostream* os) {
231 static CharFormat PrintAsStringLiteralTo(char c, ostream* os) {
236 static CharFormat PrintAsStringLiteralTo(char8_t c, ostream* os) {
241 static CharFormat PrintAsStringLiteralTo(char16_t c, ostream* os) {
245 static CharFormat PrintAsStringLiteralTo(wchar_t c, ostream* os) {
253 void PrintCharAndCodeTo(Char c, ostream* os) {
276 void PrintTo(unsigned char c, ::std::ostream* os) { PrintCharAndCodeTo(c, os); }
277 void PrintTo(signed char c, ::std::ostream* os) { PrintCharAndCodeTo(c, os); }
281 void PrintTo(wchar_t wc, ostream* os) { PrintCharAndCodeTo(wc, os); }
284 void PrintTo(char32_t c, ::std::ostream* os) {
291 void PrintTo(__uint128_t v, ::std::ostream* os) {
324 void PrintTo(__int128_t v, ::std::ostream* os) {
334 // Prints the given array of characters to the ostream. CharType must be either
342 PrintCharsAsStringTo(const CharType* begin, size_t len, ostream* os) {
372 ostream* os) {
394 void UniversalPrintArray(const char* begin, size_t len, ostream* os) {
401 void UniversalPrintArray(const char8_t* begin, size_t len, ostream* os) {
408 void UniversalPrintArray(const char16_t* begin, size_t len, ostream* os) {
414 void UniversalPrintArray(const char32_t* begin, size_t len, ostream* os) {
420 void UniversalPrintArray(const wchar_t* begin, size_t len, ostream* os) {
426 // Prints a null-terminated C-style string to the ostream.
428 void PrintCStringTo(const Char* s, ostream* os) {
439 void PrintTo(const char* s, ostream* os) { PrintCStringTo(s, os); }
442 void PrintTo(const char8_t* s, ostream* os) { PrintCStringTo(s, os); }
445 void PrintTo(const char16_t* s, ostream* os) { PrintCStringTo(s, os); }
447 void PrintTo(const char32_t* s, ostream* os) { PrintCStringTo(s, os); }
456 // Prints the given wide C string to the ostream.
457 void PrintTo(const wchar_t* s, ostream* os) { PrintCStringTo(s, os); }
516 void ConditionalPrintAsText(const char* str, size_t length, ostream* os) {
525 void PrintStringTo(const ::std::string& s, ostream* os) {
534 void PrintU8StringTo(const ::std::u8string& s, ostream* os) {
539 void PrintU16StringTo(const ::std::u16string& s, ostream* os) {
543 void PrintU32StringTo(const ::std::u32string& s, ostream* os) {
548 void PrintWideStringTo(const ::std::wstring& s, ostream* os) {