Lines Matching refs:ReadToValue

28   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()
75 root = JSONReader().ReadToValue( in TEST()
85 root = JSONReader().ReadToValue("43"); in TEST()
92 root = JSONReader().ReadToValue("043"); in TEST()
94 root = JSONReader().ReadToValue("0x43"); in TEST()
96 root = JSONReader().ReadToValue("00"); in TEST()
101 root = JSONReader().ReadToValue("0"); in TEST()
110 root = JSONReader().ReadToValue("2147483648"); in TEST()
117 root = JSONReader().ReadToValue("-2147483649"); in TEST()
125 root = JSONReader().ReadToValue("43.1"); in TEST()
132 root = JSONReader().ReadToValue("4.3e-1"); in TEST()
139 root = JSONReader().ReadToValue("2.1e0"); in TEST()
146 root = JSONReader().ReadToValue("2.1e+0001"); in TEST()
153 root = JSONReader().ReadToValue("0.01"); in TEST()
160 root = JSONReader().ReadToValue("1.00"); in TEST()
168 root = JSONReader().ReadToValue("1."); in TEST()
170 root = JSONReader().ReadToValue(".1"); in TEST()
172 root = JSONReader().ReadToValue("1.e10"); in TEST()
176 root = JSONReader().ReadToValue("1e"); in TEST()
178 root = JSONReader().ReadToValue("1E"); in TEST()
180 root = JSONReader().ReadToValue("1e1."); in TEST()
182 root = JSONReader().ReadToValue("1e1.0"); in TEST()
186 root = JSONReader().ReadToValue("1e1000"); in TEST()
188 root = JSONReader().ReadToValue("-1e1000"); in TEST()
190 root = JSONReader().ReadToValue("NaN"); in TEST()
192 root = JSONReader().ReadToValue("nan"); in TEST()
194 root = JSONReader().ReadToValue("inf"); in TEST()
198 root = JSONReader().ReadToValue("4.3.1"); in TEST()
200 root = JSONReader().ReadToValue("4e3.1"); in TEST()
204 root = JSONReader().ReadToValue("\"hello world\""); in TEST()
212 root = JSONReader().ReadToValue("\"\""); in TEST()
220 root = JSONReader().ReadToValue("\" \\\"\\\\\\/\\b\\f\\n\\r\\t\\v\""); in TEST()
228 root = JSONReader().ReadToValue("\"\\x41\\x00\\u1234\""); in TEST()
236 root = JSONReader().ReadToValue("\"no closing quote"); in TEST()
238 root = JSONReader().ReadToValue("\"\\z invalid escape char\""); in TEST()
240 root = JSONReader().ReadToValue("\"\\xAQ invalid hex code\""); in TEST()
242 root = JSONReader().ReadToValue("not enough hex chars\\x1\""); in TEST()
244 root = JSONReader().ReadToValue("\"not enough escape chars\\u123\""); in TEST()
246 root = JSONReader().ReadToValue("\"extra backslash at end of input\\\""); in TEST()
474 root = JSONReader().ReadToValue("\"\xe7\xbd\x91\xe9\xa1\xb5\""); in TEST()
481 root = JSONReader().ReadToValue( in TEST()
490 root = JSONReader().ReadToValue("\"345\xb0\xa1\xb0\xa2\""); in TEST()
492 root = JSONReader().ReadToValue("\"123\xc0\x81\""); in TEST()
494 root = JSONReader().ReadToValue("\"abc\xc0\xae\""); in TEST()
498 root = JSONReader().ReadToValue("\"\\u20ac3,14\""); in TEST()
505 root = JSONReader().ReadToValue("\"\\ud83d\\udca9\\ud83d\\udc6c\""); in TEST()
524 root = JSONReader().ReadToValue(cases[i]); in TEST()
560 scoped_ptr<Value> root(reader.ReadToValue(input)); in TEST()
650 EXPECT_FALSE(reader.ReadToValue(invalid_json[i])); in TEST()
660 EXPECT_FALSE(reader.ReadToValue(json_string)); in TEST()