Lines Matching refs:SkASSERT
95 SkASSERT(!bounds.isEmpty()); in AllocRect()
156 SkASSERT(curr <= fStopYOff); in next()
177 SkASSERT(n > 0); in compute_row_length()
178 SkASSERT(n <= width); in compute_row_length()
182 SkASSERT(0 == width); in compute_row_length()
188 SkASSERT(fBounds.isEmpty()); in validate()
193 SkASSERT(head->fRefCnt > 0); in validate()
194 SkASSERT(head->fRowCount > 0); in validate()
195 SkASSERT(head->fDataSize > 0); in validate()
205 SkASSERT(prevY < yoff->fY); in validate()
206 SkASSERT(yoff->fY <= lastY); in validate()
208 SkASSERT(prevOffset < (int32_t)yoff->fOffset); in validate()
212 SkASSERT(yoff->fOffset + rowLength <= (size_t) head->fDataSize); in validate()
217 SkASSERT(yoff->fY == lastY); in validate()
231 SkASSERT(n > 0); in count_left_right_zeros()
232 SkASSERT(n <= width); in count_left_right_zeros()
242 SkASSERT(n > 0); in count_left_right_zeros()
280 SkASSERT(expectedL == L); in test_count_left_right_zeros()
281 SkASSERT(expectedR == R); in test_count_left_right_zeros()
291 SkASSERT(0 == row[1]); in trim_row_left_right()
293 SkASSERT(n > 0); in trim_row_left_right()
294 SkASSERT(n <= width); in trim_row_left_right()
303 SkASSERT(leftZ >= 0); in trim_row_left_right()
310 SkASSERT(n <= width); in trim_row_left_right()
317 SkASSERT(0 == row[1]); in trim_row_left_right()
319 SkASSERT(n > 0); in trim_row_left_right()
325 SkASSERT(riteZ >= 0); in trim_row_left_right()
337 SkASSERT(n > 0); in assert_row_width()
338 SkASSERT(n <= width); in assert_row_width()
342 SkASSERT(0 == width); in assert_row_width()
378 SkASSERT(expectedSkip == skip); in test_trim_row_left_right()
418 SkASSERT(leftZeros || riteZeros); in trimLeftRight()
427 SkASSERT(!fBounds.isEmpty()); in trimLeftRight()
444 SkASSERT(width > 0); in row_is_all_zeros()
450 SkASSERT(n <= width); in row_is_all_zeros()
454 SkASSERT(0 == width); in row_is_all_zeros()
482 SkASSERT(skip <= head->fRowCount); in trimTopBottom()
492 SkASSERT(yoff[i].fY >= dy); in trimTopBottom()
500 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
502 SkASSERT(head->fRowCount > 0); in trimTopBottom()
518 SkASSERT(skip >= 0 && skip < head->fRowCount); in trimTopBottom()
525 SkASSERT(!fBounds.isEmpty()); in trimTopBottom()
527 SkASSERT(head->fRowCount > 0); in trimTopBottom()
549 SkASSERT(head->fRowCount > 0); in trimBounds()
551 SkASSERT(lastY.fY + 1 <= fBounds.height()); in trimBounds()
553 SkASSERT(lastY.fY + 1 == fBounds.height()); in trimBounds()
554 SkASSERT(!fBounds.isEmpty()); in trimBounds()
563 SkASSERT(fRunHead->fRefCnt >= 1); in freeRuns()
666 SkASSERT(!this->isEmpty()); in setRect()
686 SkASSERT(count >= 0); in append_run()
733 SkASSERT(bounds.contains(r)); in setRegion()
736 SkASSERT(bot >= prevBot); in setRegion()
764 SkASSERT(prevRight <= bounds.width()); in setRegion()
785 SkASSERT(fRunHead); in findRow()
795 SkASSERT(yoff - fRunHead->yoffsets() < fRunHead->fRowCount); in findRow()
805 SkASSERT(x_in_rect(x, fBounds)); in findX()
893 SkASSERT(count > 0); in addRun()
894 SkASSERT(fBounds.contains(x, y)); in addRun()
895 SkASSERT(fBounds.contains(x + count - 1, y)); in addRun()
902 SkASSERT(y > fPrevY); in addRun()
907 SkASSERT(row->fData); in addRun()
908 SkASSERT(0 == row->fData->count()); in addRun()
912 SkASSERT(row->fWidth <= x); in addRun()
913 SkASSERT(row->fWidth < fBounds.width()); in addRun()
921 SkASSERT(row->fWidth < fBounds.width()); in addRun()
926 SkASSERT(row->fWidth <= fBounds.width()); in addRun()
930 SkASSERT(fBounds.contains(x, y + height - 1)); in addColumn()
935 SkASSERT(y == fCurrRow->fY); in addColumn()
940 SkASSERT(fBounds.contains(x + width - 1, y + height - 1)); in addRectRun()
948 SkASSERT(y == fCurrRow->fY); in addRectRun()
954 SkASSERT(fBounds.contains(x + width - 1 + in addAntiRectRun()
957 SkASSERT(width >= 0); in addAntiRectRun()
981 SkASSERT(y == fCurrRow->fY); in addAntiRectRun()
1001 SkASSERT(fMinY >= fBounds.fTop); in finish()
1002 SkASSERT(fMinY < fBounds.fBottom); in finish()
1014 SkASSERT(prevY < row->fY); // must be monotonic in finish()
1025 SkASSERT(bytesNeeded == n); in finish()
1046 SkASSERT(!(count & 1)); in dump()
1061 SkASSERT(prevY < row.fY); in validate()
1062 SkASSERT(fWidth == row.fWidth); in validate()
1065 SkASSERT(!(count & 1)); in validate()
1069 SkASSERT(n > 0); in validate()
1071 SkASSERT(w <= fWidth); in validate()
1074 SkASSERT(w == fWidth); in validate()
1104 SkASSERT(prev->fWidth == fWidth); in flushRow()
1105 SkASSERT(curr->fWidth == fWidth); in flushRow()
1154 SkASSERT(y >= fLastY); in checkForYGap()
1237 SkASSERT(0 == *alpha); in blitAntiH()
1239 SkASSERT(gap <= count); in blitAntiH()
1245 SkASSERT(0 == *alpha); in blitAntiH()
1247 SkASSERT(localCount >= 0); in blitAntiH()
1390 SkASSERT(fRight <= fBoundsRight); in RowIter()
1415 SkASSERT(fRight <= fBoundsRight); in next()
1438 SkASSERT(min < max); in intersect()
1439 SkASSERT(boundsMin < boundsMax); in intersect()
1498 SkASSERT(rite > left); in operatorX()
1516 SkASSERT(botA == iter.top()); in adjust_iter()
1529 SkASSERT(!iterA.done()); in operateY()
1532 SkASSERT(!iterB.done()); in operateY()
1572 SkASSERT(top < bot); in operateY()
1577 SkASSERT(bot <= bounds.fBottom); in operateY()
1643 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1644 SkASSERT(SkIRect::Intersects(bounds, clipB->fBounds)); in op()
1750 SkASSERT(width >= n); in expand_row_to_mask()
1756 SkASSERT(0 == width); in expand_row_to_mask()
1799 SkASSERT(n > 0); in expandToRuns()
1834 SkASSERT(width > 0); in blitH()
1835 SkASSERT(fAAClipBounds.contains(x, y)); in blitH()
1836 SkASSERT(fAAClipBounds.contains(x + width - 1, y)); in blitH()
1874 SkASSERT(rowN > 0); in merge()
1875 SkASSERT(srcN > 0); in merge()
1899 SkASSERT(accumulated <= width); in merge()
1938 SkASSERT(height >= 0); in blitV()
1996 SkASSERT(rowN > 0); in mergeT()
1997 SkASSERT(srcN > 0); in mergeT()
2018 SkASSERT(rowN == n); in mergeT()
2049 SkASSERT(bitInAByte <= 0xFF); in bit2byte()
2056 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2057 SkASSERT(SkMask::kA8_Format == dstMask->fFormat); in upscaleBW2A8()
2097 SkASSERT(fAAClip->getBounds().contains(clip)); in blitMask()