Home
last modified time | relevance | path

Searched defs:MoveOnly (Results 1 – 25 of 90) sorted by relevance

1234

/external/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp30 struct MoveOnly { struct
31 MoveOnly() {} in MoveOnly() function
32 MoveOnly(MoveOnly&&) {} in MoveOnly() function
33 MoveOnly& operator=(MoveOnly&&) noexcept { return *this; } in operator =() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp30 struct MoveOnly { struct
31 MoveOnly() {} in MoveOnly() argument
32 MoveOnly(MoveOnly&&) {} in MoveOnly() argument
33 MoveOnly& operator=(MoveOnly&&) noexcept { return *this; } in operator =() argument
/external/pigweed/pw_containers/
Dto_array_test.cc42 struct MoveOnly { struct
43 MoveOnly(char ch) : value(ch) {} in MoveOnly() function
51 char value;
Dvector_test.cc46 struct MoveOnly { struct
47 explicit MoveOnly(int val) : value(val) {} in MoveOnly() function
51 MoveOnly(MoveOnly&& other) { in MoveOnly() function
56 static constexpr int kDeleted = -1138;
58 int value;
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp89 class MoveOnly class
93 MoveOnly() {} in MoveOnly() function in MoveOnly
94 MoveOnly(MoveOnly&&) {} in MoveOnly() argument
96 void operator()(MoveOnly&&) in operator ()() argument
/external/libcxx/test/std/utilities/function.objects/refwrap/
Dtype_properties.pass.cpp27 class MoveOnly class
34 MoveOnly(int data = 1) : data_(data) {} in MoveOnly() function in MoveOnly
35 MoveOnly(MoveOnly&& x) in MoveOnly() function in MoveOnly
/external/llvm/unittests/ADT/
DOptionalTest.cpp218 struct MoveOnly { struct
219 static unsigned MoveConstructions;
220 static unsigned Destructions;
221 static unsigned MoveAssignments;
222 int val;
223 explicit MoveOnly(int val) : val(val) { in MoveOnly() function
225 MoveOnly(MoveOnly&& other) { in MoveOnly() function
229 MoveOnly &operator=(MoveOnly&& other) { in operator =()
234 ~MoveOnly() { in ~MoveOnly()
237 static void ResetCounts() { in ResetCounts()
DStringMapTest.cpp292 struct MoveOnly { struct
293 int i;
294 MoveOnly(int i) : i(i) {} in MoveOnly() function
295 MoveOnly(const Immovable&) : i(0) {} in MoveOnly() argument
296 MoveOnly(MoveOnly &&RHS) : i(RHS.i) {} in MoveOnly() function
297 MoveOnly &operator=(MoveOnly &&RHS) { in operator =()
307 TEST_F(StringMapTest, MoveOnly) { in TEST_F() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp140 class MoveOnly class
145 MoveOnly(const MoveOnly&) in MoveOnly() function in MoveOnly
152 MoveOnly() {} in MoveOnly() function in MoveOnly
153 MoveOnly(MoveOnly&&) {} in MoveOnly() function in MoveOnly
155 void operator()(MoveOnly&&) in operator ()() argument
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp140 class MoveOnly class
145 MoveOnly(const MoveOnly&) in MoveOnly() function in MoveOnly
152 MoveOnly() {} in MoveOnly() function in MoveOnly
153 MoveOnly(MoveOnly&&) {} in MoveOnly() argument
155 void operator()(MoveOnly&&) in operator ()() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/refwrap/
Dtype_properties.pass.cpp23 class MoveOnly class
30 MoveOnly(int data = 1) : data_(data) {} in MoveOnly() function in MoveOnly
31 MoveOnly(MoveOnly&& x) in MoveOnly() function in MoveOnly
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DUTypes.fail.cpp27 class MoveOnly class
34 explicit MoveOnly(int data = 1) : data_(data) {} in MoveOnly() function in MoveOnly
35 MoveOnly(MoveOnly&& x) in MoveOnly() function in MoveOnly
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DUTypes.compile.fail.cpp26 class MoveOnly class
33 explicit MoveOnly(int data = 1) : data_(data) {} in MoveOnly() function in MoveOnly
34 MoveOnly(MoveOnly&& x) in MoveOnly() function in MoveOnly
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp92 class MoveOnly class
96 MoveOnly() {} in MoveOnly() function in MoveOnly
97 MoveOnly(MoveOnly&&) {} in MoveOnly() function in MoveOnly
99 void operator()(MoveOnly&&) in operator ()() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/support/type_classification/
Dmoveconstructible.h18 struct MoveOnly { struct
20 MoveOnly& operator=(MoveOnly&&) noexcept = default; argument
22 MoveOnly& operator=(const MoveOnly&) = default; argument
/external/cronet/base/
Dbarrier_callback_unittest.cc125 class MoveOnly { in TEST() class
135 1, base::BindOnce([](std::vector<MoveOnly>) {})); in TEST()
139 1, base::BindOnce([](const std::vector<MoveOnly>&) {})); in TEST()
/external/libcxx/test/support/
DMoveOnly.h28 MoveOnly(MoveOnly&& x) in MoveOnly() function
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dmove.pass.cpp43 struct MoveOnly { struct
45 MoveOnly(int v) : value(v) {} in MoveOnly() function
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.variant/variant.ctor/
Dmove.pass.cpp35 struct MoveOnly { struct
37 MoveOnly(int v) : value(v) {} in MoveOnly() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
DMoveOnly.h26 TEST_CONSTEXPR_CXX14 MoveOnly(MoveOnly&& x) TEST_NOEXCEPT in MoveOnly() function
/external/openscreen/third_party/abseil/src/absl/memory/
Dmemory_test.cc112 struct MoveOnly { struct
114 explicit MoveOnly(int i1) : ip1{new int{i1}} {} in MoveOnly() function
115 MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} in MoveOnly() function
116 std::unique_ptr<int> ip1;
117 std::unique_ptr<int> ip2;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc112 struct MoveOnly { struct
114 explicit MoveOnly(int i1) : ip1{new int{i1}} {} in MoveOnly() argument
115 MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} in MoveOnly() function
116 std::unique_ptr<int> ip1;
117 std::unique_ptr<int> ip2;
/external/libtextclassifier/abseil-cpp/absl/memory/
Dmemory_test.cc112 struct MoveOnly { struct
114 explicit MoveOnly(int i1) : ip1{new int{i1}} {} in MoveOnly() function
115 MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} in MoveOnly() function
116 std::unique_ptr<int> ip1;
117 std::unique_ptr<int> ip2;
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp19.cpp3 struct MoveOnly { struct
/external/webrtc/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc112 struct MoveOnly { struct
114 explicit MoveOnly(int i1) : ip1{new int{i1}} {} in MoveOnly() argument
115 MoveOnly(int i1, int i2) : ip1{new int{i1}}, ip2{new int{i2}} {} in MoveOnly() function
116 std::unique_ptr<int> ip1;
117 std::unique_ptr<int> ip2;

1234