Lines Matching refs:index1
107 int index0, index1;
111 index1 = 1;
114 index1 = 0;
124 if (tmp[index1].fY > clip.fBottom) {
125 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom);
130 index1 = 1;
133 index1 = 0;
137 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
138 tmp[index0].fX < tmp[index1].fX) {
146 if (tmp[index1].fX > clip.fRight) {
147 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight));
201 int index0, index1;
205 index1 = 1;
208 index1 = 0;
213 if (pts[index1].fY <= clip.fTop) { // we're above the clip
230 if (tmp[index1].fY > clip.fBottom) {
231 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom);
232 SkASSERT(is_between_unsorted(tmp[index1].fX, pts[0].fX, pts[1].fX));
245 index1 = 1;
249 index1 = 0;
253 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left
275 if (tmp[index1].fX > clip.fRight) {
279 r->set(clip.fRight, tmp[index1].fY);
281 *r = tmp[index1];