Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp30 struct MoveOnly { struct
31 MoveOnly() {} in MoveOnly() argument
32 MoveOnly(MoveOnly&&) {} in MoveOnly() function
33 MoveOnly& operator=(MoveOnly&&) noexcept { return *this; } 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/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/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() function in MoveOnly
96 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() argument
152 MoveOnly() {} in MoveOnly() function in MoveOnly
153 MoveOnly(MoveOnly&&) {} in MoveOnly() function in MoveOnly
155 void operator()(MoveOnly&&) in operator ()() argument
/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() argument
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() argument
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/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DOptionalTest.cpp219 struct MoveOnly { struct
220 static unsigned MoveConstructions;
221 static unsigned Destructions;
222 static unsigned MoveAssignments;
223 int val;
224 explicit MoveOnly(int val) : val(val) { in MoveOnly() function
226 MoveOnly(MoveOnly&& other) { in MoveOnly() function
230 MoveOnly &operator=(MoveOnly&& other) { in operator =()
235 ~MoveOnly() { in ~MoveOnly()
238 static void ResetCounts() { in ResetCounts()
DBumpPtrListTest.cpp24 struct MoveOnly { struct
25 int V;
26 explicit MoveOnly(int V) : V(V) {} in MoveOnly() argument
28 MoveOnly(MoveOnly &&X) { V = X.V; } in MoveOnly() argument
DStringMapTest.cpp322 struct MoveOnly { struct
323 int i;
324 MoveOnly(int i) : i(i) {} in MoveOnly() argument
325 MoveOnly(const Immovable&) : i(0) {} in MoveOnly() argument
326 MoveOnly(MoveOnly &&RHS) : i(RHS.i) {} in MoveOnly() argument
327 MoveOnly &operator=(MoveOnly &&RHS) { in operator =()
337 TEST_F(StringMapTest, MoveOnly) { in TEST_F() argument
DFunctionExtrasTest.cpp106 TEST(UniqueFunctionTest, MoveOnly) { in TEST() argument
/external/libcxx/test/support/
DMoveOnly.h28 MoveOnly(MoveOnly&& x) in MoveOnly() function
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp19.cpp3 struct MoveOnly { struct
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dmove.pass.cpp43 struct MoveOnly { struct
45 MoveOnly(int v) : value(v) {} in MoveOnly() argument
Dcopy.pass.cpp45 struct MoveOnly { struct
/external/libchrome/base/
Dno_destructor_unittest.cc36 struct MoveOnly { struct
/external/clang/test/SemaCXX/
Drval-references.cpp73 struct MoveOnly { struct
Dblocks.cpp73 class MoveOnly { class
/external/googletest/googlemock/test/
Dgmock-nice-strict_test.cc119 class MoveOnly { class in testing::gmock_nice_strict_test::MockBaz
130 MockBaz(MoveOnly) {} in MockBaz() argument
/external/tensorflow/tensorflow/core/lib/gtl/
Dtop_n_test.cc197 TEST(TopNTest, MoveOnly) { in TEST() argument
/external/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp231 struct MoveOnly { struct
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-structors.cpp437 struct MoveOnly { struct
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
Dp3.cpp118 struct MoveOnly { // expected-note {{candidate}} struct
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dmove.pass.cpp53 struct MoveOnly { struct
Dcopy.pass.cpp50 struct MoveOnly { struct

12