Searched refs:SkInstCount (Results 1 – 1 of 1) sorted by relevance
39 SkInstCount<T, T::InstCountClassName> fInstCnt; \40 static int32_t GetInstanceCount() { return SkInstCount<T, InstCountClassName>::Count(); }45 class SkInstCount {47 SkInstCount() { Inc(); } in SkInstCount() function48 SkInstCount(const SkInstCount&) { Inc(); } in SkInstCount() function49 ~SkInstCount() { sk_atomic_dec(&gCount); } in ~SkInstCount()51 SkInstCount& operator==(const SkInstCount&) { return *this; } // == can't change the count.74 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gCount = 0;75 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gRegistered = 0;