Lines Matching refs:fRefCnt
234 rec->fRefCnt = 1; in AllocRec()
245 sk_atomic_inc(&src->fRefCnt); in RefRec()
254 SkASSERT(0 == gEmptyRec.fRefCnt); in validate()
259 SkASSERT(fRec->fRefCnt > 0); in validate()
301 SkASSERT(fRec->fRefCnt > 0); in ~SkString()
302 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in ~SkString()
354 SkASSERT(fRec->fRefCnt > 0); in reset()
355 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in reset()
367 if (fRec->fRefCnt > 1) { in writable_str()
369 if (sk_atomic_dec(&fRec->fRefCnt) == 1) { in writable_str()
390 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) { in set()
399 } else if (1 == fRec->fRefCnt && (fRec->fLength >> 2) == (len >> 2)) { in set()
475 if (1 == fRec->fRefCnt && (length >> 2) == ((length + len) >> 2)) { in insert()