Home
last modified time | relevance | path

Searched refs:ReadToValue (Results 1 – 6 of 6) sorted by relevance

/external/libweave/third_party/chromium/base/json/
Djson_reader_unittest.cc23 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST()
28 root = JSONReader().ReadToValue("nu"); in TEST()
32 root = JSONReader().ReadToValue("true "); in TEST()
37 root = JSONReader().ReadToValue("/* comment */null"); in TEST()
40 root = JSONReader().ReadToValue("40 /* comment */"); in TEST()
43 root = JSONReader().ReadToValue("true // comment"); in TEST()
46 root = JSONReader().ReadToValue("/* comment */\"sample string\""); in TEST()
52 root = JSONReader().ReadToValue("[1, /* comment, 2 ] */ \n 3]"); in TEST()
61 root = JSONReader().ReadToValue("[1, /*a*/2, 3]"); in TEST()
65 root = JSONReader().ReadToValue("/* comment **/42"); in TEST()
[all …]
Djson_reader.h119 scoped_ptr<Value> ReadToValue(const std::string& json);
Djson_reader.cc108 scoped_ptr<Value> JSONReader::ReadToValue(const std::string& json) { in ReadToValue() function in base::JSONReader
/external/libchrome/base/json/
Djson_reader_unittest.cc28 scoped_ptr<Value> root = JSONReader().ReadToValue(" null "); in TEST()
33 root = JSONReader().ReadToValue("nu"); in TEST()
37 root = JSONReader().ReadToValue("true "); in TEST()
42 root = JSONReader().ReadToValue("/* comment */null"); in TEST()
45 root = JSONReader().ReadToValue("40 /* comment */"); in TEST()
48 root = JSONReader().ReadToValue("true // comment"); in TEST()
51 root = JSONReader().ReadToValue("/* comment */\"sample string\""); in TEST()
57 root = JSONReader().ReadToValue("[1, /* comment, 2 ] */ \n 3]"); in TEST()
66 root = JSONReader().ReadToValue("[1, /*a*/2, 3]"); in TEST()
70 root = JSONReader().ReadToValue("/* comment **/42"); in TEST()
[all …]
Djson_reader.h119 scoped_ptr<Value> ReadToValue(const std::string& json);
Djson_reader.cc108 scoped_ptr<Value> JSONReader::ReadToValue(const std::string& json) { in ReadToValue() function in base::JSONReader