/external/libchrome/base/json/ |
H A D | json_writer_unittest.cc | 16 EXPECT_TRUE(JSONWriter::Write(*Value::CreateNullValue(), &output_js)); 20 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); 24 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); 28 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(42), &output_js)); 32 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(true), &output_js)); 36 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(1.0), &output_js)); 40 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(0.2), &output_js)); 44 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(-0.8), &output_js)); 48 EXPECT_TRUE(JSONWriter::Write(StringValue("foo"), &output_js)); 67 EXPECT_TRUE(JSONWriter [all...] |
H A D | json_writer.h | 19 class BASE_EXPORT JSONWriter { class in namespace:base 45 // Same as above but with |options| which is a bunch of JSONWriter::Options 52 JSONWriter(int options, std::string* json); 68 DISALLOW_COPY_AND_ASSIGN(JSONWriter);
|
H A D | json_string_value_serializer.cc | 36 options |= base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES; 38 options |= base::JSONWriter::OPTIONS_PRETTY_PRINT; 40 return base::JSONWriter::WriteWithOptions(root, options, json_string_);
|
H A D | json_writer.cc | 28 bool JSONWriter::Write(const Value& node, std::string* json) { 33 bool JSONWriter::WriteWithOptions(const Value& node, 40 JSONWriter writer(options, json); 49 JSONWriter::JSONWriter(int options, std::string* json) function in class:base::JSONWriter 58 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) { 208 void JSONWriter::IndentLine(size_t depth) {
|
H A D | json_value_serializer_unittest.cc | 304 // Test JSONWriter interface 308 JSONWriter::Write(valueRoot, &output_js); 311 // Test JSONValueSerializer interface (uses JSONWriter).
|
/external/libweave/third_party/chromium/base/json/ |
H A D | json_writer_unittest.cc | 18 EXPECT_TRUE(JSONWriter::Write(*Value::CreateNullValue(), &output_js)); 22 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); 26 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); 30 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(42), &output_js)); 34 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(true), &output_js)); 38 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(1.0), &output_js)); 42 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(0.2), &output_js)); 46 EXPECT_TRUE(JSONWriter::Write(FundamentalValue(-0.8), &output_js)); 50 EXPECT_TRUE(JSONWriter::Write(StringValue("foo"), &output_js)); 69 EXPECT_TRUE(JSONWriter [all...] |
H A D | json_writer.h | 19 class BASE_EXPORT JSONWriter { class in namespace:base 45 // Same as above but with |options| which is a bunch of JSONWriter::Options 52 JSONWriter(int options, std::string* json); 68 DISALLOW_COPY_AND_ASSIGN(JSONWriter);
|
H A D | json_writer.cc | 28 bool JSONWriter::Write(const Value& node, std::string* json) { 33 bool JSONWriter::WriteWithOptions(const Value& node, 40 JSONWriter writer(options, json); 49 JSONWriter::JSONWriter(int options, std::string* json) function in class:base::JSONWriter 58 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) { 208 void JSONWriter::IndentLine(size_t depth) {
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | JSONWriter.java | 31 * JSONWriter provides a quick and convenient way of producing JSON text. 34 * JSONWriter can produce one JSON text. 36 * A JSONWriter instance provides a <code>value</code> method for appending 42 * object values. All of these methods return the JSONWriter instance, 44 * new JSONWriter(myWriter) 52 * There are no methods for adding commas or colons. JSONWriter adds them for 59 public class JSONWriter { class 94 * Make a fresh JSONWriter. It can be used to build one JSON text. 96 public JSONWriter(Writer w) { method in class:JSONWriter 110 private JSONWriter appen [all...] |
H A D | JSONStringer.java | 41 * object values. All of these methods return the JSONWriter instance, 59 public class JSONStringer extends JSONWriter {
|
/external/libweave/src/privet/ |
H A D | privet_manager.cc | 150 base::JSONWriter::WriteWithOptions( 151 output, base::JSONWriter::OPTIONS_PRETTY_PRINT, &data);
|
/external/libbrillo/brillo/http/ |
H A D | http_transport_fake.cc | 197 base::JSONWriter::Write(*json, &value); 258 base::JSONWriter::WriteWithOptions( 259 *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text);
|
H A D | http_utils.cc | 306 base::JSONWriter::Write(*json, &data); 322 base::JSONWriter::Write(*json, &data); 344 base::JSONWriter::Write(*json, &data); 366 base::JSONWriter::Write(*json, &data);
|
/external/libweave/src/ |
H A D | config.cc | 281 base::JSONWriter::WriteWithOptions( 282 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string);
|
H A D | access_black_list_manager_impl.cc | 76 base::JSONWriter::Write(list, &json);
|
H A D | device_registration_info_unittest.cc | 93 base::JSONWriter::WriteWithOptions( 94 json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text); 168 base::JSONWriter::WriteWithOptions( 169 dict, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_string);
|
H A D | device_registration_info.cc | 166 CHECK(base::JSONWriter::Write(json, &data)); 662 base::JSONWriter::Write(*body, &data->body);
|
/external/clang/lib/Basic/ |
H A D | VirtualFileSystem.cpp | 1380 class JSONWriter { class in namespace:__anon1252 1392 JSONWriter(llvm::raw_ostream &OS) : OS(OS) {} function in class:__anon1252::JSONWriter 1397 bool JSONWriter::containedIn(StringRef Parent, StringRef Path) { 1410 StringRef JSONWriter::containedPart(StringRef Parent, StringRef Path) { 1416 void JSONWriter::startDirectory(StringRef Path) { 1427 void JSONWriter::endDirectory() { 1435 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { 1445 void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries, 1493 JSONWriter(OS).write(Mappings, IsCaseSensitive);
|
/external/robolectric/v1/lib/main/ |
H A D | json-20080701.jar | META-INF/ META-INF/MANIFEST.MF org/ org/json/ org/json/CDL.class CDL. ... |
/external/robolectric/v3/runtime/ |
H A D | json-20080701.jar | META-INF/ META-INF/MANIFEST.MF org/ org/json/ org/json/CDL.class CDL. ... |
/external/libchrome/dbus/ |
H A D | values_util.cc | 53 // Use JSONWriter to convert an arbitrary value to a string. 54 base::JSONWriter::Write(*key, &key_string);
|
/external/libchrome/base/trace_event/ |
H A D | trace_event_argument.cc | 454 // produce the JSON on its own. This will require refactoring JSONWriter 457 JSONWriter::Write(*ToBaseValue(), &tmp);
|
H A D | trace_config.cc | 156 base::JSONWriter::Write(dict, &json);
|
/external/libchrome/base/ |
H A D | values.cc | 1199 JSONWriter::WriteWithOptions(value, JSONWriter::OPTIONS_PRETTY_PRINT, &json);
|
/external/libweave/third_party/chromium/base/ |
H A D | values.cc | 1131 JSONWriter::WriteWithOptions(value, JSONWriter::OPTIONS_PRETTY_PRINT, &json);
|