/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_value_serializer_unittest.cc | 304 JSONWriter::Write(valueRoot, &output_js); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/ |
D | sancov.cpp | 286 class JSONWriter { class 288 JSONWriter(raw_ostream &Out) : OS(Out) {} in JSONWriter() function in __anon353b67f00111::JSONWriter 289 JSONWriter(const JSONWriter &) = delete; 290 ~JSONWriter() { OS << "\n"; } in ~JSONWriter() 297 Object(JSONWriter *W, raw_ostream &OS) : W(W), OS(OS) { in Object() 320 JSONWriter *W; 377 static void operator<<(JSONWriter &W, in operator <<() 425 static void operator<<(JSONWriter &W, const SymbolizedCoverage &C) { in operator <<() 1249 JSONWriter W(outs()); in main()
|
/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/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 1607 class JSONWriter { class 1619 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} in JSONWriter() function in __anonab1edbe20911::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/libchrome/dbus/ |
D | values_util.cc | 56 base::JSONWriter::Write(*key, &key_string); in PopDictionaryEntries()
|
/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()
|