Searched refs:CopyCounter (Results 1 – 5 of 5) sorted by relevance
/external/skia/tests/ |
D | HashTest.cpp | 111 class CopyCounter { class 113 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter() function in __anon970392c80311::CopyCounter 115 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter() function in __anon970392c80311::CopyCounter 117 CopyCounter(const CopyCounter& other) in CopyCounter() function in __anon970392c80311::CopyCounter 124 void operator=(const CopyCounter& other) { in operator =() 130 CopyCounter(CopyCounter&& other) { *this = std::move(other); } in CopyCounter() function in __anon970392c80311::CopyCounter 131 void operator=(CopyCounter&& other) { in operator =() 137 bool operator==(const CopyCounter& other) const { in operator ==() 147 uint32_t operator()(const CopyCounter&) const { in operator ()() 155 SkTHashSet<CopyCounter, HashCopyCounter> set; in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | HashTest.cpp | 111 class CopyCounter { class 113 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter() function in __anon15b71e7f0311::CopyCounter 115 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter() function in __anon15b71e7f0311::CopyCounter 117 CopyCounter(const CopyCounter& other) in CopyCounter() function in __anon15b71e7f0311::CopyCounter 124 void operator=(const CopyCounter& other) { in operator =() 130 CopyCounter(CopyCounter&& other) { *this = std::move(other); } in CopyCounter() function in __anon15b71e7f0311::CopyCounter 131 void operator=(CopyCounter&& other) { in operator =() 137 bool operator==(const CopyCounter& other) const { in operator ==() 147 uint32_t operator()(const CopyCounter&) const { in operator ()() 155 SkTHashSet<CopyCounter, HashCopyCounter> set; in DEF_TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | FunctionExtrasTest.cpp | 133 struct CopyCounter { in TEST() struct 136 CopyCounter(int &CopyCount) : CopyCount(CopyCount) {} in TEST() function 137 CopyCounter(const CopyCounter &Arg) : CopyCount(Arg.CopyCount) { in TEST() function 142 unique_function<void(CopyCounter)> ByValF = [](CopyCounter) {}; in TEST() argument 144 ByValF(CopyCounter(CopyCount)); in TEST() 149 CopyCounter Counter{CopyCount}; in TEST() 156 unique_function<void(const CopyCounter &)> ByRefF = [](const CopyCounter &) { in TEST() argument 159 ByRefF(CopyCounter(CopyCount)); in TEST() 164 CopyCounter Counter{CopyCount}; in TEST()
|
/external/clang/test/SemaCXX/ |
D | new-delete.cpp | 457 struct CopyCounter struct 459 CopyCounter(); 460 CopyCounter(const CopyCounter&); 465 …CopyCounter* f = new CopyCounter[10](CopyCounter()); // expected-error {{cannot have initializatio… in main()
|
/external/libchrome/base/ |
D | bind_unittest.cc | 202 class CopyCounter { class 204 CopyCounter(int* copies, int* assigns) in CopyCounter() function in base::__anon398078b80111::CopyCounter 206 CopyCounter(const CopyCounter& other) = default; 207 CopyCounter& operator=(const CopyCounter& other) = default; 209 explicit CopyCounter(const DerivedCopyMoveCounter& other) : counter_(other) {} in CopyCounter() function in base::__anon398078b80111::CopyCounter 1098 CopyCounter counter(&copies, &assigns); in TEST_F() 1099 Bind(&VoidPolymorphic<CopyCounter>::Run, counter); in TEST_F() 1105 Bind(&VoidPolymorphic<CopyCounter>::Run, CopyCounter(&copies, &assigns)); in TEST_F() 1111 Bind(&VoidPolymorphic<CopyCounter>::Run).Run(counter); in TEST_F() 1117 Bind(&VoidPolymorphic<CopyCounter>::Run).Run(CopyCounter(&copies, &assigns)); in TEST_F() [all …]
|