Lines Matching refs:fPtr
150 AlphaIter(const uint8_t* ptr, int offset) : fPtr(ptr), fOffset(7 - offset) {}
151 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr), fOffset(that.fOffset) {}
156 ++fPtr;
165 --fPtr;
171 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
174 uint8_t operator*() const { return ((*fPtr) >> fOffset) & 1 ? 0xFF : 0; }
176 return fPtr < that.fPtr || (fPtr == that.fPtr && fOffset > that.fOffset);
178 const uint8_t* fPtr;
183 AlphaIter(const uint8_t* ptr) : fPtr(ptr) {}
184 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
185 AlphaIter& operator++() { ++fPtr; return *this; }
186 AlphaIter& operator--() { --fPtr; return *this; }
188 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
191 uint8_t operator*() const { return *fPtr; }
192 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
193 const uint8_t* fPtr;
197 AlphaIter(const uint32_t* ptr) : fPtr(ptr) {}
198 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
199 AlphaIter& operator++() { ++fPtr; return *this; }
200 AlphaIter& operator--() { --fPtr; return *this; }
202 fPtr = SkTAddOffset<const uint32_t>(fPtr, rb);
205 uint8_t operator*() const { return SkGetPackedA32(*fPtr); }
206 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
207 const uint32_t* fPtr;
211 AlphaIter(const uint16_t* ptr) : fPtr(ptr) {}
212 AlphaIter(const AlphaIter& that) : fPtr(that.fPtr) {}
213 AlphaIter& operator++() { ++fPtr; return *this; }
214 AlphaIter& operator--() { --fPtr; return *this; }
216 fPtr = SkTAddOffset<const uint16_t>(fPtr, rb);
220 unsigned packed = *fPtr;
226 bool operator<(const AlphaIter& that) const { return fPtr < that.fPtr; }
227 const uint16_t* fPtr;