Lines Matching refs:CopyCounter
111 class CopyCounter {
113 CopyCounter() : fID(0), fCounter(nullptr) {}
115 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {}
117 CopyCounter(const CopyCounter& other)
124 void operator=(const CopyCounter& other) {
130 CopyCounter(CopyCounter&& other) { *this = std::move(other); }
131 void operator=(CopyCounter&& other) {
137 bool operator==(const CopyCounter& other) const {
147 uint32_t operator()(const CopyCounter&) const {
155 SkTHashSet<CopyCounter, HashCopyCounter> set;
158 CopyCounter copyCounter1(1, &globalCounter);
159 CopyCounter copyCounter2(2, &globalCounter);