| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | MsgPackWriterTest.cpp | 18 llvm::raw_string_ostream OStream; member 21 MsgPackWriter() : OStream(Buffer), MPWriter(OStream) {} in MsgPackWriter() 26 EXPECT_EQ(OStream.str(), "\xc0"); in TEST_F() 32 EXPECT_EQ(OStream.str(), "\xc3\xc2"); in TEST_F() 41 std::string Output = OStream.str(); in TEST_F() 105 EXPECT_EQ(OStream.str(), in TEST_F() 205 EXPECT_EQ(OStream.str(), in TEST_F() 224 EXPECT_EQ(OStream.str(), "\xa0"); in TEST_F() 230 EXPECT_EQ(OStream.str(), "\xa3" in TEST_F() 340 EXPECT_EQ(OStream.str(), "\x90"); in TEST_F() [all …]
|
| H A D | MsgPackDocumentTest.cpp | 222 raw_string_ostream OStream(Buffer); in TEST() local 223 Doc.toYAML(OStream); in TEST() 251 raw_string_ostream OStream(Buffer); in TEST() local 252 Doc.toYAML(OStream); in TEST() 253 ASSERT_EQ(OStream.str(), "---\n" in TEST() 271 raw_string_ostream OStream(Buffer); in TEST() local 272 Doc.toYAML(OStream); in TEST() 273 ASSERT_EQ(OStream.str(), "---\n" in TEST() 290 raw_string_ostream OStream(Buffer); in TEST() local 291 Doc.toYAML(OStream); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | StructuredData.cpp | 130 json::OStream stream(llvm::outs(), pretty_print ? 2 : 0); in DumpToStdout() 134 void StructuredData::Array::Serialize(json::OStream &s) const { in Serialize() 142 void StructuredData::Integer::Serialize(json::OStream &s) const { in Serialize() 146 void StructuredData::Float::Serialize(json::OStream &s) const { in Serialize() 150 void StructuredData::Boolean::Serialize(json::OStream &s) const { in Serialize() 154 void StructuredData::String::Serialize(json::OStream &s) const { in Serialize() 158 void StructuredData::Dictionary::Serialize(json::OStream &s) const { in Serialize() 168 void StructuredData::Null::Serialize(json::OStream &s) const { in Serialize() 172 void StructuredData::Generic::Serialize(json::OStream &s) const { in Serialize()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | JSON.cpp | 309 OStream JOS(OS, /*IndentSize=*/2); in printErrorContext() 792 void llvm::json::OStream::valueBegin() { in valueBegin() 809 void OStream::flushComment() { in flushComment() 834 void llvm::json::OStream::newline() { in newline() 841 void llvm::json::OStream::arrayBegin() { in arrayBegin() 849 void llvm::json::OStream::arrayEnd() { in arrayEnd() 860 void llvm::json::OStream::objectBegin() { in objectBegin() 868 void llvm::json::OStream::objectEnd() { in objectEnd() 899 void llvm::json::OStream::attributeEnd() { in attributeEnd() 914 void llvm::json::OStream::rawValueEnd() { in rawValueEnd() [all …]
|
| H A D | TimeProfiler.cpp | 134 json::OStream J(OS); in write()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 154 virtual void Serialize(llvm::json::OStream &s) const = 0; 157 llvm::json::OStream jso(s.AsRawOstream(), pretty_print ? 2 : 0); 278 void Serialize(llvm::json::OStream &s) const override; 296 void Serialize(llvm::json::OStream &s) const override; 313 void Serialize(llvm::json::OStream &s) const override; 330 void Serialize(llvm::json::OStream &s) const override; 346 void Serialize(llvm::json::OStream &s) const override; 525 void Serialize(llvm::json::OStream &s) const override; 540 void Serialize(llvm::json::OStream &s) const override; 554 void Serialize(llvm::json::OStream &s) const override;
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | Math.h | 108 template <typename OStream> 109 OStream& operator<<(OStream &OS, const Vector &V) { 246 template <typename OStream> 247 OStream& operator<<(OStream &OS, const Matrix &M) {
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ForwardDeclarationNamespaceCheck.cpp | 110 llvm::raw_string_ostream OStream(Ns); in getNameOfNamespace() local 111 NsDecl->printQualifiedName(OStream); in getNameOfNamespace() 112 OStream.flush(); in getNameOfNamespace()
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | JSON.cpp | 262 static void serialize(const BenchmarkOptions &BO, json::OStream &JOS) { in serialize() 274 static void serialize(const CacheInfo &CI, json::OStream &JOS) { in serialize() 281 static void serialize(const StudyConfiguration &SC, json::OStream &JOS) { in serialize() 292 static void serialize(const HostState &HS, json::OStream &JOS) { in serialize() 301 static void serialize(const Runtime &RI, json::OStream &JOS) { in serialize() 309 void serializeToJson(const Study &S, json::OStream &JOS) { in serializeToJson()
|
| H A D | JSON.h | 23 void serializeToJson(const Study &S, llvm::json::OStream &JOS);
|
| H A D | JSONTest.cpp | 43 json::OStream JOS(RSO); in serializeToString()
|
| H A D | LibcMemoryBenchmarkMain.cpp | 245 json::OStream JOS(FOS); in writeStudy()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | SymbolicFile.h | 46 template <typename OStream> 47 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | raw_ostream.h | 406 template <typename OStream, typename T> 407 std::enable_if_t<!std::is_reference<OStream>::value && 408 std::is_base_of<raw_ostream, OStream>::value, 409 OStream &&> 410 operator<<(OStream &&OS, const T &Value) {
|
| H A D | JSON.h | 485 friend class OStream; variable 955 class OStream { 959 explicit OStream(llvm::raw_ostream &OS, unsigned IndentSize = 0) 963 ~OStream() { in ~OStream() 1066 OStream(OS).value(V);
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetMachineC.cpp | 234 raw_svector_ostream OStream(CodeString); in LLVMTargetMachineEmitToMemoryBuffer() local 235 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer() 237 StringRef Data = OStream.str(); in LLVMTargetMachineEmitToMemoryBuffer()
|
| /llvm-project-15.0.7/llvm/tools/llvm-sim/ |
| H A D | llvm-sim.cpp | 71 json::OStream J(Out->os(), 1); in exportToFile()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | StructuredDataImpl.h | 60 llvm::json::OStream s(stream.AsRawOstream()); in GetAsJSON()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/ |
| H A D | Statistics.cpp | 651 static void printDatum(json::OStream &J, const char *Key, json::Value Value) { in printDatum() 660 static void printLocationStats(json::OStream &J, const char *Key, in printLocationStats() 726 static void printSectionSizes(json::OStream &J, const SectionSizes &Sizes) { in printSectionSizes() 945 json::OStream J(OS, 2); in collectStatsForObjectFile()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/tool/ |
| H A D | HTMLForest.cpp | 135 llvm::json::OStream Out(this->Out, 2); in writeForestJSON()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 134 json::OStream JOS(OS, Config.Pretty ? 2 : 0); in printJSON()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Trace.cpp | 190 llvm::json::OStream Out /*GUARDED_BY(Mu)*/;
|
| /llvm-project-15.0.7/llvm/tools/sancov/ |
| H A D | sancov.cpp | 316 static void operator<<(json::OStream &W, in operator <<() 361 static void operator<<(json::OStream &W, const SymbolizedCoverage &C) { in operator <<() 1212 json::OStream W(outs(), 2); in main()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | TraceDumper.cpp | 276 json::OStream m_j;
|
| /llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/ |
| H A D | RemarkSizeDiff.cpp | 463 json::OStream JOS(OS, PrettyPrint ? 2 : 0); in outputJSONForAllDiffs()
|