Lines Matching refs:fCount
18 GrWindowRectangles() : fCount(0) {} in GrWindowRectangles()
19 GrWindowRectangles(const GrWindowRectangles& that) : fCount(0) { *this = that; } in GrWindowRectangles()
24 bool empty() const { return !fCount; } in empty()
25 int count() const { return fCount; } in count()
41 const Rec* rec() const { return fCount <= kNumLocalWindows ? nullptr : fRec; } in rec()
43 int fCount; variable
61 return fCount <= kNumLocalWindows ? fLocalWindows : fRec->fData; in data()
66 fCount = 0; in reset()
71 fCount = that.fCount;
72 if (fCount <= kNumLocalWindows) {
73 memcpy(fLocalWindows, that.fLocalWindows, fCount * sizeof(SkIRect));
85 result.fCount = fCount; in makeOffset()
87 if (result.fCount > kNumLocalWindows) { in makeOffset()
93 for (int i = 0; i < fCount; ++i) { in makeOffset()
100 SkASSERT(fCount < kMaxWindows); in addWindow()
101 if (fCount < kNumLocalWindows) { in addWindow()
102 return fLocalWindows[fCount++]; in addWindow()
104 if (fCount == kNumLocalWindows) { in addWindow()
108 fRec = new Rec(fRec->fData, fCount); in addWindow()
110 return fRec->fData[fCount++]; in addWindow()
114 if (fCount != that.fCount) {
117 if (fCount > kNumLocalWindows && fRec == that.fRec) {
120 return !fCount || !memcmp(this->data(), that.data(), sizeof(SkIRect) * fCount);