MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / PrintStringTo

Function PrintStringTo

source/test/gtest/gtest-printers.cc:523–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521} // anonymous namespace
522
523void PrintStringTo(const ::std::string& s, ostream* os) {
524 if (PrintCharsAsStringTo(s.data(), s.size(), os) == kHexEscape) {
525 if (GTEST_FLAG_GET(print_utf8)) {
526 ConditionalPrintAsText(s.data(), s.size(), os);
527 }
528 }
529}
530
531#ifdef __cpp_char8_t
532void PrintU8StringTo(const ::std::u8string& s, ostream* os) {

Callers 1

PrintToFunction · 0.70

Calls 4

PrintCharsAsStringToFunction · 0.70
ConditionalPrintAsTextFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected