Home
last modified time | relevance | path

Searched refs:PushBack (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dvaluetest.cpp81 x.PushBack(1, allocator).PushBack(2, allocator).PushBack(3, allocator).PushBack(4, allocator); in TEST()
168 ….AddMember("a", Value(kArrayType).Move().PushBack(1, allocator).PushBack(2, allocator).PushBack(3,… in TEST()
217 x["a"].PushBack(4, allocator); in TEST()
249 v1.SetArray().PushBack(1234, a); in TestCopyFrom()
254 v1.PushBack(Value().SetString("foo", a), a); // push string copy in TestCopyFrom()
737 x.PushBack(v, allocator); in TEST()
739 x.PushBack(v, allocator); in TEST()
741 x.PushBack(v, allocator); in TEST()
743 x.PushBack(v, allocator); in TEST()
745 x.PushBack("foo", allocator); in TEST()
[all …]
Ddocumenttest.cpp200 d1.SetArray().PushBack(1, a).PushBack(2, a); in TEST()
213 d2.SetArray().PushBack(3, a); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md329 …ntics using assignment operator, and all other modifying function like `AddMember()`, `PushBack()`.
333 …lue in place, before passing it to one of the "moving" functions, like `PushBack()` or `AddMember(…
338 // a.PushBack(Value(42), allocator); // will not compile
339 a.PushBack(Value().SetInt(42), allocator); // fluent API
340 a.PushBack(Value(42).Move(), allocator); // same as above
396 * `Value& PushBack(Value&, Allocator&)`
397 * `template <typename T> GenericValue& PushBack(T, Allocator&)`
402 Note that, `Reserve(...)` and `PushBack(...)` may allocate memory for the array elements, therefore…
404 Here is an example of `PushBack()`:
411 a.PushBack(i, allocator); // allocator is needed for potential realloc().
[all …]
Dpointer.md136 …other functions can resolve this for array, equivalent to calling `Value::PushBack()` to the array.
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp105 …a.PushBack(i, allocator); // May look a bit strange, allocator is needed for potentially realloc… in main()
108 a.PushBack("Lua", allocator).PushBack("Mio", allocator); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h82 PushBack(1);
100 PushBack(k);
123 PushBack(k);
234 void PushBack(Type digit) { in PushBack() function
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Ddocument.h1347 GenericValue& PushBack(GenericValue& value, Allocator& allocator) {
1356 GenericValue& PushBack(GenericValue&& value, Allocator& allocator) {
1357 return PushBack(value, allocator);
1370 GenericValue& PushBack(StringRefType value, Allocator& allocator) {
1371 return (*this).template PushBack<StringRefType>(value, allocator);
1393 PushBack(T value, Allocator& allocator) {
1395 return PushBack(v, allocator);
Dpointer.h393 v->PushBack(Value().Move(), allocator);
411 v->PushBack(Value().Move(), allocator);