Lines Matching refs:fRefCnt
201 rec->fRefCnt = 1;
212 sk_atomic_inc(&src->fRefCnt);
221 SkASSERT(0 == gEmptyRec.fRefCnt);
226 SkASSERT(fRec->fRefCnt > 0);
279 SkASSERT(fRec->fRefCnt > 0);
280 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
323 SkASSERT(fRec->fRefCnt > 0);
324 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
339 if (fRec->fRefCnt > 1) {
341 if (sk_atomic_dec(&fRec->fRefCnt) == 1) {
363 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) {
372 } else if (1 == fRec->fRefCnt && (fRec->fLength >> 2) == (len >> 2)) {
440 if (1 == fRec->fRefCnt && (length >> 2) == ((length + len) >> 2)) {