Lines Matching refs:index
1111 for (int index = 0; index < oppRayI.used(); ++index) {
1112 if (!roughly_between(span->fStartT, oppRayI[0][index], span->fEndT)) {
1119 double distSq = thisRayI.pt(index).distanceSquared(oppRayI.pt(oIndex));
1122 closeIndex = index;
1741 for (int index = 0; index < fUsed; ++index) {
1742 SkClosestRecord* test = &fClosest[index];
1760 for (int index = 0; index < fUsed; ++index) {
1761 closestPtrs.push_back(&fClosest[index]);
1764 for (int index = 0; index < fUsed; ++index) {
1765 const SkClosestRecord* test = closestPtrs[index];
1941 int index = intersections->insertCoincident(coincident->fStartT,
1945 coincident->pointLast()) < 0) && index >= 0) {
1946 intersections->clearCoincidence(index);
2056 for (int index = 0; index < last; ) {
2057 if (intersections->isCoincident(index) && intersections->isCoincident(index + 1)) {
2058 ++index;
2061 double midT = ((*intersections)[0][index] + (*intersections)[0][index + 1]) / 2;
2067 ++index;
2070 if (intersections->isCoincident(index)) {
2071 intersections->removeOne(index);
2073 } else if (intersections->isCoincident(index + 1)) {
2074 intersections->removeOne(index + 1);
2077 intersections->setCoincident(index++);
2079 intersections->setCoincident(index);