Lines Matching refs:index0
107 int index0, index1;
110 index0 = 0;
113 index0 = 1;
121 if (tmp[index0].fY < clip.fTop) {
122 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop);
129 index0 = 0;
132 index0 = 1;
137 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
138 tmp[index0].fX < tmp[index1].fX) {
143 if (tmp[index0].fX < clip.fLeft) {
144 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft));
201 int index0, index1;
204 index0 = 0;
207 index0 = 1;
216 if (pts[index0].fY >= clip.fBottom) { // we're below the clip
226 if (pts[index0].fY < clip.fTop) {
227 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop);
228 SkASSERT(is_between_unsorted(tmp[index0].fX, pts[0].fX, pts[1].fX));
244 index0 = 0;
248 index0 = 1;
257 } else if (tmp[index0].fX >= clip.fRight) { // wholly to the right
265 if (tmp[index0].fX < clip.fLeft) {
266 r->set(clip.fLeft, tmp[index0].fY);
271 *r = tmp[index0];