HomeSort by relevance Sort by last modified time
    Searched refs:JSONWriter (Results 1 - 24 of 24) sorted by null

  /external/libchrome/base/json/
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(Value(42), &output_js));
34 EXPECT_TRUE(JSONWriter::Write(Value(true), &output_js));
38 EXPECT_TRUE(JSONWriter::Write(Value(1.0), &output_js));
42 EXPECT_TRUE(JSONWriter::Write(Value(0.2), &output_js));
46 EXPECT_TRUE(JSONWriter::Write(Value(-0.8), &output_js));
50 EXPECT_TRUE(JSONWriter::Write(Value("foo"), &output_js));
69 EXPECT_TRUE(JSONWriter::Write(root_dict, &output_js))
    [all...]
json_writer.h 19 class BASE_EXPORT JSONWriter {
47 // Same as above but with |options| which is a bunch of JSONWriter::Options
54 JSONWriter(int options, std::string* json);
70 DISALLOW_COPY_AND_ASSIGN(JSONWriter);
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_);
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)
58 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) {
206 void JSONWriter::IndentLine(size_t depth) {
json_value_serializer_unittest.cc 302 // Test JSONWriter interface
306 JSONWriter::Write(valueRoot, &output_js);
309 // Test JSONValueSerializer interface (uses JSONWriter).
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
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 {
94 * Make a fresh JSONWriter. It can be used to build one JSON text.
96 public JSONWriter(Writer w) {
110 private JSONWriter append(String s) throws JSONException
    [all...]
JSONStringer.java 41 * object values. All of these methods return the JSONWriter instance,
59 public class JSONStringer extends JSONWriter {
  /external/libbrillo/brillo/http/
http_transport_fake.cc 195 base::JSONWriter::Write(*json, &value);
256 base::JSONWriter::WriteWithOptions(
257 *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &text);
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);
  /system/update_engine/update_manager/
evaluation_context.cc 246 base::JSONWriter::WriteWithOptions(
247 value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_str);
  /external/robolectric/v1/lib/main/
json-20080701.jar 
  /external/robolectric/v3/runtime/
json-20080701.jar 
  /prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar 
  /external/clang/lib/Basic/
VirtualFileSystem.cpp     [all...]
  /external/libchrome/dbus/
values_util.cc 55 // Use JSONWriter to convert an arbitrary value to a string.
56 base::JSONWriter::Write(*key, &key_string);
  /prebuilts/tools/common/m2/repository/org/json/json/20141113/
json-20141113.jar 
  /external/libchrome/base/trace_event/
trace_event_argument.cc 456 // produce the JSON on its own. This will require refactoring JSONWriter
459 JSONWriter::Write(*ToBaseValue(), &tmp);
trace_config.cc 266 JSONWriter::Write(*dict, &json);
trace_config_unittest.cc 447 base::JSONWriter::Write(*event_filter.filter_args(), &json_out);
  /external/libchrome/base/
values.cc     [all...]
  /external/libmojo/ipc/
ipc_message_utils.cc 611 base::JSONWriter::Write(p, &json);
827 base::JSONWriter::Write(p, &json);
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/jre/lib/ext/
nashorn.jar 
  /prebuilts/jdk/jdk8/linux-x86/jre/lib/ext/
nashorn.jar 
  /prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar 

Completed in 2172 milliseconds