Lines Matching refs:fPtr
152 AlphaIter(const uint8_t* ptr, int offset) : fPtr(ptr), fOffset(7 - offset) {}
153 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr), fOffset(that.fOffset) {}
158 ++fPtr;
167 --fPtr;
173 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
176 uint8_t operator*() const { return ((*fPtr) >> fOffset) & 1 ? 0xFF : 0; }
178 return fPtr < that.fPtr || (fPtr == that.fPtr && fOffset > that.fOffset);
180 const uint8_t* fPtr;
185 AlphaIter(const uint8_t* ptr) : fPtr(ptr) {}
186 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
187 AlphaIter& operator++() { ++fPtr; return *this; }
188 AlphaIter& operator--() { --fPtr; return *this; }
190 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
193 uint8_t operator*() const { return *fPtr; }
194 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
195 const uint8_t* fPtr;
199 AlphaIter(const uint32_t* ptr) : fPtr(ptr) {}
200 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
201 AlphaIter& operator++() { ++fPtr; return *this; }
202 AlphaIter& operator--() { --fPtr; return *this; }
204 fPtr = SkTAddOffset<const uint32_t>(fPtr, rb);
207 uint8_t operator*() const { return SkGetPackedA32(*fPtr); }
208 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
209 const uint32_t* fPtr;
213 AlphaIter(const uint16_t* ptr) : fPtr(ptr) {}
214 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
215 AlphaIter& operator++() { ++fPtr; return *this; }
216 AlphaIter& operator--() { --fPtr; return *this; }
218 fPtr = SkTAddOffset<const uint16_t>(fPtr, rb);
222 unsigned packed = *fPtr;
228 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
229 const uint16_t* fPtr;