Lines Matching refs:fPendingWrites
82 SkASSERT(fPendingWrites >= 0); in validate()
83 SkASSERT(fRefCnt + fPendingReads + fPendingWrites >= 0); in validate()
88 GrIORef() : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { } in GrIORef()
97 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); } in internalHasPendingWrite()
98 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); } in internalHasPendingIO()
115 if (fPendingReads == 1 && !fPendingWrites && !fRefCnt) { in completedRead()
124 ++fPendingWrites; in addPendingWrite()
129 if (fPendingWrites == 1 && !fPendingReads && !fRefCnt) { in completedWrite()
132 --fPendingWrites; in completedWrite()
137 if (0 == fPendingReads && 0 == fPendingWrites && 0 == fRefCnt) { in didRemoveRefOrPendingIO()
144 mutable int32_t fPendingWrites; variable