Lines Matching defs:curX
497 // curX -- the macro X value that we've gotten to.
502 // after the value of curX.
505 // curX advances to finalX outputting any blocks that it passes along
507 // run, the termination criteria will be whenever curX == finalX at the
528 int curX = 0;
547 while (curX != finalX) {
548 SkASSERT(finalX >= curX);
551 if ((finalX - (BlockDim*(curX / BlockDim))) >= BlockDim) {
552 const int col = curX % BlockDim;
554 SkASSERT(curX + colsLeft <= finalX);
561 curX += colsLeft;
565 if ((finalX - curX) >= BlockDim) {
566 SkASSERT((curX % BlockDim) == 0);
576 while((finalX - curX) >= BlockDim) {
579 curX += BlockDim;
584 if (curX < finalX) {
585 const int col = curX % BlockDim;
586 const int colsLeft = finalX - curX;
589 curX += colsLeft;
592 SkASSERT(curX == finalX);
611 curX = finalX;
616 if ((curX % BlockDim) > 0) {
619 SkASSERT(nextX[i] == kLongestRun || nextX[i] == curX);
622 const int col = curX % BlockDim;