Home
last modified time | relevance | path

Searched refs:Move (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp534 Pointer q = p.Append(Value("foo").Move()); in TEST()
536 q = q.Append(Value(1234).Move()); in TEST()
538 q = q.Append(Value(kStringType).Move()); in TEST()
640 EXPECT_TRUE(Value("last") == Pointer("/foo/-").GetWithDefault(d, Value("last").Move(), a)); in TEST()
643 EXPECT_TRUE(Pointer("/foo/null").GetWithDefault(d, Value().Move(), a).IsNull()); in TEST()
692 EXPECT_TRUE(Value("last") == Pointer("/foo/-").GetWithDefault(d, Value("last").Move())); in TEST()
695 EXPECT_TRUE(Pointer("/foo/null").GetWithDefault(d, Value().Move()).IsNull()); in TEST()
741 Pointer("/foo/0").Set(d, Value(123).Move(), a); in TEST()
744 Pointer("/foo/-").Set(d, Value(456).Move(), a); in TEST()
747 Pointer("/foo/null").Set(d, Value().Move(), a); in TEST()
[all …]
Dvaluetest.cpp163 .AddMember("t", Value(true).Move(), allocator) in TEST()
164 .AddMember("f", Value(false).Move(), allocator) in TEST()
165 .AddMember("n", Value(kNullType).Move(), allocator) in TEST()
168 ….AddMember("a", Value(kArrayType).Move().PushBack(1, allocator).PushBack(2, allocator).PushBack(3,… in TEST()
837 x.PushBack(Value(kArrayType).PushBack(i, allocator).Move(), allocator); in TEST()
869 x.PushBack(Value(kArrayType).PushBack(i, allocator).Move(), allocator); in TEST()
893 x.PushBack(Value(kNullType).Move(), allocator); in TEST()
984 o.AddMember(Value("false"), Value(false).Move(), allocator); // value is lvalue ref in TEST()
985 o.AddMember(Value("int").Move(), Value(-1), allocator); // name is lvalue ref in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h393 v->PushBack(Value().Move(), allocator);
411 v->PushBack(Value().Move(), allocator);
419 … v->AddMember(Value(t->name, t->length, allocator).Move(), Value().Move(), allocator);
533 return GetWithDefault(root, ValueType(defaultValue).Move(), allocator); in GetWithDefault()
592 return Create(root, allocator) = ValueType(value, allocator).Move(); in Set()
598 return Create(root, allocator) = ValueType(value, allocator).Move(); in Set()
609 return Create(root, allocator) = ValueType(value).Move(); in Set()
627 return Create(document) = ValueType(value, document.GetAllocator()).Move(); in Set()
634 return Create(document) = ValueType(value, document.GetAllocator()).Move(); in Set()
Ddocument.h616 return *this = rhs.Move();
692 GenericValue& Move() RAPIDJSON_NOEXCEPT { return *this; }
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md276 ## Move Semantics {#MoveSemantics}
312 …is similar to `std::auto_ptr` which transfer ownership during assignment. Move is much faster and …
327 ![Move semantics makes no copying.](diagram/move3.png)
331 ### Move semantics and temporary values {#TemporaryValues}
333 …ects can't be converted to proper Value references, the convenience function `Move()` is available:
340 a.PushBack(Value(42).Move(), allocator); // same as above
423 contact.PushBack(Value("copy", document.GetAllocator()).Move(), // copy string
452 contact.AddMember(Value("copy", document.GetAllocator()).Move(), // copy string
453 Value().Move(), // null value
Dfaq.md121 d.Swap(Value(kObjectType).Move());
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dmove1.dot27 a1 -> b1 [style="dashed", label="Move", dir=back]
/packages/modules/DnsResolver/
DAndroid.bp239 // TODO: Move this test to tests/
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java392 enum ModifyMode { None, Move, Grow } enumConstant
DCropImage.java665 ? HighlightView.ModifyMode.Move in onTouchEvent()
/packages/providers/TelephonyProvider/assets/sdk28_carrier_id/
Dcarrier_list.textpb6473 carrier_name: "True Move"
/packages/providers/TelephonyProvider/assets/sdk29_carrier_id/
Dcarrier_list.textpb6290 carrier_name: "True Move"
/packages/providers/TelephonyProvider/assets/latest_carrier_id/
Dcarrier_list.textpb6307 carrier_name: "True Move"