Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp45 reader.Parse(s, h); in TEST()
53 reader.Parse(s, h); in TEST()
108 reader.Parse(s, h); \ in TEST()
183 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code())… in TestParseDouble()
324 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble()
351 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble()
400 ASSERT_EQ(kParseErrorNone, reader.Parse(s, h).Code()); in TEST()
421 EXPECT_FALSE(reader.Parse(s, h)); \ in TEST()
481 reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(is, h); \ in TEST()
488 reader2.Parse(s, h2); \ in TEST()
[all …]
Ddocumenttest.cpp76 doc.Parse(json); in ParseTest()
91 TEST(Document, Parse) { in TEST() argument
149 reader.Parse(is, writer); in TEST()
188 reader.Parse(is, writer); in TEST()
253 …doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\":… in TEST()
269 …doc.Parse(" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\":… in TEST()
294 … json.Parse<kParseValidateEncodingFlag>(L"[{\"created_at\":\"Wed Oct 30 17:13:20 +0000 2012\"}]"); in TEST()
358 a.Parse("[\"one\", \"two\", \"three\"]"); in TYPED_TEST()
372 b.Parse("{\"Foo\": \"Bar\", \"Baz\": 42}"); in TYPED_TEST()
392 a.Parse("{ 4 = 4]"); in TYPED_TEST()
[all …]
Djsoncheckertest.cpp71 document.Parse((const char*)json); in TEST()
74 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
91 document.Parse((const char*)json); in TEST()
94 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
Dprettywritertest.cpp47 reader.Parse(s, writer); in TEST()
57 reader.Parse(s, writer); in TEST()
132 reader.Parse(s, writer); in TEST()
147 reader.Parse(s, writer); in TEST()
Dpointertest.cpp35 TEST(Pointer, Parse) { in TEST() argument
609 d.Parse(kJson); in TEST()
632 d.Parse(kJson); in TEST()
685 d.Parse(kJson); in TEST()
737 d.Parse(kJson); in TEST()
797 d.Parse(kJson); in TEST()
856 d.Parse(kJson); in TEST()
865 d.Parse(kJson); in TEST()
873 d.Parse(kJson); in TEST()
939 d.Parse(kJson); in TEST()
[all …]
Dnamespacetest.cpp39 doc.Parse(json); in TEST()
55 reader.Parse(s, writer); in TEST()
62 doc.Parse(buffer.GetString()); in TEST()
Dwritertest.cpp30 reader.Parse<0>(s, writer); in TEST()
43 reader.Parse<kParseFullPrecisionFlag>(s, writer); \
119 reader.Parse(s, writer); in TEST()
129 reader.Parse(s, writer); in TEST()
135 reader2.Parse(s2, writer2); in TEST()
174 reader.Parse<0>(s, writer); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp48 EXPECT_FALSE(doc_.Parse(json_).IsNull()); in SetUp()
71 EXPECT_TRUE(reader.Parse<kParseInsituFlag>(s, h)); in TEST_F()
81 EXPECT_TRUE(reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(s, h)); in TEST_F()
90 EXPECT_TRUE(reader.Parse(s, h)); in TEST_F()
99 EXPECT_TRUE(reader.Parse<kParseFullPrecisionFlag>(s, h)); in TEST_F()
108 EXPECT_TRUE(reader.Parse<kParseIterativeFlag>(s, h)); in TEST_F()
118 EXPECT_TRUE(reader.Parse<kParseIterativeFlag|kParseInsituFlag>(s, h)); in TEST_F()
127 EXPECT_TRUE(reader.Parse<kParseValidateEncodingFlag>(s, h)); in TEST_F()
152 doc.Parse(json_); in TEST_F()
160 doc.Parse<kParseIterativeFlag>(json_); in TEST_F()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md95 GenericDocument& GenericDocument::Parse(const Ch* str);
99 GenericDocument& GenericDocument::Parse(const Ch* str);
102 GenericDocument& GenericDocument::Parse(const Ch* str);
109 Parse flags | Meaning
117 `kParseFullPrecisionFlag` | Parse number in full precision (slower). If this flag is not set, t…
125 ## Parse Error {#ParseError}
129 Parse Error Code | Description
160 if (d.Parse(json).HasParseError()) {
271 d.Parse(json);
Dsax.md90 reader.Parse(ss, handler);
167 bool Parse(InputStream& is, Handler& handler);
171 bool Parse(InputStream& is, Handler& handler);
349 if (reader.Parse(ss, handler))
369 cout << endl << "Parse a JSON with invalid schema." << endl;
383 Parse a JSON with invalid schema.
451 if (!reader.Parse(is, filter)) {
Dstream.md28 Since this is very common usage, `Document::Parse(const char*)` is provided to do exactly the same …
34 d.Parse(json);
106 d.Parse(json);
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp15 d.Parse(json); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/
Dcondense.cpp26 if (!reader.Parse(is, writer)) { in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/
Dpretty.cpp24 if (!reader.Parse<kParseValidateEncodingFlag>(is, writer)) { in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/
Dprettyauto.cpp50 if (!reader.Parse<kParseValidateEncodingFlag>(eis, writer)) { // CHANGED in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp35 reader.Parse(ss, handler); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
Dmessagereader.cpp70 if (reader.Parse(ss, handler)) in ParseMessages()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp60 if (!reader.Parse(is, filter)) { in main()
/packages/apps/Test/connectivity/sl4n/
Dmain.cpp89 d.Parse(str); in SockTest()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dnormalparsing.dot42 normaljson -> root [label=" Parse()" lhead="cluster1"]
Dsimpledom.dot49 srcjson -> root [label=" Parse()", lhead="cluster1"]
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md103 // 1. Parse a JSON string into DOM.
106 d.Parse(json);
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp22 if (document.Parse(json).HasParseError()) in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h1893 parseResult_ = reader.template Parse<parseFlags>(is, *this);
1955 GenericDocument& Parse(const Ch* str) {
1966 GenericDocument& Parse(const Ch* str) {
1967 return Parse<parseFlags, Encoding>(str);
1973 GenericDocument& Parse(const Ch* str) {
1974 return Parse<kParseDefaultFlags>(str);
Dpointer.h107 Parse(source, internal::StrLen(source)); in allocator_()
118 Parse(source.c_str(), source.size()); in allocator_()
130 Parse(source, length); in allocator_()
767 void Parse(const Ch* source, size_t length) { in Parse() function

12