Searched refs:Swap (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | stack.h | 85 void Swap(Stack& rhs) RAPIDJSON_NOEXCEPT { in Swap() function 86 internal::Swap(allocator_, rhs.allocator_); in Swap() 87 internal::Swap(ownAllocator_, rhs.ownAllocator_); in Swap() 88 internal::Swap(stack_, rhs.stack_); in Swap() 89 internal::Swap(stackTop_, rhs.stackTop_); in Swap() 90 internal::Swap(stackEnd_, rhs.stackEnd_); in Swap() 91 internal::Swap(initialCapacity_, rhs.initialCapacity_); in Swap()
|
D | swap.h | 28 inline void Swap(T& a, T& b) RAPIDJSON_NOEXCEPT { in Swap() function
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | documenttest.cpp | 196 TEST(Document, Swap) { in TEST() argument 207 o.Swap(d1); in TEST() 214 d1.Swap(d2); in TEST() 220 Value().Swap(d1); in TEST() 224 Document().Swap(d2); in TEST()
|
D | valuetest.cpp | 211 x["a"][0].Swap(x["a"][1]); in TEST() 213 x["a"][0].Swap(x["a"][1]); in TEST() 267 TEST(Value, Swap) { in TEST() argument 271 EXPECT_EQ(&v1, &v1.Swap(v2)); in TEST() 590 Value(cstr).Swap(x); in TEST() 597 Value(StringRef(mstr)).Swap(x); in TEST() 606 Value(StringRef(pstr)).Swap(x); in TEST() 612 Value(StringRef(mpstr,sizeof(mstr)-1)).Swap(x); in TEST() 1161 Value(kObjectType).Swap(x); in TEST()
|
D | pointertest.cpp | 854 TEST(Pointer, Swap) { in TEST() argument 858 Pointer("/foo/0").Swap(d, *Pointer("/foo/1").Get(d), a); in TEST() 866 Pointer("/foo/0").Swap(d, *Pointer("/foo/1").Get(d)); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | pointer.h | 663 …ValueType& Swap(ValueType& root, ValueType& value, typename ValueType::AllocatorType& allocator) c… in Swap() function 664 return Create(root, allocator).Swap(value); in Swap() 669 …ValueType& Swap(GenericDocument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& … in Swap() function 670 return Create(document).Swap(value); in Swap() 1279 return pointer.Swap(root, value, a); in SwapValueByPointer() 1284 return GenericPointer<typename T::ValueType>(source, N - 1).Swap(root, value, a); in SwapValueByPointer() 1289 return pointer.Swap(document, value); in SwapValueByPointer() 1294 return GenericPointer<typename DocumentType::ValueType>(source, N - 1).Swap(document, value); in SwapValueByPointer()
|
D | document.h | 668 GenericValue& Swap(GenericValue& other) RAPIDJSON_NOEXCEPT { 688 friend inline void swap(GenericValue& a, GenericValue& b) RAPIDJSON_NOEXCEPT { a.Swap(b); } 1854 GenericDocument& Swap(GenericDocument& rhs) RAPIDJSON_NOEXCEPT { 1855 ValueType::Swap(rhs); 1856 stack_.Swap(rhs.stack_); 1857 internal::Swap(allocator_, rhs.allocator_); 1858 internal::Swap(ownAllocator_, rhs.ownAllocator_); 1859 internal::Swap(parseResult_, rhs.parseResult_); 1875 … friend inline void swap(GenericDocument& a, GenericDocument& b) RAPIDJSON_NOEXCEPT { a.Swap(b); }
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | pointer.md | 62 // Swap() is similar to Set() 64 Pointer("/hello").Swap(d, x); 126 The other functions, including `Create()`, `GetWithDefault()`, `Set()` and `Swap()`, will change th…
|
D | tutorial.md | 492 ## Swap Values {#SwapValues} 494 `Swap()` is also provided. 499 a.Swap(b);
|
D | faq.md | 117 Value(kObjectType).Swap(d); 121 d.Swap(Value(kObjectType).Move());
|