Searched refs:CopyCounter (Results 1 – 6 of 6) sorted by relevance
/external/skqp/tests/ |
D | HashTest.cpp | 111 class CopyCounter { class 113 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter() function in __anon236b341d0311::CopyCounter 115 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter() function in __anon236b341d0311::CopyCounter 117 CopyCounter(const CopyCounter& other) in CopyCounter() function in __anon236b341d0311::CopyCounter 124 void operator=(const CopyCounter& other) { in operator =() 130 CopyCounter(CopyCounter&& other) { *this = std::move(other); } in CopyCounter() function in __anon236b341d0311::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/llvm-project/llvm/unittests/ADT/ |
D | FunctionExtrasTest.cpp | 133 struct CopyCounter { in TEST() struct 136 CopyCounter(int &CopyCount) : CopyCount(CopyCount) {} in TEST() argument 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/skia/tests/ |
D | HashTest.cpp | 192 class CopyCounter { class 194 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter() function in __anona4b7a8660311::CopyCounter 196 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter() function in __anona4b7a8660311::CopyCounter 198 CopyCounter(const CopyCounter& other) in CopyCounter() function in __anona4b7a8660311::CopyCounter 205 void operator=(const CopyCounter& other) { in operator =() 211 CopyCounter(CopyCounter&& other) { *this = std::move(other); } in CopyCounter() function in __anona4b7a8660311::CopyCounter 212 void operator=(CopyCounter&& other) { in operator =() 218 bool operator==(const CopyCounter& other) const { in operator ==() 228 uint32_t operator()(const CopyCounter&) const { in operator ()() 236 SkTHashSet<CopyCounter, HashCopyCounter> set; in DEF_TEST() [all …]
|
/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/llvm-project/clang/test/SemaCXX/ |
D | new-delete.cpp | 538 struct CopyCounter struct 540 CopyCounter(); 541 CopyCounter(const CopyCounter&); 546 …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::__anond5474c560111::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::__anond5474c560111::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 …]
|