Searched refs:Moveable (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | CPlusPlusEleven.cpp | 12 class Moveable { class 14 Moveable() {} in Moveable() function in __anon44e9348a0111::Moveable 15 Moveable(Moveable&&) {} in Moveable() function in __anon44e9348a0111::Moveable 16 Moveable& operator=(Moveable&&) { return *this; } in operator =() argument 18 Moveable(const Moveable&); 19 Moveable& operator=(const Moveable&); 23 void operator()(T* t) { delete static_cast<const Moveable*>(t); } in operator ()() 28 Moveable src1; Moveable dst1(std::move(src1)); in DEF_TEST() 29 Moveable src2, dst2; dst2 = std::move(src2); in DEF_TEST() 37 Moveable* p; in DEF_TEST() [all …]
|
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/ |
D | insert_or_assign.pass.cpp | 30 class Moveable class 32 Moveable(const Moveable&); 33 Moveable& operator=(const Moveable&); 38 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable 39 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable 40 Moveable(Moveable&& x) in Moveable() function in Moveable 43 Moveable& operator=(Moveable&& x) in operator =() 49 bool operator==(const Moveable& x) const in operator ==() 51 bool operator<(const Moveable& x) const in operator <() 60 template <> struct hash<Moveable> { [all …]
|
D | try.emplace.pass.cpp | 30 class Moveable class 32 Moveable(const Moveable&); 33 Moveable& operator=(const Moveable&); 38 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable 39 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable 40 Moveable(Moveable&& x) in Moveable() function in Moveable 43 Moveable& operator=(Moveable&& x) in operator =() 49 bool operator==(const Moveable& x) const in operator ==() 51 bool operator<(const Moveable& x) const in operator <() 60 template <> struct hash<Moveable> { [all …]
|
/external/libcxx/test/std/containers/associative/map/map.modifiers/ |
D | insert_or_assign.pass.cpp | 32 class Moveable class 34 Moveable(const Moveable&); 35 Moveable& operator=(const Moveable&); 40 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable 41 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable 42 Moveable(Moveable&& x) in Moveable() function in Moveable 45 Moveable& operator=(Moveable&& x) in operator =() 51 bool operator==(const Moveable& x) const in operator ==() 53 bool operator<(const Moveable& x) const in operator <() 67 typedef std::map<int, Moveable> M; in main() [all …]
|
D | try.emplace.pass.cpp | 30 class Moveable class 32 Moveable(const Moveable&); 33 Moveable& operator=(const Moveable&); 38 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable 39 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable 40 Moveable(Moveable&& x) in Moveable() function in Moveable 43 Moveable& operator=(Moveable&& x) in operator =() 49 bool operator==(const Moveable& x) const in operator ==() 51 bool operator<(const Moveable& x) const in operator <() 65 typedef std::map<int, Moveable> M; in main() [all …]
|
/external/clang/test/CXX/special/class.copy/ |
D | p11.0x.move.cpp | 153 struct Moveable { struct 154 Moveable(); 155 Moveable(Moveable&&); 159 Moveable M;
|