Home | History | Annotate | Download | only in tests

Lines Matching defs:numPoints

3143         int numPoints = 0;
3152 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25];
3153 p.moveTo(expectedPts[numPoints]);
3154 lastMoveToPt = expectedPts[numPoints];
3155 numPoints += 1;
3161 expectedPts[numPoints++] = lastMoveToPt;
3165 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25];
3166 p.lineTo(expectedPts[numPoints]);
3167 numPoints += 1;
3172 expectedPts[numPoints++] = lastMoveToPt;
3176 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25];
3177 expectedPts[numPoints + 1] = randomPts[(rand.nextU() >> 16) % 25];
3178 p.quadTo(expectedPts[numPoints], expectedPts[numPoints + 1]);
3179 numPoints += 2;
3184 expectedPts[numPoints++] = lastMoveToPt;
3188 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25];
3189 expectedPts[numPoints + 1] = randomPts[(rand.nextU() >> 16) % 25];
3190 p.conicTo(expectedPts[numPoints], expectedPts[numPoints + 1],
3192 numPoints += 2;
3197 expectedPts[numPoints++] = lastMoveToPt;
3201 expectedPts[numPoints] = randomPts[(rand.nextU() >> 16) % 25];
3202 expectedPts[numPoints + 1] = randomPts[(rand.nextU() >> 16) % 25];
3203 expectedPts[numPoints + 2] = randomPts[(rand.nextU() >> 16) % 25];
3204 p.cubicTo(expectedPts[numPoints], expectedPts[numPoints + 1],
3205 expectedPts[numPoints + 2]);
3206 numPoints += 3;
3233 REPORTER_ASSERT(reporter, numIterPts < numPoints);
3239 REPORTER_ASSERT(reporter, numIterPts < numPoints + 1);
3247 REPORTER_ASSERT(reporter, numIterPts < numPoints + 2);
3255 REPORTER_ASSERT(reporter, numIterPts < numPoints + 3);
3270 REPORTER_ASSERT(reporter, numIterPts == numPoints);