Lines Matching refs:ran
14 SkRandom ran; in testTightBoundsLines() local
17 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
19 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
20 path.moveTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
22 path.lineTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
24 if (ran.nextBool()) { in testTightBoundsLines()
49 SkRandom ran; in testTightBoundsQuads() local
62 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
64 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
65 path.moveTo(ran.nextRangeF(1, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
67 if (ran.nextBool()) { in testTightBoundsQuads()
68 path.lineTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
70 path.quadTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax), in testTightBoundsQuads()
71 ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
74 if (ran.nextBool()) { in testTightBoundsQuads()