|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/BrainF/BrainF.cpp 313 std::cerr << "Error: Unknown symbol.\n";
426 std::cerr << "Error: Extra ']'\n";
471 std::cerr << "Error: Missing ']'\n";
examples/ParallelJIT/ParallelJIT.cpp 178 std::cout << "Unblocking threads from block()" << std::endl;
203 std::cout << "Unblocking threads from releaseThreads()" << std::endl;
282 std::cerr << "Could not create thread" << std::endl;
289 std::cerr << "Could not create thread" << std::endl;
296 std::cerr << "Could not create thread" << std::endl;
305 std::cerr << "Could not join thread" << std::endl;
308 std::cout << "Add1 returned " << intptr_t(returnValue) << std::endl;
312 std::cerr << "Could not join thread" << std::endl;
315 std::cout << "Fib1 returned " << intptr_t(returnValue) << std::endl;
319 std::cerr << "Could not join thread" << std::endl;
322 std::cout << "Fib2 returned " << intptr_t(returnValue) << std::endl;
gen/lib/Target/AArch64/AArch64GenMCCodeEmitter.inc21332 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
21333 << " instruction but the ";
21336 Msg << SubtargetFeatureNames[i] << " ";
21336 Msg << SubtargetFeatureNames[i] << " ";
21337 Msg << "predicate(s) are not met";
gen/lib/Target/AMDGPU/AMDGPUGenMCCodeEmitter.inc50364 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
50365 << " instruction but the ";
50368 Msg << SubtargetFeatureNames[i] << " ";
50368 Msg << SubtargetFeatureNames[i] << " ";
50369 Msg << "predicate(s) are not met";
gen/lib/Target/AMDGPU/R600GenMCCodeEmitter.inc 2321 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
2322 << " instruction but the ";
2325 Msg << SubtargetFeatureNames[i] << " ";
2325 Msg << SubtargetFeatureNames[i] << " ";
2326 Msg << "predicate(s) are not met";
gen/lib/Target/BPF/BPFGenMCCodeEmitter.inc 980 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
981 << " instruction but the ";
984 Msg << SubtargetFeatureNames[i] << " ";
984 Msg << SubtargetFeatureNames[i] << " ";
985 Msg << "predicate(s) are not met";
gen/lib/Target/Hexagon/HexagonGenMCCodeEmitter.inc14643 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
14644 << " instruction but the ";
14647 Msg << SubtargetFeatureNames[i] << " ";
14647 Msg << SubtargetFeatureNames[i] << " ";
14648 Msg << "predicate(s) are not met";
gen/lib/Target/PowerPC/PPCGenMCCodeEmitter.inc 8510 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
8511 << " instruction but the ";
8514 Msg << SubtargetFeatureNames[i] << " ";
8514 Msg << SubtargetFeatureNames[i] << " ";
8515 Msg << "predicate(s) are not met";
gen/lib/Target/Sparc/SparcGenMCCodeEmitter.inc 2463 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
2464 << " instruction but the ";
2467 Msg << SubtargetFeatureNames[i] << " ";
2467 Msg << SubtargetFeatureNames[i] << " ";
2468 Msg << "predicate(s) are not met";
gen/lib/Target/SystemZ/SystemZGenMCCodeEmitter.inc11991 Msg << "Attempting to emit " << MCII.getName(Inst.getOpcode()).str()
11992 << " instruction but the ";
11995 Msg << SubtargetFeatureNames[i] << " ";
11995 Msg << SubtargetFeatureNames[i] << " ";
11996 Msg << "predicate(s) are not met";
include/llvm/Testing/Support/Error.h 54 *OS << "succeeded with value (";
56 *OS << ")";
60 *OS << "did not succeed or value (";
62 *OS << ")";
113 *OS << "failed with Error of given type";
115 *OS << " and the error ";
121 *OS << "succeeded or did not fail with the error of given type";
123 *OS << " or the error ";
include/llvm/Testing/Support/SupportHelpers.h 53 *Out << "succeeded with value " << ::testing::PrintToString(*Item.Exp);
82 *OS << "has a value that ";
86 *OS << "does not have a value that ";
lib/MC/MCParser/AsmParser.cpp 2773 MaxNestingDepthError << "macros cannot be nested more than "
2774 << MaxNestingDepth << " levels deep."
2775 << " Use -asm-macro-max-nesting-depth to increase "
lib/Target/AVR/AsmParser/AVRAsmParser.cpp 705 RegName << "r" << RegNum;
lib/Target/Hexagon/HexagonMachineScheduler.cpp 509 dbgstr << "SU(" << std::setw(3) << (*I)->NodeNum << ")";
509 dbgstr << "SU(" << std::setw(3) << (*I)->NodeNum << ")";
605 dbgstr << "h" << std::setw(3) << SU->getHeight() << "|";
605 dbgstr << "h" << std::setw(3) << SU->getHeight() << "|";
625 dbgstr << "d" << std::setw(3) << SU->getDepth() << "|";
625 dbgstr << "d" << std::setw(3) << SU->getDepth() << "|";
660 dbgstr << "blk " << std::setw(2) << NumNodesBlocking << ")|";
660 dbgstr << "blk " << std::setw(2) << NumNodesBlocking << ")|";
752 dbgstr << "Total " << std::setw(4) << ResCount << ")";
752 dbgstr << "Total " << std::setw(4) << ResCount << ")";
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp 396 errStr << "\nError: value " <<
397 FixupValue <<
399 IntMin.getSExtValue() <<
401 IntMax.getSExtValue() <<
402 " when resolving " <<
403 fixupStr <<
lib/Target/NVPTX/NVPTXISelLowering.cpp 1270 O << "prototype_" << uniqueCallSite << " : .callprototype ";
1270 O << "prototype_" << uniqueCallSite << " : .callprototype ";
1273 O << "()";
1275 O << "(";
1291 O << ".param .b" << size << " _";
1291 O << ".param .b" << size << " _";
1293 O << ".param .b" << PtrVT.getSizeInBits() << " _";
1293 O << ".param .b" << PtrVT.getSizeInBits() << " _";
1296 O << ".param .align " << retAlignment << " .b8 _["
1296 O << ".param .align " << retAlignment << " .b8 _["
1297 << DL.getTypeAllocSize(retTy) << "]";
1301 O << ") ";
1303 O << "_ (";
1311 O << ", ";
1323 O << ".param .align " << align << " .b8 ";
1323 O << ".param .align " << align << " .b8 ";
1324 O << "_";
1325 O << "[" << sz << "]";
1325 O << "[" << sz << "]";
1352 O << ".param .b" << sz << " ";
1352 O << ".param .b" << sz << " ";
1353 O << "_";
1362 O << ".param .align " << align << " .b8 ";
1362 O << ".param .align " << align << " .b8 ";
1363 O << "_";
1364 O << "[" << sz << "]";
1364 O << "[" << sz << "]";
1366 O << ");";
lib/Target/NVPTX/NVPTXRegisterInfo.h 53 O << "reg" << RegNo;
lib/Transforms/IPO/Inliner.cpp 397 R << "(cost=always)";
399 R << "(cost=never)";
401 R << "(cost=" << ore::NV("Cost", IC.getCost())
402 << ", threshold=" << ore::NV("Threshold", IC.getThreshold()) << ")";
402 << ", threshold=" << ore::NV("Threshold", IC.getThreshold()) << ")";
405 R << ": " << ore::NV("Reason", Reason);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2778 Name << kAsanSetShadowPrefix;
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 1983 oss << " after transformScopes " << I++;
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp 78 Str << std::setprecision(4) << Msg << ": " << Fraction << " [" << Result
78 Str << std::setprecision(4) << Msg << ": " << Fraction << " [" << Result
78 Str << std::setprecision(4) << Msg << ": " << Fraction << " [" << Result
79 << "% of " << PercentageOfMsg << "]";
79 << "% of " << PercentageOfMsg << "]";
79 << "% of " << PercentageOfMsg << "]";
81 Str << "\n";
tools/bugpoint/ExecutionDriver.cpp 371 outFile << "exit " << *RetVal << '\n';
tools/bugpoint/ToolRunner.cpp 85 OS << "\nError running remote client:\n ";
87 OS << " " << Arg.str();
88 OS << "\n";
109 OS << "\nError running tool:\n ";
111 OS << " " << Arg.str();
112 OS << "\n";
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h 429 SS << "\n";
487 SS << "BB_null";
490 SS << "BB_";
493 SS << ":";
504 SS << "_x" << E->id();
509 SS << "(";
511 SS << ")";
526 SS << "#null";
534 SS << "#undefined";
538 SS << "*";
547 SS << "'" << E->value() << "'";
547 SS << "'" << E->value() << "'";
559 SS << "void";
563 SS << "true";
565 SS << "false";
610 SS << "\"";
612 SS << "\"";
615 SS << "#ptr";
618 SS << "#vref";
622 SS << "#lit";
631 SS << "this";
639 SS << "\\("; // Lambda
642 SS << "("; // Slot declarations
645 SS << ", "; // Curried functions
649 SS << ": ";
656 SS << ")";
662 SS << "@";
664 SS << " ";
669 SS << ": ";
671 SS << " -> ";
676 SS << ": ";
678 SS << " = ";
686 SS << ", ";
689 SS << "(";
693 SS << ")$";
699 SS << "@(";
701 SS << ")";
718 SS << "&";
725 SS << "->";
727 SS << ".";
735 SS << ")";
739 SS << "()";
744 SS << "new ";
751 SS << "^";
756 SS << " := ";
762 SS << "[";
764 SS << "]";
769 SS << " + ";
780 SS << " " << getBinaryOpcodeString(E->binaryOpcode()) << " ";
780 SS << " " << getBinaryOpcodeString(E->binaryOpcode()) << " ";
786 SS << "cast[";
789 SS << "none";
792 SS << "extendNum";
795 SS << "truncNum";
798 SS << "toFloat";
801 SS << "toInt";
804 SS << "objToPtr";
807 SS << "](";
809 SS << ")";
816 SS << "CFG {\n";
819 SS << "}";
827 SS << "let " << V->name() << V->id() << " = ";
827 SS << "let " << V->name() << V->id() << " = ";
832 SS << "let _x" << E->id() << " = ";
832 SS << "let _x" << E->id() << " = ";
835 SS << ";";
840 SS << "BB_" << E->blockID() << ":";
840 SS << "BB_" << E->blockID() << ":";
842 SS << " BB_" << E->parent()->blockID();
854 SS << ";";
861 SS << "phi(";
868 SS << ", ";
872 SS << ")";
876 SS << "goto ";
881 SS << "branch (";
883 SS << ") ";
885 SS << " ";
890 SS << "return ";
901 SS << " ? ";
903 SS << " : ";
907 SS << "if (";
909 SS << ") then ";
911 SS << " else ";
916 SS << "let ";
918 SS << " = ";
920 SS << "; ";
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 165 Result << E.getKey().str() << " " << E.getValue() << '\n';
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 243 filename << "report-"
245 << "-" << declName.c_str()
245 << "-" << declName.c_str()
246 << "-" << offsetDecl
247 << "-" << i << ".html";
247 << "-" << i << ".html";
tools/clang/lib/Tooling/CompilationDatabase.cpp 94 ErrorStream << "No compilation database found in " << Directory.str()
95 << " or any parent directory\n" << LoadErrorMessage;
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp 55 *OS << " with score " << *Score;
tools/clang/tools/extra/clangd/unittests/Matchers.h 45 *OS << "Contains the subsequence [";
48 *OS << Sep;
52 *OS << "]";
159 *os << "has a value that ";
164 *os << "does not have a value that ";
tools/clang/unittests/AST/ASTImporterFixtures.h 219 OS << "Expected<> contains an ImportError " << IE.toString();
221 OS << "Expected<> contains an ImportError " << IE.toString()
222 << " instead of kind " << Kind;
226 OS << "Expected<> contains unexpected error: "
tools/clang/unittests/Tooling/TestVisitor.h 212 << " at " << Match.LineNumber << ":" << Match.ColumnNumber;
212 << " at " << Match.LineNumber << ":" << Match.ColumnNumber;
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 3437 SS << "static bool " << FnName << "(Sema &S, const ParsedAttr &Attr, ";
3437 SS << "static bool " << FnName << "(Sema &S, const ParsedAttr &Attr, ";
3438 SS << "const Decl *D) {\n";
3439 SS << " if (!D || (";
3447 SS << "!" << GenerateCustomAppertainsTo(**I, OS) << "(D)";
3447 SS << "!" << GenerateCustomAppertainsTo(**I, OS) << "(D)";
3449 SS << "!isa<" << GetSubjectWithSuffix(*I) << ">(D)";
3449 SS << "!isa<" << GetSubjectWithSuffix(*I) << ">(D)";
3453 SS << " && ";
3455 SS << ")) {\n";
3456 SS << " S.Diag(Attr.getLoc(), diag::";
3457 SS << (Warn ? "warn_attribute_wrong_decl_type_str" :
3459 SS << ")\n";
3460 SS << " << Attr << ";
3461 SS << CalculateDiagnostic(*SubjectObj) << ";\n";
3462 SS << " return false;\n";
3463 SS << " }\n";
3464 SS << " return true;\n";
3465 SS << "}\n\n";
tools/clang/utils/TableGen/NeonEmitter.cpp 1237 OS << "#define ";
1239 OS << "__ai " << Types[0].str() << " ";
1239 OS << "__ai " << Types[0].str() << " ";
1241 OS << NamePrefix.str() << mangleName(Name, ClassS) << "(";
1245 OS << ", ";
1254 OS << V.getType().str() << " ";
1258 OS << ")";
1263 OS << " __extension__ ({";
1265 OS << " {";
1271 OS << "})";
1273 OS << "}";
1278 OS << " \\\n";
1280 OS << "\n";
1288 OS << " " << Dest.getName() << ".val[" << K << "] = "
1288 OS << " " << Dest.getName() << ".val[" << K << "] = "
1288 OS << " " << Dest.getName() << ".val[" << K << "] = "
1289 << "__builtin_shufflevector("
1290 << Src.getName() << ".val[" << K << "], "
1290 << Src.getName() << ".val[" << K << "], "
1291 << Src.getName() << ".val[" << K << "]";
1291 << Src.getName() << ".val[" << K << "]";
1293 OS << ", " << J;
1294 OS << ");";
1298 OS << " " << Dest.getName()
1299 << " = __builtin_shufflevector(" << Src.getName() << ", " << Src.getName();
1299 << " = __builtin_shufflevector(" << Src.getName() << ", " << Src.getName();
1301 OS << ", " << J;
1302 OS << ");";
1322 OS << " " << NewV.getType().str() << " " << NewV.getName() << ";";
1322 OS << " " << NewV.getType().str() << " " << NewV.getName() << ";";
1322 OS << " " << NewV.getType().str() << " " << NewV.getName() << ";";
1361 OS << " " << V2.getType().str() << " " << V2.getName() << " = "
1361 OS << " " << V2.getType().str() << " " << V2.getName() << " = "
1361 OS << " " << V2.getType().str() << " " << V2.getName() << " = "
1362 << V.getName() << ";";
1477 OS << " " << RetExpr << S;
1487 OS << " " << RetVar.getType().str() << " " << RetVar.getName() << ";";
1487 OS << " " << RetVar.getType().str() << " " << RetVar.getName() << ";";
1487 OS << " " << RetVar.getType().str() << " " << RetVar.getName() << ";";
1512 OS << " " << L;
1521 OS << " " << RetVar.getName() << ";";
1521 OS << " " << RetVar.getName() << ";";
1523 OS << " return " << RetVar.getName() << ";";
1523 OS << " return " << RetVar.getName() << ";";
1665 Intr.OS << R.first.str() << " " << Intr.Variables[N].getName() << " = "
1665 Intr.OS << R.first.str() << " " << Intr.Variables[N].getName() << " = "
1666 << R.second << ";";
1918 OS << "#ifdef __LITTLE_ENDIAN__\n";
1922 OS << "#else\n";
1938 OS << "#endif\n\n";
1963 OS << " __attribute__((unavailable));";
1975 OS << "\n";
tools/lldb/include/lldb/Core/STLUtils.h 55 s << header_cstr;
tools/lldb/source/Host/common/Editline.cpp 103 combined_stream << line.c_str() << "\n";
103 combined_stream << line.c_str() << "\n";
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp 142 thread_name_with_number << thread_name << " Thread " << tid;
142 thread_name_with_number << thread_name << " Thread " << tid;
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp 244 msg << "host-serial:" << m_device_id << ":" << packet;
244 msg << "host-serial:" << m_device_id << ":" << packet;
323 msg << "host:transport:" << m_device_id;
475 file_description << remote_file.GetPath(false).c_str() << "," << kDefaultMode;
475 file_description << remote_file.GetPath(false).c_str() << "," << kDefaultMode;
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp 191 url_str << "connect://localhost:" << local_port;
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp 352 ostr << m_reg_context_up->GetWatchpointAddress(wp_index) << " ";
366 ostr << " " << m_reg_context_up->GetWatchpointHitAddress(wp_index);
tools/lldb/source/Plugins/Process/POSIX/CrashReason.cpp 19 ss << " (fault address: 0x" << std::hex << addr << ")";
19 ss << " (fault address: 0x" << std::hex << addr << ")";
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 3710 packet << "qXfer:" << object.AsCString("")
3710 packet << "qXfer:" << object.AsCString("")
3711 << ":read:" << annex.AsCString("") << ":" << std::hex << offset
3711 << ":read:" << annex.AsCString("") << ":" << std::hex << offset
3711 << ":read:" << annex.AsCString("") << ":" << std::hex << offset
3712 << "," << std::hex << size;
3739 output << &str[1];
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 122 url << m_socket_scheme << "://";
135 url << platform_ip.str() << ":" << port;
tools/lldb/tools/lldb-vscode/IOStream.cpp 106 *log << "End of file (EOF) reading from input file.\n";
123 *log << "Error " << reason << " reading from input file.\n";
123 *log << "Error " << reason << " reading from input file.\n";
154 *log << "Warning: Expected '" << expected.str() << "', got '" << result
154 *log << "Warning: Expected '" << expected.str() << "', got '" << result
155 << "\n";
tools/lldb/tools/lldb-vscode/VSCode.cpp 91 *log << "<-- " << std::endl
92 << "Content-Length: " << json_str.size() << "\r\n\r\n"
92 << "Content-Length: " << json_str.size() << "\r\n\r\n"
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp 81 *g_vsc.log << "error: opening socket (" << strerror(errno) << ")"
81 *g_vsc.log << "error: opening socket (" << strerror(errno) << ")"
81 *g_vsc.log << "error: opening socket (" << strerror(errno) << ")"
91 *g_vsc.log << "error: binding socket (" << strerror(errno) << ")"
91 *g_vsc.log << "error: binding socket (" << strerror(errno) << ")"
91 *g_vsc.log << "error: binding socket (" << strerror(errno) << ")"
101 *g_vsc.log << "error: accept (" << strerror(errno) << ")"
101 *g_vsc.log << "error: accept (" << strerror(errno) << ")"
101 *g_vsc.log << "error: accept (" << strerror(errno) << ")"
215 *g_vsc.log << "error: SendThreadStoppedEvent() when process"
217 << lldb::SBDebugger::StateAsCString(state) << ')'
222 *g_vsc.log << "error: SendThreadStoppedEvent() invalid process"
2636 *g_vsc.log << "error: failed to parse JSON: " << error_str << std::endl
2645 *g_vsc.log << "error: json packet isn't a object" << std::endl;
2657 *g_vsc.log << "error: unhandled command \"" << command.data() << std::endl;
2657 *g_vsc.log << "error: unhandled command \"" << command.data() << std::endl;
tools/lldb/unittests/Host/ConnectionFileDescriptorTest.cpp 29 GTEST_LOG_(WARNING) << "Skipping test due to missing IPv"
30 << (IsIPv4(ip) ? "4" : "6") << " support.";
30 << (IsIPv4(ip) ? "4" : "6") << " support.";
tools/lldb/unittests/Host/SocketTest.cpp 117 GTEST_LOG_(WARNING) << "Skipping test due to missing IPv4 support.";
160 GTEST_LOG_(WARNING) << "Skipping test due to missing IPv4 support.";
177 GTEST_LOG_(WARNING) << "Skipping test due to missing IPv4 support.";
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp 290 GTEST_LOG_(INFO) << "Formatted output: " << ss.GetData();
290 GTEST_LOG_(INFO) << "Formatted output: " << ss.GetData();
tools/lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp 58 return OS << SS.GetData();
tools/lldb/unittests/TestingSupport/TestUtilities.cpp 63 GTEST_LOG_(WARNING) << "Failed to delete `" << Name->c_str()
63 GTEST_LOG_(WARNING) << "Failed to delete `" << Name->c_str()
64 << "`: " << EC.message();
tools/lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp 139 return OS << S.GetData();
tools/lldb/unittests/Utility/VMRangeTest.cpp 19 (*os) << "VMRange(" << v.GetBaseAddress() << ", " << v.GetEndAddress() << ")";
19 (*os) << "VMRange(" << v.GetBaseAddress() << ", " << v.GetEndAddress() << ")";
19 (*os) << "VMRange(" << v.GetBaseAddress() << ", " << v.GetEndAddress() << ")";
tools/lldb/unittests/tools/lldb-server/tests/TestBase.cpp 25 GTEST_LOG_(WARNING) << "Cannot access log directory: " << Dir;
25 GTEST_LOG_(WARNING) << "Cannot access log directory: " << Dir;
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 134 command << "A";
195 GTEST_LOG_(INFO) << "Send Packet: " << message.str();
198 GTEST_LOG_(INFO) << "Read Packet: " << response_string;
tools/llvm-xray/func-id-helper.cpp 28 F << "#" << FuncId;
40 F << "@(" << std::hex << It->second << ")";
40 F << "@(" << std::hex << It->second << ")";
45 F << "@(" << std::hex << It->second << ")";
45 F << "@(" << std::hex << It->second << ")";
71 F << sys::path::filename(DI.FileName).str() << ":" << DI.Line << ":"
71 F << sys::path::filename(DI.FileName).str() << ":" << DI.Line << ":"
tools/polly/lib/CodeGen/PerfMonitor.cpp 89 Name << "__polly_perf_in_" << std::string(S.getFunction().getName())
90 << "_from__" << EntryString << "__to__" << ExitString;
90 << "_from__" << EntryString << "__to__" << ExitString;
unittests/ADT/DeltaAlgorithmTest.cpp 19 OS << "{";
23 OS << ",";
26 OS << "}";
unittests/ADT/StringMapTest.cpp 205 ss << "key_" << i;
214 ss << "key_" << it->second;
unittests/ADT/StringRefTest.cpp 28 OS << "(" << P.first << ", " << P.second << ")";
28 OS << "(" << P.first << ", " << P.second << ")";
28 OS << "(" << P.first << ", " << P.second << ")";
unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp 22 case Lower: OS << "Lower"; break;
23 case Legal: OS << "Legal"; break;
24 case NarrowScalar: OS << "NarrowScalar"; break;
25 case WidenScalar: OS << "WidenScalar"; break;
26 case FewerElements: OS << "FewerElements"; break;
27 case MoreElements: OS << "MoreElements"; break;
28 case Libcall: OS << "Libcall"; break;
29 case Custom: OS << "Custom"; break;
30 case Unsupported: OS << "Unsupported"; break;
31 case NotFound: OS << "NotFound"; break;
32 case UseLegacyRules: OS << "UseLegacyRules"; break;
38 OS << "LegalizeActionStep(" << Ty.Action << ", " << Ty.TypeIdx << ", "
38 OS << "LegalizeActionStep(" << Ty.Action << ", " << Ty.TypeIdx << ", "
38 OS << "LegalizeActionStep(" << Ty.Action << ", " << Ty.TypeIdx << ", "
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp 174 funcName << "level_" << i;
unittests/ProfileData/CoverageMappingTest.cpp 42 *os << "Zero";
44 *os << "Expression " << C.getExpressionID();
46 *os << "Counter " << C.getCounterID();
50 *os << "CoverageSegment(" << S.Line << ", " << S.Col << ", ";
50 *os << "CoverageSegment(" << S.Line << ", " << S.Col << ", ";
50 *os << "CoverageSegment(" << S.Line << ", " << S.Col << ", ";
52 *os << S.Count << ", ";
53 *os << (S.IsRegionEntry ? "true" : "false") << ")";
53 *os << (S.IsRegionEntry ? "true" : "false") << ")";
unittests/Support/BranchProbabilityTest.cpp 17 *os << P.getNumerator() << "/" << P.getDenominator();
unittests/Support/CommandLineTest.cpp 763 RspFile << "-top-level\npath\\dir\\file1\npath/dir/file2";
791 IncludedFile << "-option_1 -option_2\n"
809 IncludedFile2 << "-option_21 -option_22\n";
810 IncludedFile2 << "-option_23=abcd\n";
818 IncludedFile3 << "-option_31 -option_32\n";
819 IncludedFile3 << "-option_33=abcd\n";
876 SelfFile << "-option_1\n";
877 SelfFile << FlagFileRef << "\n";
878 SelfFile << NestedFileRef << "\n";
879 SelfFile << SelfFileRef << "\n";
884 NestedFile << "-option_2\n";
885 NestedFile << FlagFileRef << "\n";
886 NestedFile << SelfFileRef << "\n";
887 NestedFile << NestedFileRef << "\n";
892 FlagFile << "-option_x\n";
933 ResponseFile << "-foo" << "\n";
933 ResponseFile << "-foo" << "\n";
934 ResponseFile << "-bar" << "\n";
934 ResponseFile << "-bar" << "\n";
1008 ConfigFile << "# Comment\n"
1020 ConfigFile2 << "-option_2\n"
unittests/Support/ScaledNumberTest.cpp 35 *os << F.D << "*2^" << F.S;
unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp 20 case kAsanStackLeftRedzoneMagic: os << "L"; break;
21 case kAsanStackRightRedzoneMagic: os << "R"; break;
22 case kAsanStackMidRedzoneMagic: os << "M"; break;
24 os << "S";
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp 65 Stream << "{ ";
69 Stream << "0x" << std::hex << *It << ", ";
69 Stream << "0x" << std::hex << *It << ", ";
71 Stream << "0x" << std::hex << *LastElemIt << " }";
71 Stream << "0x" << std::hex << *LastElemIt << " }";
76 *os << "ConditionalBranchNode<Address: 0x" << std::hex << BranchNode.Address
77 << ", Target: 0x" << BranchNode.Target << ", Fallthrough: 0x"
77 << ", Target: 0x" << BranchNode.Target << ", Fallthrough: 0x"
79 << ", CFIProtection: " << BranchNode.CFIProtection << ">";
79 << ", CFIProtection: " << BranchNode.CFIProtection << ">";
83 *os << "Result BaseAddress: 0x" << std::hex << Result.BaseAddress << "\n";
83 *os << "Result BaseAddress: 0x" << std::hex << Result.BaseAddress << "\n";
86 *os << " (No conditional branch nodes)\n";
89 *os << " ";
91 *os << "\n Fallthrough Path: " << std::hex
93 << "\n";
94 *os << " Target Path: " << std::hex
95 << HexStringifyContainer(Result.flattenAddress(Node.Target)) << "\n";
99 *os << " (No orphaned nodes)";
102 *os << " Orphan (0x" << std::hex << Orphan
103 << ") Path: " << HexStringifyContainer(Result.flattenAddress(Orphan))
104 << "\n";
usr/include/c++/7.4.0/system_error 218 { return (__os << __e.category().name() << ':' << __e.value()); }
utils/PerfectShuffle/PerfectShuffle.cpp 78 OS << "<" << (char)(getMaskElt(i, 0) == 8 ? 'u' : ('0'+getMaskElt(i, 0)))
79 << "," << (char)(getMaskElt(i, 1) == 8 ? 'u' : ('0'+getMaskElt(i, 1)))
80 << "," << (char)(getMaskElt(i, 2) == 8 ? 'u' : ('0'+getMaskElt(i, 2)))
81 << "," << (char)(getMaskElt(i, 3) == 8 ? 'u' : ('0'+getMaskElt(i, 3)))
82 << ">";
159 std::cerr << "t" << ValNo;
161 std::cerr << " = " << ShufTab[ThisOp].Op->getName() << "(";
161 std::cerr << " = " << ShufTab[ThisOp].Op->getName() << "(";
161 std::cerr << " = " << ShufTab[ThisOp].Op->getName() << "(";
164 std::cerr << getZeroCostOpName(ShufTab[ThisOp].Arg0);
170 std::cerr << "t" << i;
176 std::cerr << ", ";
178 std::cerr << getZeroCostOpName(ShufTab[ThisOp].Arg1);
184 std::cerr << "t" << i;
189 std::cerr << ") ";
234 std::cerr << "Starting iteration #" << OpCount << " with "
234 std::cerr << "Starting iteration #" << OpCount << " with "
235 << getNumEntered() << " entries established.\n";
359 std::cerr << "Finished Table has " << getNumEntered()
360 << " entries established.\n";
375 std::cout << "// " << CostArray[i] << " entries have cost " << i << "\n";
375 std::cout << "// " << CostArray[i] << " entries have cost " << i << "\n";
375 std::cout << "// " << CostArray[i] << " entries have cost " << i << "\n";
377 std::cout << "// " << CostArray[9] << " entries have higher cost!\n";
377 std::cout << "// " << CostArray[9] << " entries have higher cost!\n";
381 std::cout << "\n// This table is 6561*4 = 26244 bytes in size.\n";
382 std::cout << "static const unsigned PerfectShuffleTable[6561+1] = {\n";
403 std::cout << " " << std::setw(10) << Val << "U, // ";
403 std::cout << " " << std::setw(10) << Val << "U, // ";
405 std::cout << ": Cost " << ShufTab[i].Cost;
406 std::cout << " " << (ShufTab[i].Op ? ShufTab[i].Op->getName() : "copy");
406 std::cout << " " << (ShufTab[i].Op ? ShufTab[i].Op->getName() : "copy");
407 std::cout << " ";
409 std::cout << getZeroCostOpName(ShufTab[i].Arg0);
415 std::cout << ", ";
417 std::cout << getZeroCostOpName(ShufTab[i].Arg1);
422 std::cout << "\n";
424 std::cout << " 0\n};\n";
432 std::cerr << " - Cost " << ShufTab[i].Cost << " - ";
432 std::cerr << " - Cost " << ShufTab[i].Cost << " - ";
440 std::cerr << "\n";
utils/benchmark/src/benchmark.cc 453 std::cerr << "Unexpected format: '" << name << "'\n";
453 std::cerr << "Unexpected format: '" << name << "'\n";
513 Err << "A custom file reporter was provided but "
521 Err << "invalid file name: '" << fname << std::endl;
537 Err << "Failed to match any benchmarks against regex: " << spec << "\n";
537 Err << "Failed to match any benchmarks against regex: " << spec << "\n";
542 for (auto const& benchmark : benchmarks) Out << benchmark.name << "\n";
utils/benchmark/src/benchmark_register.cc 123 Err << "Could not compile benchmark re: " << error_msg << std::endl;
146 Err << "The number of inputs is very large. " << family->name_
147 << " will be repeated at least " << family_size << " times.\n";
147 << " will be repeated at least " << family_size << " times.\n";
utils/benchmark/src/colorprint.cc 154 out << FormatString(fmt, args) << "\033[m";
utils/benchmark/src/commandlineflags.cc 35 std::cerr << src_text << " is expected to be a 32-bit integer, "
36 << "but actually has value \"" << str << "\".\n";
36 << "but actually has value \"" << str << "\".\n";
36 << "but actually has value \"" << str << "\".\n";
49 std::cerr << src_text << " is expected to be a 32-bit integer, "
50 << "but actually has value \"" << str << "\", "
50 << "but actually has value \"" << str << "\", "
50 << "but actually has value \"" << str << "\", "
51 << "which overflows.\n";
69 std::cerr << src_text << " is expected to be a double, "
70 << "but actually has value \"" << str << "\".\n";
70 << "but actually has value \"" << str << "\".\n";
70 << "but actually has value \"" << str << "\".\n";
116 std::cout << "The default value " << default_value << " is used.\n";
116 std::cout << "The default value " << default_value << " is used.\n";
utils/benchmark/src/console_reporter.cc 69 GetOutputStream() << line << "\n" << str << line << "\n";
69 GetOutputStream() << line << "\n" << str << line << "\n";
utils/benchmark/src/csv_reporter.cc 59 if (B != elements.end()) Out << ",";
62 Out << ",\"" << *B++ << "\"";
62 Out << ",\"" << *B++ << "\"";
64 Out << "\n";
93 Out << '"' << name << "\",";
96 Out << "true,";
99 Out << '"' << msg << "\"\n";
107 Out << ",";
109 Out << run.GetAdjustedRealTime() << ",";
110 Out << run.GetAdjustedCPUTime() << ",";
116 Out << GetTimeUnitString(run.time_unit);
118 Out << ",";
123 Out << ",";
127 Out << ",";
133 Out << "\"" << label << "\"";
133 Out << "\"" << label << "\"";
135 Out << ",,"; // for error_occurred and error_message
141 Out << ",";
143 Out << "," << it->second;
utils/benchmark/src/json_reporter.cc 48 ss << '"' << key << "\": " << value;
54 ss << '"' << key << "\": ";
70 out << "{\n";
74 out << inner_indent << "\"context\": {\n";
78 out << indent << FormatKV("date", walltime_value) << ",\n";
81 out << indent << FormatKV("executable", Context::executable_name) << ",\n";
86 << ",\n";
90 << ",\n";
92 << ",\n";
94 out << indent << "\"caches\": [\n";
99 out << indent << "{\n";
100 out << cache_indent << FormatKV("type", CI.type) << ",\n";
102 << ",\n";
104 << FormatKV("size", static_cast<int64_t>(CI.size) * 1000u) << ",\n";
107 << "\n";
108 out << indent << "}";
109 if (i != info.caches.size() - 1) out << ",";
110 out << "\n";
113 out << indent << "],\n";
120 out << indent << FormatKV("library_build_type", build_type) << "\n";
122 out << inner_indent << "},\n";
123 out << inner_indent << "\"benchmarks\": [\n";
134 out << ",\n";
139 out << indent << "{\n";
144 out << ",\n";
151 GetOutputStream() << "\n ]\n}\n";
157 out << indent << FormatKV("name", run.benchmark_name) << ",\n";
159 out << indent << FormatKV("error_occurred", run.error_occurred) << ",\n";
160 out << indent << FormatKV("error_message", run.error_message) << ",\n";
163 out << indent << FormatKV("iterations", run.iterations) << ",\n";
166 << ",\n";
169 out << ",\n"
174 << ",\n";
177 << ",\n";
178 out << indent << FormatKV("big_o", GetBigOString(run.complexity)) << ",\n";
185 out << ",\n"
190 out << ",\n"
195 out << ",\n"
200 out << ",\n" << indent << FormatKV("label", run.report_label);
utils/benchmark/src/log.h 32 *log.out_ << value;
utils/benchmark/src/reporter.cc 38 Out << LocalDateTimeString() << "\n";
41 Out << "Running " << context.executable_name << "\n";
41 Out << "Running " << context.executable_name << "\n";
41 Out << "Running " << context.executable_name << "\n";
44 Out << "Run on (" << info.num_cpus << " X "
44 Out << "Run on (" << info.num_cpus << " X "
45 << (info.cycles_per_second / 1000000.0) << " MHz CPU "
46 << ((info.num_cpus > 1) ? "s" : "") << ")\n";
46 << ((info.num_cpus > 1) ? "s" : "") << ")\n";
48 Out << "CPU Caches:\n";
50 Out << " L" << CInfo.level << " " << CInfo.type << " "
50 Out << " L" << CInfo.level << " " << CInfo.type << " "
50 Out << " L" << CInfo.level << " " << CInfo.type << " "
51 << (CInfo.size / 1000) << "K";
53 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
53 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")";
54 Out << "\n";
59 Out << "***WARNING*** CPU scaling is enabled, the benchmark "
65 Out << "***WARNING*** Library was built as DEBUG. Timings may be "
utils/benchmark/src/string_util.cc 36 mantissa_stream << "-";
utils/benchmark/src/string_util.h 24 out << std::forward<First>(f);
utils/benchmark/src/sysinfo.cc 70 out << std::forward<First>(f);
396 std::cerr << "failed to open /proc/cpuinfo\n";
415 std::cerr << "Failure reading /proc/cpuinfo\n";
419 std::cerr << "Failed to read to end of /proc/cpuinfo\n";
459 std::cerr << "failed to open /proc/cpuinfo\n";
493 std::cerr << "Failure reading /proc/cpuinfo\n";
497 std::cerr << "Failed to read to end of /proc/cpuinfo\n";
utils/benchmark/src/timers.cc 103 std::cerr << "ERROR: " << msg << std::endl;
103 std::cerr << "ERROR: " << msg << std::endl;
utils/unittest/googlemock/include/gmock/gmock-actions.h 606 GTEST_CHECK_(!performed_)
607 << "A ByMove() action should only be performed once.";
utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h 242 *os << "are a tuple ";
248 *os << "are a tuple ";
261 *os << "whose fields (";
268 *os << ", ";
270 *os << "#" << indices[i];
272 *os << ") ";
utils/unittest/googlemock/include/gmock/gmock-matchers.h 95 *stream_ << x;
137 *os << "not (";
139 *os << ")";
683 *os << ", " << explanation;
761 *os << " Expected arg #" << N - 1 << ": ";
761 *os << " Expected arg #" << N - 1 << ": ";
763 *os << "\n Actual: ";
771 *os << "\n";
865 virtual void DescribeTo(::std::ostream* os) const { *os << "is anything"; }
870 *os << "never matches";
913 *os << D::Desc() << " ";
913 *os << D::Desc() << " ";
917 *os << D::NegatedDesc() << " ";
917 *os << D::NegatedDesc() << " ";
991 void DescribeTo(::std::ostream* os) const { *os << "is NULL"; }
993 *os << "isn't NULL";
1011 void DescribeTo(::std::ostream* os) const { *os << "isn't NULL"; }
1013 *os << "is NULL";
1071 *os << "references the variable ";
1076 *os << "does not reference the variable ";
1170 *os << (expect_eq ? "is " : "isn't ");
1171 *os << "equal to ";
1173 *os << "(ignoring case) ";
1217 *os << "has substring ";
1222 *os << "has no substring ";
1264 *os << "starts with ";
1269 *os << "doesn't start with ";
1310 *os << "ends with ";
1315 *os << "doesn't end with ";
1356 *os << (full_match_ ? "matches" : "contains")
1357 << " regular expression ";
1362 *os << "doesn't " << (full_match_ ? "match" : "contain")
1362 *os << "doesn't " << (full_match_ ? "match" : "contain")
1363 << " regular expression ";
1408 *os << "are " << GetDesc;
1411 *os << "aren't " << GetDesc;
1500 *os << "(";
1502 *os << ") and (";
1504 *os << ")";
1508 *os << "(";
1510 *os << ") or (";
1512 *os << ")";
1672 *os << "(";
1674 *os << ") or (";
1676 *os << ")";
1680 *os << "(";
1682 *os << ") and (";
1684 *os << ")";
1782 *os << "satisfies the given predicate";
1786 *os << "doesn't satisfy the given predicate";
1862 ss << "Value of: " << value_text << "\n"
1862 ss << "Value of: " << value_text << "\n"
1862 ss << "Value of: " << value_text << "\n"
1863 << "Expected: ";
1865 ss << "\n Actual: " << listener.str();
1910 GTEST_CHECK_(max_abs_error >= 0)
1911 << ", where max_abs_error is" << max_abs_error;
1966 *os << "is NaN";
1968 *os << "never matches";
1971 *os << "is approximately " << expected_;
1973 *os << " (absolute error <= " << max_abs_error_ << ")";
1973 *os << " (absolute error <= " << max_abs_error_ << ")";
1985 *os << "isn't NaN";
1987 *os << "is anything";
1990 *os << "isn't approximately " << expected_;
1992 *os << " (absolute error > " << max_abs_error_ << ")";
1992 *os << " (absolute error > " << max_abs_error_ << ")";
2074 *os << "points to a value that ";
2079 *os << "does not point to a value that ";
2138 *os << "when dynamic_cast to " << GetToName() << ", ";
2138 *os << "when dynamic_cast to " << GetToName() << ", ";
2190 *os << "is an object whose given field ";
2195 *os << "is an object whose given field ";
2251 *os << "is an object whose given property ";
2256 *os << "is an object whose given property ";
2327 GTEST_CHECK_(f != NULL)
2328 << "NULL function pointer is passed into ResultOf().";
2363 *os << "is mapped by the given callable to a value that ";
2368 *os << "is mapped by the given callable to a value that ";
2422 *os << "size ";
2426 *os << "size ";
2479 *os << "distance between begin() and end() ";
2483 *os << "distance between begin() and end() ";
2543 *os << "equals ";
2547 *os << "does not equal ";
2573 *os << ", ";
2575 *os << "which has these unexpected elements: ";
2590 *os << ", ";
2592 *os << (printed_header ? ",\nand" : "which")
2593 << " doesn't have these expected elements: ";
2645 *os << "(when sorted) ";
2650 *os << "(when sorted) ";
2739 *os << "contains " << rhs_.size()
2740 << " values, where each value and its corresponding value in ";
2742 *os << " ";
2746 *os << "doesn't contain exactly " << rhs_.size()
2747 << " values, or contains a value x at some index i"
2748 << " where x and the i-th value of ";
2750 *os << " ";
2858 *os << "contains at least one element that ";
2863 *os << "doesn't contain any element that ";
2887 *os << "only contains elements that ";
2892 *os << "contains some element that ";
2970 *os << "has a key that ";
2976 *os << "doesn't have a key that ";
3022 *os << "has a first field that ";
3024 *os << ", and has a second field that ";
3030 *os << "has a first field that ";
3032 *os << ", or has a second field that ";
3136 *os << "is empty";
3138 *os << "has 1 element that ";
3141 *os << "has " << Elements(count()) << " where\n";
3141 *os << "has " << Elements(count()) << " where\n";
3143 *os << "element #" << i << " ";
3143 *os << "element #" << i << " ";
3146 *os << ",\n";
3155 *os << "isn't empty";
3159 *os << "doesn't have " << Elements(count()) << ", or\n";
3159 *os << "doesn't have " << Elements(count()) << ", or\n";
3161 *os << "element #" << i << " ";
3161 *os << "element #" << i << " ";
3164 *os << ", or\n";
3589 GTEST_LOG_(FATAL) << "BoundSecondMatcher should never be assigned.";
3603 *os << "and ";
3605 *os << " ";
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h 708 *os << FormatFileLocation(file(), line()) << " ";
1066 *os << " Expected args: ";
1068 *os << "\n";
1115 *os << " Expected: the expectation is active\n"
1116 << " Actual: it is retired\n";
1123 *os << " Expected args: ";
1125 *os << "\n Actual: don't match";
1128 *os << "\n";
1131 *os << " Expected: all pre-requisites are satisfied\n"
1132 << " Actual: the following immediate pre-requisites "
1133 << "are not satisfied:\n";
1140 *os << "pre-requisite #" << i++ << "\n";
1140 *os << "pre-requisite #" << i++ << "\n";
1142 *os << " (end of pre-requisites)\n";
1148 *os << "The call matches the expectation.\n";
1170 ss << "Actions ran out in " << source_text() << "...\n"
1170 ss << "Actions ran out in " << source_text() << "...\n"
1170 ss << "Actions ran out in " << source_text() << "...\n"
1171 << "Called " << count << " times, but only "
1171 << "Called " << count << " times, but only "
1172 << action_count << " WillOnce()"
1173 << (action_count == 1 ? " is" : "s are") << " specified - ";
1173 << (action_count == 1 ? " is" : "s are") << " specified - ";
1200 *what << "Mock function called more times than expected - ";
1218 *what << "Mock function call matches " << source_text() <<"...\n";
1218 *what << "Mock function call matches " << source_text() <<"...\n";
1218 *what << "Mock function call matches " << source_text() <<"...\n";
1383 *os << "\n Returns: ";
1641 *os << (internal::type_equals<Result, void>::value ?
1645 *os << "taking default action specified at:\n"
1646 << FormatFileLocation(spec->file(), spec->line()) << "\n";
1659 *os << "Uninteresting mock function call - ";
1661 *os << " Function call: " << Name();
1661 *os << " Function call: " << Name();
1739 *os << "\nUnexpected mock function call - ";
1752 *why << "Google Mock tried the following " << count << " "
1752 *why << "Google Mock tried the following " << count << " "
1753 << (count == 1 ? "expectation, but it didn't match" :
1755 << ":\n";
1759 *why << "\n";
1762 *why << "tried expectation #" << i << ": ";
1762 *why << "tried expectation #" << i << ": ";
1764 *why << expectation->source_text() << "...\n";
1764 *why << expectation->source_text() << "...\n";
utils/unittest/googlemock/src/gmock-cardinalities.cc 57 ss << "The invocation lower bound must be >= 0, "
58 << "but is actually " << min << ".";
58 << "but is actually " << min << ".";
61 ss << "The invocation upper bound must be >= 0, "
62 << "but is actually " << max << ".";
62 << "but is actually " << max << ".";
65 ss << "The invocation upper bound (" << max
66 << ") must be >= the invocation lower bound (" << min
67 << ").";
102 ss << n << " times";
111 *os << "never called";
113 *os << "called any number of times";
115 *os << "called at most " << FormatTimes(max_);
118 *os << "called " << FormatTimes(min_);
120 *os << "called at least " << FormatTimes(min_);
123 *os << "called between " << min_ << " and " << max_ << " times";
123 *os << "called between " << min_ << " and " << max_ << " times";
123 *os << "called between " << min_ << " and " << max_ << " times";
133 *os << "called " << FormatTimes(actual_call_count);
135 *os << "never called";
utils/unittest/googlemock/src/gmock-internal-utils.cc 145 std::cout << "\nGMOCK WARNING:";
149 std::cout << "\n";
164 std::cout << "\n";
166 std::cout << "Stack trace:\n"
utils/unittest/googlemock/src/gmock-matchers.cc 225 GTEST_CHECK_(left_[ilhs] == kUnused)
226 << "ilhs: " << ilhs << ", left_[ilhs]: " << left_[ilhs];
226 << "ilhs: " << ilhs << ", left_[ilhs]: " << left_[ilhs];
316 os << "{";
319 os << sep << "\n ("
319 os << sep << "\n ("
320 << "element #" << it->first << ", "
320 << "element #" << it->first << ", "
321 << "matcher #" << it->second << ")";
321 << "matcher #" << it->second << ")";
324 os << "\n}";
386 ss << sep;
398 *os << "is empty";
402 *os << "has " << Elements(1) << " and that element ";
402 *os << "has " << Elements(1) << " and that element ";
406 *os << "has " << Elements(matcher_describers_.size())
407 << " and there exists some permutation of elements such that:\n";
410 *os << sep << " - element #" << i << " ";
410 *os << sep << " - element #" << i << " ";
410 *os << sep << " - element #" << i << " ";
419 *os << "isn't empty";
423 *os << "doesn't have " << Elements(1)
424 << ", or has " << Elements(1) << " that ";
424 << ", or has " << Elements(1) << " that ";
428 *os << "doesn't have " << Elements(matcher_describers_.size())
429 << ", or there exists no permutation of elements such that:\n";
432 *os << sep << " - element #" << i << " ";
432 *os << sep << " - element #" << i << " ";
432 *os << sep << " - element #" << i << " ";
utils/unittest/googlemock/src/gmock-spec-builders.cc 63 s << file << ":" << line << ": " << message << ::std::endl;
63 s << file << ":" << line << ": " << message << ::std::endl;
63 s << file << ":" << line << ": " << message << ::std::endl;
155 *os << " Expected: to be ";
157 *os << "\n Actual: ";
162 *os << " - " << (IsOverSaturated() ? "over-saturated" :
162 *os << " - " << (IsOverSaturated() ? "over-saturated" :
165 << " and "
166 << (is_retired() ? "retired" : "active");
209 ss << "Too " << (too_many ? "many" : "few")
209 ss << "Too " << (too_many ? "many" : "few")
210 << " actions specified in " << source_text() << "...\n"
210 << " actions specified in " << source_text() << "...\n"
210 << " actions specified in " << source_text() << "...\n"
211 << "Expected to be ";
213 ss << ", but has " << (too_many ? "" : "only ")
213 ss << ", but has " << (too_many ? "" : "only ")
214 << action_count << " WillOnce()"
215 << (action_count == 1 ? "" : "s");
217 ss << " and a WillRepeatedly()";
219 ss << ".";
414 ss << " Function call: " << Name();
414 ss << " Function call: " << Name();
429 ss << "\n" << why.str();
483 ss << "Actual function call count doesn't match "
484 << untyped_expectation->source_text() << "...\n";
484 << untyped_expectation->source_text() << "...\n";
565 std::cout << "\n";
569 std::cout << " ERROR: this mock object";
571 std::cout << " (used in test " << state.first_used_test_case << "."
571 std::cout << " (used in test " << state.first_used_test_case << "."
572 << state.first_used_test << ")";
574 std::cout << " should be deleted but never is. Its address is @"
575 << it->first << ".";
579 std::cout << "\nERROR: " << leaked_count
580 << " leaked mock " << (leaked_count == 1 ? "object" : "objects")
580 << " leaked mock " << (leaked_count == 1 ? "object" : "objects")
581 << " found at program exit.\n";
utils/unittest/googletest/include/gtest/gtest-message.h 103 *ss_ << str;
152 *ss_ << "(null)";
utils/unittest/googletest/include/gtest/gtest-printers.h 382 *os << " ...";
409 *os << "NULL";
497 *os << (x ? "true" : "false");
552 *os << ", ";
682 *os << ", ";
719 *os << "{}";
721 *os << "{ ";
732 *os << ", ..., ";
735 *os << " }";
768 *os << "@" << reinterpret_cast<const void*>(&value) << " ";
768 *os << "@" << reinterpret_cast<const void*>(&value) << " ";
807 *os << "NULL";
827 *os << "NULL";
929 *os << ", ";
961 *os << "(";
963 *os << ")";
utils/unittest/googletest/include/gtest/gtest.h 1756 GTEST_CHECK_(parameter_ != NULL)
1757 << "GetParam() can only be called inside a value-parameterized test "
1758 << "-- did you intend to write TEST_P instead of TEST_F?";
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 575 GTEST_CHECK_(it != registered_tests_.end());
utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h 3215 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
3216 << "The program attempted to compare iterators "
3217 << "from different generators." << std::endl;
3338 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
3339 << "The program attempted to compare iterators "
3340 << "from different generators." << std::endl;
3479 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
3480 << "The program attempted to compare iterators "
3481 << "from different generators." << std::endl;
3637 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
3638 << "The program attempted to compare iterators "
3639 << "from different generators." << std::endl;
3814 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
3815 << "The program attempted to compare iterators "
3816 << "from different generators." << std::endl;
4008 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
4009 << "The program attempted to compare iterators "
4010 << "from different generators." << std::endl;
4221 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
4222 << "The program attempted to compare iterators "
4223 << "from different generators." << std::endl;
4450 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
4451 << "The program attempted to compare iterators "
4452 << "from different generators." << std::endl;
4697 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
4698 << "The program attempted to compare iterators "
4699 << "from different generators." << std::endl;
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h 243 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
244 << "The program attempted to compare iterators "
245 << "from different generators." << std::endl;
341 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
342 << "The program attempted to compare iterators "
343 << "from different generators." << std::endl;
574 GTEST_CHECK_(IsValidParamName(param_name))
575 << "Parameterized test name '" << param_name
576 << "' is invalid, in " << file
576 << "' is invalid, in " << file
577 << " line " << line << std::endl;
579 GTEST_CHECK_(test_param_names.count(param_name) == 0)
580 << "Duplicate parameterized test name '" << param_name
581 << "', in " << file << " line " << line << std::endl;
581 << "', in " << file << " line " << line << std::endl;
581 << "', in " << file << " line " << line << std::endl;
utils/unittest/googletest/include/gtest/internal/gtest-port.h 1955 GTEST_CHECK_(has_owner_ && pthread_equal(owner_, pthread_self()))
1956 << "The current thread is not holding the mutex @" << this;
utils/unittest/googletest/src/gtest-death-test.cc 339 GTEST_LOG_(FATAL) << "Error while reading death test internal: "
340 << GetLastErrnoDescription() << " [" << last_error << "]";
340 << GetLastErrnoDescription() << " [" << last_error << "]";
465 GTEST_LOG_(FATAL) << "Death test child process reported "
466 << "unexpected status byte ("
467 << static_cast<unsigned int>(flag) << ")";
470 GTEST_LOG_(FATAL) << "Read from death test child process failed: "
583 << "DeathTest::Passed somehow called before conclusion of test";
utils/unittest/googletest/src/gtest-internal-inl.h 153 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
154 << "Invalid random seed " << seed << " - must be in [1, "
154 << "Invalid random seed " << seed << " - must be in [1, "
155 << kMaxRandomSeed << "].";
315 GTEST_CHECK_(0 <= begin && begin <= size)
316 << "Invalid shuffle range start " << begin << ": must be in range [0, "
316 << "Invalid shuffle range start " << begin << ": must be in range [0, "
317 << size << "].";
318 GTEST_CHECK_(begin <= end && end <= size)
319 << "Invalid shuffle range finish " << end << ": must be in range ["
319 << "Invalid shuffle range finish " << end << ": must be in range ["
320 << begin << ", " << size << "].";
320 << begin << ", " << size << "].";
657 GTEST_CHECK_(!original_working_dir_.IsEmpty())
658 << "Failed to get the current working directory.";
997 GTEST_CHECK_(sizeof(Integer) <= sizeof(parsed));
1069 GTEST_CHECK_(sockfd_ != -1)
1070 << "Send() can be called only when there is a connection.";
1075 << "stream_result_to: failed to stream to "
1076 << host_name_ << ":" << port_num_;
1086 GTEST_CHECK_(sockfd_ != -1)
1087 << "CloseConnection() can be called only when there is a connection.";
utils/unittest/googletest/src/gtest-port.cc 914 GetStream() << ::std::endl << marker << " "
914 GetStream() << ::std::endl << marker << " "
915 << FormatFileLocation(file, line).c_str() << ": ";
915 << FormatFileLocation(file, line).c_str() << ": ";
1020 GTEST_LOG_(FATAL) << "Only one " << stream_name
1020 GTEST_LOG_(FATAL) << "Only one " << stream_name
1021 << " capturer can exist at a time.";
utils/unittest/googletest/src/gtest-printers.cc 77 *os << text;
85 *os << count << "-byte object <";
97 *os << " ... ";
102 *os << ">";
149 *os << "\\0";
152 *os << "\\'";
155 *os << "\\\\";
158 *os << "\\a";
161 *os << "\\b";
164 *os << "\\f";
167 *os << "\\n";
170 *os << "\\r";
173 *os << "\\t";
176 *os << "\\v";
195 *os << "'";
198 *os << "\\\"";
219 *os << ((sizeof(c) > 1) ? "L'" : "'");
221 *os << "'";
228 *os << " (" << static_cast<int>(c);
236 *os << ", 0x" << String::FormatHexInt(static_cast<UnsignedChar>(c));
238 *os << ")";
265 *os << kQuoteBegin;
273 *os << "\" " << kQuoteBegin;
273 *os << "\" " << kQuoteBegin;
277 *os << "\"";
305 *os << " (no terminating NUL)";
322 *os << "NULL";
324 *os << ImplicitCast_<const void*>(s) << " pointing to ";
339 *os << "NULL";
341 *os << ImplicitCast_<const void*>(s) << " pointing to ";
utils/unittest/googletest/src/gtest-test-part.cc 60 << result.file_name() << ":" << result.line_number() << ": "
60 << result.file_name() << ":" << result.line_number() << ": "
60 << result.file_name() << ":" << result.line_number() << ": "
61 << (result.type() == TestPartResult::kSuccess ? "Success" :
63 "Non-fatal failure") << ":\n"
64 << result.message() << std::endl;
utils/unittest/googletest/src/gtest.cc 315 GTEST_CHECK_(range > 0)
316 << "Cannot generate a number in the range [0, 0).";
317 GTEST_CHECK_(range <= kMaxRange)
318 << "Generation of a number in [0, " << range << ") was requested, "
318 << "Generation of a number in [0, " << range << ") was requested, "
319 << "but this can only generate numbers in [0, " << kMaxRange << ").";
319 << "but this can only generate numbers in [0, " << kMaxRange << ").";
1159 *os << it->first << it->second << "\n";
1159 *os << it->first << it->second << "\n";
1176 *ss << "@@ ";
1178 *ss << "-" << left_start_ << "," << (removes_ + common_);
1178 *ss << "-" << left_start_ << "," << (removes_ + common_);
1181 *ss << " ";
1184 *ss << "+" << right_start_ << "," << (adds_ + common_);
1184 *ss << "+" << right_start_ << "," << (adds_ + common_);
1186 *ss << " @@\n";
2121 GTEST_CHECK_(false) << "Unrecognized xml_element provided: " << xml_element;
2121 GTEST_CHECK_(false) << "Unrecognized xml_element provided: " << xml_element;
3591 *stream << "<![CDATA[";
3597 *stream << "]]>]]><![CDATA[";
3600 *stream << segment;
3604 *stream << "]]>";
3615 GTEST_CHECK_(std::find(allowed_names.begin(), allowed_names.end(), name) !=
3617 << "Attribute " << name << " is not allowed for element <" << element_name
3617 << "Attribute " << name << " is not allowed for element <" << element_name
3618 << ">.";
3620 *stream << " " << name << "=\"" << EscapeXmlAttribute(value) << "\"";
3620 *stream << " " << name << "=\"" << EscapeXmlAttribute(value) << "\"";
3620 *stream << " " << name << "=\"" << EscapeXmlAttribute(value) << "\"";
3631 *stream << " <testcase";
3654 *stream << ">\n";
3659 *stream << " <failure message=\""
3661 << "\" type=\"\">";
3664 *stream << "</failure>\n";
3669 *stream << " />\n";
3671 *stream << " </testcase>\n";
3678 *stream << " <" << kTestsuite;
3691 << ">\n";
3697 *stream << " </" << kTestsuite << ">\n";
3697 *stream << " </" << kTestsuite << ">\n";
3705 *stream << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
3706 *stream << "<" << kTestsuites;
3730 *stream << ">\n";
3736 *stream << "</" << kTestsuites << ">\n";
3736 *stream << "</" << kTestsuites << ">\n";
3781 GTEST_CHECK_(sockfd_ == -1)
3782 << "MakeConnection() can't be called when there is already a connection.";
3795 GTEST_LOG_(WARNING) << "stream_result_to: getaddrinfo() failed: "
3796 << gai_strerror(error_num);
3816 GTEST_LOG_(WARNING) << "stream_result_to: failed to connect to "
3817 << host_name_ << ":" << port_num_;