Lines Matching defs:index1
110 int index0, index1;
114 index1 = 1;
117 index1 = 0;
127 if (tmp[index1].fY > clip.fBottom) {
128 tmp[index1].set(sect_with_horizontal(src, clip.fBottom), clip.fBottom);
133 index1 = 1;
136 index1 = 0;
140 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight)) {
151 if (tmp[index1].fX > clip.fRight) {
152 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight));
177 int index0, index1;
181 index1 = 1;
184 index1 = 0;
189 if (pts[index1].fY <= clip.fTop) { // we're above the clip
206 if (tmp[index1].fY > clip.fBottom) {
207 tmp[index1].set(sect_with_horizontal(pts, clip.fBottom), clip.fBottom);
208 SkASSERT(is_between_unsorted(tmp[index1].fX, pts[0].fX, pts[1].fX));
221 index1 = 1;
225 index1 = 0;
229 if (tmp[index1].fX <= clip.fLeft) { // wholly to the left
254 if (tmp[index1].fX > clip.fRight) {
258 r->set(clip.fRight, tmp[index1].fY);
260 *r = tmp[index1];