Searched refs:fUsageRefCnt (Results 1 – 2 of 2) sorted by relevance
40 (void)fUsageRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()50 if (1 == fUsageRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()134 SkASSERT(fUsageRefCnt >= 0); in initialUsageRef()136 (void)fUsageRefCnt.fetch_add(+1, std::memory_order_relaxed); in initialUsageRef()184 if (0 == fUsageRefCnt.load(std::memory_order_acquire)) { in hasUsageRef()233 mutable std::atomic<int32_t> fUsageRefCnt; variable
18 , fUsageRefCnt(1) in Resource()