Lines Matching refs:rIndex
241 int rIndex, iIndex; in Assemble() local
242 for (rIndex = 0; rIndex < count; ++rIndex) { in Assemble()
243 sLink[rIndex] = eLink[rIndex] = SK_MaxS32; in Assemble()
249 for (rIndex = 0; rIndex < ends - 1; ++rIndex) { in Assemble()
250 const SkOpContour* oContour = runs[rIndex >> 1]; in Assemble()
251 const SkPoint& oPt = rIndex & 1 ? oContour->end() : oContour->start(); in Assemble()
252 const int row = rIndex < count - 1 ? rIndex * ends : (ends - rIndex - 2) in Assemble()
253 * ends - rIndex - 1; in Assemble()
254 for (iIndex = rIndex + 1; iIndex < ends; ++iIndex) { in Assemble()
265 for (rIndex = 0; rIndex < entries; ++rIndex) { in Assemble()
266 sortedDist[rIndex] = rIndex; in Assemble()
270 for (rIndex = 0; rIndex < entries; ++rIndex) { in Assemble()
271 int pair = sortedDist[rIndex]; in Assemble()
298 for (rIndex = 0; rIndex < count; ++rIndex) { in Assemble()
299 int s = sLink[rIndex]; in Assemble()
300 int e = eLink[rIndex]; in Assemble()
302 s < 0 ? ~s : s, rIndex, rIndex, e < 0 ? 'e' : 's', e < 0 ? ~e : e); in Assemble()
305 rIndex = 0; in Assemble()
309 int sIndex = sLink[rIndex]; in Assemble()
311 sLink[rIndex] = SK_MaxS32; in Assemble()
327 const SkOpContour* contour = runs[rIndex]; in Assemble()
339 SkDebugf("%s rIndex=%d eIndex=%s%d close=%d\n", __FUNCTION__, rIndex, in Assemble()
341 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in Assemble()
343 if (sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)) { in Assemble()
348 eIndex = eLink[rIndex]; in Assemble()
350 eLink[rIndex] = SK_MaxS32; in Assemble()
352 SkASSERT(sLink[eIndex] == rIndex); in Assemble()
355 SkASSERT(eLink[~eIndex] == ~rIndex); in Assemble()
359 eIndex = sLink[rIndex]; in Assemble()
361 sLink[rIndex] = SK_MaxS32; in Assemble()
363 SkASSERT(eLink[eIndex] == rIndex); in Assemble()
366 SkASSERT(sLink[~eIndex] == ~rIndex); in Assemble()
370 rIndex = eIndex; in Assemble()
371 if (rIndex < 0) { in Assemble()
373 rIndex = ~rIndex; in Assemble()
376 for (rIndex = 0; rIndex < count; ++rIndex) { in Assemble()
377 if (sLink[rIndex] != SK_MaxS32) { in Assemble()
381 } while (rIndex < count); in Assemble()
383 for (rIndex = 0; rIndex < count; ++rIndex) { in Assemble()
384 SkASSERT(sLink[rIndex] == SK_MaxS32); in Assemble()
385 SkASSERT(eLink[rIndex] == SK_MaxS32); in Assemble()