/external/libchrome/base/json/ |
D | json_writer_unittest.cc | 18 EXPECT_TRUE(JSONWriter::Write(Value(), &output_js)); in TEST() 22 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); in TEST() 26 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); in TEST() 30 EXPECT_TRUE(JSONWriter::Write(Value(42), &output_js)); in TEST() 34 EXPECT_TRUE(JSONWriter::Write(Value(true), &output_js)); in TEST() 38 EXPECT_TRUE(JSONWriter::Write(Value(1.0), &output_js)); in TEST() 42 EXPECT_TRUE(JSONWriter::Write(Value(0.2), &output_js)); in TEST() 46 EXPECT_TRUE(JSONWriter::Write(Value(-0.8), &output_js)); in TEST() 50 EXPECT_TRUE(JSONWriter::Write(Value("foo"), &output_js)); in TEST() 69 EXPECT_TRUE(JSONWriter::Write(root_dict, &output_js)); in TEST() [all …]
|
D | json_writer.cc | 28 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 58 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) { in BuildJSONString() 205 void JSONWriter::IndentLine(size_t depth) { in IndentLine()
|
D | json_writer.h | 19 class BASE_EXPORT JSONWriter { 54 JSONWriter(int options, std::string* json); 70 DISALLOW_COPY_AND_ASSIGN(JSONWriter);
|
D | json_string_value_serializer.cc | 36 options |= base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES; in SerializeInternal() 38 options |= base::JSONWriter::OPTIONS_PRETTY_PRINT; in SerializeInternal() 40 return base::JSONWriter::WriteWithOptions(root, options, json_string_); in SerializeInternal()
|
D | json_correctness_fuzzer.cc | 45 bool b = base::JSONWriter::Write(*parsed_value, &parsed_output); in LLVMFuzzerTestOneInput() 54 base::JSONWriter::Write(*double_parsed_value, &double_parsed_output); in LLVMFuzzerTestOneInput()
|
D | json_perftest.cc | 61 JSONWriter::Write(*dict, &json); in TestWriteAndRead()
|
D | json_value_serializer_unittest.cc | 304 JSONWriter::Write(valueRoot, &output_js); in TEST()
|
/external/libbrillo/brillo/http/ |
D | http_transport_fake.cc | 195 base::JSONWriter::Write(*json, &value); in GetDataAsNormalizedJsonString() 256 base::JSONWriter::WriteWithOptions( in ReplyJson() 257 *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text); in ReplyJson()
|
D | http_utils.cc | 306 base::JSONWriter::Write(*json, &data); in PostJsonAndBlock() 322 base::JSONWriter::Write(*json, &data); in PostJson() 344 base::JSONWriter::Write(*json, &data); in PatchJsonAndBlock() 366 base::JSONWriter::Write(*json, &data); in PatchJson()
|
/external/skia/src/utils/ |
D | SkShaperJSONWriter.h | 24 SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size);
|
D | SkShaperJSONWriter.cpp | 17 SkShaperJSONWriter::SkShaperJSONWriter(SkJSONWriter* JSONWriter, const char* utf8, size_t size) in SkShaperJSONWriter() argument 18 : fJSONWriter{JSONWriter} in SkShaperJSONWriter()
|
/external/libchrome/base/trace_event/ |
D | trace_event_system_stats_monitor.cc | 127 base::JSONWriter::Write(*system_metrics.ToValue(), &tmp); in AppendSystemProfileAsTraceFormat()
|
D | blame_context_unittest.cc | 169 JSONWriter::Write(*events[2]->GetKnownArgAsValue("snapshot"), &snapshot_json); in TEST_F()
|
D | trace_config.cc | 302 JSONWriter::Write(*dict, &json); in ToString()
|
D | trace_config_unittest.cc | 424 base::JSONWriter::Write(*event_filter.filter_args(), &json_out); in TEST()
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 1607 class JSONWriter { class 1619 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} in JSONWriter() function in __anon45e96e000911::JSONWriter 1626 bool JSONWriter::containedIn(StringRef Parent, StringRef Path) { in containedIn() 1639 StringRef JSONWriter::containedPart(StringRef Parent, StringRef Path) { in containedPart() 1645 void JSONWriter::startDirectory(StringRef Path) { in startDirectory() 1656 void JSONWriter::endDirectory() { in endDirectory() 1664 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() 1674 void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries, in write() 1750 JSONWriter(OS).write(Mappings, UseExternalNames, IsCaseSensitive, in write()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | VirtualFileSystem.cpp | 1906 class JSONWriter { class 1919 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} in JSONWriter() function in __anon02b9f3930911::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()
|
/external/llvm-project/llvm/lib/Support/ |
D | VirtualFileSystem.cpp | 2000 class JSONWriter { class 2013 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} in JSONWriter() function in __anonbe2b359f0a11::JSONWriter 2022 bool JSONWriter::containedIn(StringRef Parent, StringRef Path) { in containedIn() 2036 StringRef JSONWriter::containedPart(StringRef Parent, StringRef Path) { in containedPart() 2042 void JSONWriter::startDirectory(StringRef Path) { in startDirectory() 2053 void JSONWriter::endDirectory() { in endDirectory() 2061 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() 2071 void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries, in write() 2164 JSONWriter(OS).write(Mappings, UseExternalNames, IsCaseSensitive, in write()
|
/external/libchrome/dbus/ |
D | values_util.cc | 56 base::JSONWriter::Write(*key, &key_string); in PopDictionaryEntries()
|
D | values_util_unittest.cc | 378 base::JSONWriter::Write(base::Value(keys[i]), &key_string); in TEST()
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker.cc | 68 JSONWriter::Write(dict, &tmp); in AppendAsTraceFormat()
|
/external/libchrome/base/test/launcher/ |
D | test_results_tracker.cc | 442 if (!JSONWriter::Write(*summary_root, &json)) in SaveSummaryAsJSON()
|
/external/libchrome/base/ |
D | values.cc | 1392 JSONWriter::WriteWithOptions(value, JSONWriter::OPTIONS_PRETTY_PRINT, &json); in operator <<()
|
/external/libchrome/ipc/ |
D | ipc_message_utils.cc | 511 base::JSONWriter::Write(p, &json); in Log() 1127 base::JSONWriter::Write(p, &json); in Log()
|