Lines Matching defs:CopyCounter
193 class CopyCounter {
195 CopyCounter() : fID(0), fCounter(nullptr) {}
197 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {}
199 CopyCounter(const CopyCounter& other)
206 void operator=(const CopyCounter& other) {
212 CopyCounter(CopyCounter&& other) { *this = std::move(other); }
213 void operator=(CopyCounter&& other) {
219 bool operator==(const CopyCounter& other) const {
229 uint32_t operator()(const CopyCounter&) const {
237 SkTHashSet<CopyCounter, HashCopyCounter> set;
240 CopyCounter copyCounter1(1, &globalCounter);
241 CopyCounter copyCounter2(2, &globalCounter);