Lines Matching defs:index1
97 int index0, index1;
101 index1 = 1;
104 index1 = 0;
114 if (tmp[index1].fY > clip.fBottom) {
115 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom);
120 index1 = 1;
123 index1 = 0;
127 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) &&
128 tmp[index0].fX < tmp[index1].fX) {
136 if (tmp[index1].fX > clip.fRight) {
137 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight));
188 int index0, index1;
192 index1 = 1;
195 index1 = 0;
200 if (pts[index1].fY <= clip.fTop) { // we're above the clip
217 if (tmp[index1].fY > clip.fBottom) {
218 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom);
219 SkASSERT(is_between_unsorted(tmp[index1].fX, pts[0].fX, pts[1].fX));
232 index1 = 1;
236 index1 = 0;
240 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left
265 if (tmp[index1].fX > clip.fRight) {
269 r->set(clip.fRight, tmp[index1].fY);
271 *r = tmp[index1];