Lines Matching refs:mStorage
61 mStorage.add(Rect(0,0)); in Region()
65 : mStorage(rhs.mStorage) in Region()
73 mStorage.add(rhs); in Region()
200 outputRegion.mStorage, direction_LTR); in createTJunctionFreeRegion()
201 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds in createTJunctionFreeRegion()
216 mStorage = rhs.mStorage; in operator =()
222 if (mStorage.size() >= 2) { in makeBoundsSelf()
224 mStorage.clear(); in makeBoundsSelf()
225 mStorage.add(bounds); in makeBoundsSelf()
248 mStorage.clear(); in clear()
249 mStorage.add(Rect(0,0)); in clear()
254 mStorage.clear(); in set()
255 mStorage.add(r); in set()
260 mStorage.clear(); in set()
261 mStorage.add(Rect(w, h)); in set()
266 mStorage.clear(); in set()
267 mStorage.add(Rect(w, h)); in set()
279 size_t where = mStorage.size() - 1; in addRectUnchecked()
280 mStorage.insertAt(rect, where, 1); in addRectUnchecked()
428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
516 if (reg.mStorage.isEmpty()) { in validate()
581 if (reg.mStorage.size() == 2) { in validate()
749 size_t count = reg.mStorage.size(); in translate()
750 Rect* rects = reg.mStorage.editArray(); in translate()
771 return sizeof(uint32_t) + mStorage.size() * sizeof(Rect); in getFlattenedSize()
783 FlattenableUtils::write(buffer, size, static_cast<uint32_t>(mStorage.size())); in flatten()
784 for (auto rect : mStorage) { in flatten()
811 result.mStorage.clear(); in unflatten()
819 result.mStorage.push_back(rect); in unflatten()
830 mStorage = result.mStorage; in unflatten()
837 return mStorage.array(); in begin()
844 if (mStorage.isEmpty()) return mStorage.array(); in end()
846 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end()
847 return mStorage.array() + numRects; in end()