/packages/apps/Test/connectivity/sl4n/facades/test/ |
H A D | test_facade.cpp | 74 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 75 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 77 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 78 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 91 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 92 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 94 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 95 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 108 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 109 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); [all...] |
/packages/apps/Test/connectivity/sl4n/utils/ |
H A D | common_utils.cpp | 28 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 29 doc.AddMember(sl4n::kErrorStr, sl4n::kInvalidParamStr, doc.GetAllocator());
|
H A D | command_receiver.cpp | 37 doc.AddMember(sl4n::kStatusStr, sl4n::kSuccessStr, doc.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
H A D | bt_binder_facade.cpp | 217 doc.AddMember(sl4n::kResultStr, sl4n::kFailStr, doc.GetAllocator()); 218 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 222 tmp.SetString(name.c_str(), doc.GetAllocator()); 223 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); 224 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 237 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 239 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 241 doc.AddMember(sl4n::kResultStr, init_result, doc.GetAllocator()); 253 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 254 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); [all...] |
/packages/apps/Test/connectivity/sl4n/facades/wifi/ |
H A D | wifi_facade.cpp | 166 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 167 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 169 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 170 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 183 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 184 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 186 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 187 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
H A D | tutorial.cpp | 103 Document::AllocatorType& allocator = document.GetAllocator();
127 author.SetString(buffer, static_cast<size_t>(len), document.GetAllocator());
129 // document["hello"].SetString(buffer, document.GetAllocator());
132 // Value author(buffer, len, document.GetAllocator());
133 // Value author(buffer, document.GetAllocator());
137 document.AddMember("author", author, document.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | documenttest.cpp | 198 Document::AllocatorType& a = d1.GetAllocator();
217 EXPECT_EQ(&d2.GetAllocator(), &a);
226 EXPECT_NE(&d2.GetAllocator(), &a);
283 doc.AddMember("a", 0, doc.GetAllocator());
362 EXPECT_EQ(&a.GetAllocator(), &allocator);
369 EXPECT_EQ(&a.GetAllocator(), (void*)0);
370 EXPECT_EQ(&b.GetAllocator(), &allocator);
382 EXPECT_EQ(&b.GetAllocator(), (void*)0);
383 EXPECT_EQ(&c.GetAllocator(), &allocator);
429 Reader reader(&a.GetAllocator());
[all...] |
H A D | pointertest.cpp | 570 Value* v = &Pointer("").Create(d, d.GetAllocator()); 574 Value* v = &Pointer("/foo").Create(d, d.GetAllocator()); 578 Value* v = &Pointer("/foo/0").Create(d, d.GetAllocator()); 582 Value* v = &Pointer("/foo/-").Create(d, d.GetAllocator()); 587 Value* v = &Pointer("/foo/-/-").Create(d, d.GetAllocator()); 602 Value* v = &Pointer("/-").Create(d["foo"], d.GetAllocator()); 635 Document::AllocatorType& a = d.GetAllocator(); 738 Document::AllocatorType& a = d.GetAllocator(); 810 const Value foo(d["foo"], d.GetAllocator()); 857 Document::AllocatorType& a = d.GetAllocator(); [all...] |
H A D | valuetest.cpp | 188 z.CopyFrom(y, z.GetAllocator());
201 z.AddMember("t", false, z.GetAllocator());
1273 rapidjson::Document::AllocatorType& allocator = doc.GetAllocator();
1300 val.SetString(str, len, doc.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | stack.h | 141 Allocator& GetAllocator() {
function in class:internal::Stack
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | pointer.h | 444 return Create(document, document.GetAllocator(), alreadyExist); 539 return GetWithDefault(document, defaultValue, document.GetAllocator()); 545 return GetWithDefault(document, defaultValue, document.GetAllocator()); 552 return GetWithDefault(document, defaultValue, document.GetAllocator()); 563 return GetWithDefault(document, defaultValue, document.GetAllocator()); 621 return Create(document).CopyFrom(value, document.GetAllocator()); 627 return Create(document) = ValueType(value, document.GetAllocator()).Move(); 634 return Create(document) = ValueType(value, document.GetAllocator()).Move();
|
H A D | document.h | 486 \param allocator Allocator for allocating copied elements and buffers. Commonly use GenericDocument::GetAllocator().
986 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1018 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1033 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1049 \param allocator Allocator for reallocating memory. Commonly use GenericDocument::GetAllocator().
1089 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1104 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1119 \param allocator Allocator for reallocating memory. Commonly use GenericDocument::GetAllocator().
1324 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator().
1339 \param allocator Allocator for reallocating memory. It must be the same one as used before. Commonly use GenericDocument::GetAllocator() 1993 Allocator& GetAllocator() { function in class:GenericDocument [all...] |