Home
last modified time | relevance | path

Searched refs:JSONWriter (Results 1 - 20 of 20) sorted by relevance

/third_party/gn/src/base/json/
H A Djson_writer.h16 class JSONWriter { class
38 // Same as above but with |options| which is a bunch of JSONWriter::Options
45 JSONWriter(int options, std::string* json);
60 JSONWriter(const JSONWriter&) = delete;
61 JSONWriter& operator=(const JSONWriter&) = delete;
H A Djson_writer.cc28 bool JSONWriter::Write(const Value& node, std::string* json) { in Write()
33 bool JSONWriter::WriteWithOptions(const Value& node, in WriteWithOptions()
40 JSONWriter writer(options, json); in WriteWithOptions()
49 JSONWriter::JSONWriter(int options, std::string* json) in JSONWriter() function in base::JSONWriter
56 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) { in BuildJSONString()
171 void JSONWriter::IndentLine(size_t depth) { in IndentLine()
/third_party/node/src/
H A Dnode_report.cc64 static void PrintVersionInformation(JSONWriter* writer);
65 static void PrintJavaScriptErrorStack(JSONWriter* writer,
69 static void PrintEmptyJavaScriptStack(JSONWriter* writer);
70 static void PrintJavaScriptStack(JSONWriter* writer,
73 static void PrintJavaScriptErrorProperties(JSONWriter* writer,
76 static void PrintNativeStack(JSONWriter* writer);
77 static void PrintResourceUsage(JSONWriter* writer);
78 static void PrintGCStatistics(JSONWriter* writer, Isolate* isolate);
79 static void PrintSystemInformation(JSONWriter* writer);
80 static void PrintLoadedLibraries(JSONWriter* write
[all...]
H A Dnode_report_utils.cc9 static constexpr auto null = JSONWriter::Null{};
15 JSONWriter* writer) { in ReportEndpoint()
51 static void ReportEndpoints(uv_handle_t* h, JSONWriter* writer) { in ReportEndpoints()
84 static void ReportPipeEndpoints(uv_handle_t* h, JSONWriter* writer) { in ReportPipeEndpoints()
119 static void ReportPath(uv_handle_t* h, JSONWriter* writer) { in ReportPath()
160 JSONWriter* writer = static_cast<JSONWriter*>(arg); in WalkHandle()
H A Dnode_v8.h46 JSONWriter* writer();
60 JSONWriter writer_;
H A Djson_utils.h25 class JSONWriter { class
27 JSONWriter(std::ostream& out, bool compact) in JSONWriter() function in node::JSONWriter
H A Dnode_v8.cc231 static void SetHeapStatistics(JSONWriter* writer, Isolate* isolate) { in SetHeapStatistics()
281 JSONWriter* writer = profiler->writer(); in BeforeGCCallback()
299 JSONWriter* writer = profiler->writer(); in AfterGCCallback()
330 JSONWriter* GCProfiler::writer() { in writer()
/third_party/gn/src/gn/
H A Djson_project_writer.h27 FRIEND_TEST_ALL_PREFIXES(JSONWriter, ActionWithResponseFile);
28 FRIEND_TEST_ALL_PREFIXES(JSONWriter, ForEachWithResponseFile);
29 FRIEND_TEST_ALL_PREFIXES(JSONWriter, RustTarget);
H A Djson_project_writer_unittest.cc14 using JSONWriter = TestWithScheduler;
16 TEST_F(JSONWriter, ActionWithResponseFile) { in TEST_F()
265 TEST_F(JSONWriter, RustTarget) {
490 TEST_F(JSONWriter, ForEachWithResponseFile) {
H A Djson_project_writer.cc152 // the user (unlike base::JSONWriter). This allows rendering to be performed
247 // JSON string. Useful to insert the output of base::JSONWriter::Write()
263 // only, due to the way base::JSONWriter::Write() is implemented. in AddJSONDict()
396 base::JSONWriter::WriteWithOptions(*description.get(), in GenerateJSON()
397 base::JSONWriter::OPTIONS_PRETTY_PRINT, in GenerateJSON()
451 base::JSONWriter::WriteWithOptions( in GenerateJSON()
452 toolchain, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_dict); in GenerateJSON()
H A Dcommand_args.cc250 base::JSONWriter::WriteWithOptions( in ListArgs()
251 *list.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &s); in ListArgs()
H A Dcommand_desc.cc689 base::JSONWriter::WriteWithOptions( in RunDesc()
690 *res.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &s); in RunDesc()
H A Dcommand_format.cc1248 base::JSONWriter::WriteWithOptions( in DoFormat()
1249 root->GetJSONNode(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &os); in DoFormat()
H A Danalyzer.cc227 if (!base::JSONWriter::Write(*value.get(), &output)) in OutputsToJSON()
/third_party/skia/src/utils/
H A DSkShaperJSONWriter.h24 SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size);
H A DSkShaperJSONWriter.cpp17 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size) in SkShaperJSONWriter() argument
18 : fJSONWriter{JSONWriter} in SkShaperJSONWriter()
/third_party/skia/modules/skparagraph/tests/
H A DSkShaperJSONWriter.h25 SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size);
H A DSkShaperJSONWriter.cpp24 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size) in SkShaperJSONWriter() argument
25 : fJSONWriter{JSONWriter} in SkShaperJSONWriter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DVirtualFileSystem.cpp1906 class JSONWriter { class
1919 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} in JSONWriter() function in __anon24347::JSONWriter
1928 bool JSONWriter::containedIn(StringRef Parent, StringRef Path) { in containedIn()
1942 StringRef JSONWriter::containedPart(StringRef Parent, StringRef Path) { in containedPart()
1948 void JSONWriter::startDirectory(StringRef Path) { in startDirectory()
1959 void JSONWriter::endDirectory() { in endDirectory()
1967 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry()
1977 void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries, in write()
2052 JSONWriter(OS).write(Mappings, UseExternalNames, IsCaseSensitive, in write()
/third_party/gn/src/base/
H A Dvalues.cc1298 JSONWriter::WriteWithOptions(value, JSONWriter::OPTIONS_PRETTY_PRINT, &json);

Completed in 30 milliseconds