Searched refs:sk_atomic_dec (Results 1 – 14 of 14) sorted by relevance
115 if (sk_atomic_dec(&fWeakCnt) == 1) { in weak_unref()
157 inline int32_t sk_atomic_dec(int32_t* ptr) { return sk_atomic_fetch_add(ptr, -1); } in sk_atomic_dec() function
63 sk_atomic_dec(&gCounter); in FakeDeleteTLS()
39 int n = sk_atomic_dec(&gTLSRecCount); in ~SkTLSRec()
22 int32_t oldCount = sk_atomic_dec(&gCachedDataCounter); in dec()
290 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in ~SkString()343 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in reset()357 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in writable_str()
32 sk_atomic_dec(&fRefCount); in releaseRef()
112 if (sk_atomic_dec(&fRefCnt) == 1) { in ensureWritable()
67 SkDebugf("~pixelref %d\n", sk_atomic_dec(&gInstCounter) - 1); in ~SkPixelRef()
35 int32_t prev = sk_atomic_dec(&gShaderCounter); in dec_shader_counter()
94 if (sk_atomic_dec(&fRunHead->fRefCnt) == 1) { in freeRuns()
243 if (fPixelRef && 1 == sk_atomic_dec(&fPixelLockCount)) { in unlockPixels()
620 if (1 == sk_atomic_dec(&fRunHead->fRefCnt)) { in freeRuns()
46 ~Editor() { SkDEBUGCODE(sk_atomic_dec(&fPathRef->fEditorsAttached);) } in ~Editor()