Lines Matching refs:ran
15 SkRandom ran; in testTightBoundsLines() local
18 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
20 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
21 path.moveTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
23 path.lineTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
25 if (ran.nextBool()) { in testTightBoundsLines()
50 SkRandom ran; in testTightBoundsQuads() local
63 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
65 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
66 path.moveTo(ran.nextRangeF(1, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
68 if (ran.nextBool()) { in testTightBoundsQuads()
69 path.lineTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
71 path.quadTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax), in testTightBoundsQuads()
72 ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
75 if (ran.nextBool()) { in testTightBoundsQuads()