• Home
  • Raw
  • Download

Lines Matching refs:yoff

208         YOffset* yoff = head->yoffsets();  in AllocRect()  local
209 yoff->fY = bounds.height() - 1; in AllocRect()
210 yoff->fOffset = 0; in AllocRect()
898 const YOffset* yoff = head->yoffsets(); in validate() local
899 const YOffset* ystop = yoff + head->fRowCount; in validate()
905 while (yoff < ystop) { in validate()
906 SkASSERT(prevY < yoff->fY); in validate()
907 SkASSERT(yoff->fY <= lastY); in validate()
908 prevY = yoff->fY; in validate()
909 SkASSERT(prevOffset < (int32_t)yoff->fOffset); in validate()
910 prevOffset = yoff->fOffset; in validate()
911 const uint8_t* row = head->data() + yoff->fOffset; in validate()
913 SkASSERT(yoff->fOffset + rowLength <= head->fDataSize); in validate()
914 yoff += 1; in validate()
917 --yoff; in validate()
918 SkASSERT(yoff->fY == lastY); in validate()
1058 YOffset* yoff = head->yoffsets(); in trimLeftRight() local
1059 YOffset* stop = yoff + head->fRowCount; in trimLeftRight()
1067 while (yoff < stop) { in trimLeftRight()
1069 count_left_right_zeros(base + yoff->fOffset, width, &L, &R); in trimLeftRight()
1081 yoff += 1; in trimLeftRight()
1099 yoff = head->yoffsets(); in trimLeftRight()
1100 while (yoff < stop) { in trimLeftRight()
1101 uint8_t* row = base + yoff->fOffset; in trimLeftRight()
1103 yoff->fOffset += trim_row_left_right(row, width, leftZeros, riteZeros); in trimLeftRight()
1104 SkDEBUGCODE((void)compute_row_length(base + yoff->fOffset, width - leftZeros - riteZeros);) in trimLeftRight()
1105 yoff += 1; in trimLeftRight()
1134 YOffset* yoff = head->yoffsets(); in trimTopBottom() local
1135 YOffset* stop = yoff + head->fRowCount; in trimTopBottom()
1141 while (yoff < stop) { in trimTopBottom()
1142 const uint8_t* data = base + yoff->fOffset; in trimTopBottom()
1147 yoff += 1; in trimTopBottom()
1156 yoff = head->yoffsets(); in trimTopBottom()
1157 int dy = yoff[skip - 1].fY + 1; in trimTopBottom()
1159 SkASSERT(yoff[i].fY >= dy); in trimTopBottom()
1160 yoff[i].fY -= dy; in trimTopBottom()
1180 stop = yoff = head->yoffsets() + head->fRowCount; in trimTopBottom()
1182 yoff -= 1; in trimTopBottom()
1183 } while (row_is_all_zeros(base + yoff->fOffset, width)); in trimTopBottom()
1184 skip = SkToInt(stop - yoff - 1); in trimTopBottom()
1191 fBounds.fBottom = fBounds.fTop + yoff->fY + 1; in trimTopBottom()
1214 const YOffset* yoff = head->yoffsets(); in trimBounds() local
1217 const YOffset& lastY = yoff[head->fRowCount - 1]; in trimBounds()
1288 const YOffset* yoff = head->yoffsets(); in isRect() local
1289 if (yoff->fY != fBounds.fBottom - 1) { in isRect()
1293 const uint8_t* row = head->data() + yoff->fOffset; in isRect()
1554 const YOffset* yoff = fRunHead->yoffsets(); in findRow() local
1555 while (yoff->fY < y) { in findRow()
1556 yoff += 1; in findRow()
1557 SkASSERT(yoff - fRunHead->yoffsets() < fRunHead->fRowCount); in findRow()
1561 *lastYForRow = fBounds.y() + yoff->fY; in findRow()
1563 return fRunHead->data() + yoff->fOffset; in findRow()