Searched refs:newRefCount (Results 1 – 2 of 2) sorted by relevance
112 SkDEBUGCODE(int newRefCount = )fRefCnt.fetch_add(+1, std::memory_order_relaxed); in ref()113 SkASSERT(newRefCount >= 1); in ref()124 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unref() local125 SkASSERT(newRefCount >= 0); in unref()126 if (newRefCount == 1) { in unref()137 int newRefCount = fRefCnt.fetch_add(-1, std::memory_order_acq_rel); in unrefAndAbandon() local138 SkASSERT(newRefCount >= 0); in unrefAndAbandon()139 if (newRefCount == 1) { in unrefAndAbandon()