Lines Matching refs:ran
24 SkRandom ran; in testTightBoundsLines() local
27 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
29 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines()
30 path.moveTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
32 path.lineTo(ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)); in testTightBoundsLines()
34 if (ran.nextBool()) { in testTightBoundsLines()
59 SkRandom ran; in testTightBoundsQuads() local
72 int contourCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
74 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads()
75 path.moveTo(ran.nextRangeF(1, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
77 if (ran.nextBool()) { in testTightBoundsQuads()
78 path.lineTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
80 path.quadTo(ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax), in testTightBoundsQuads()
81 ran.nextRangeF(pathMin, pathMax), ran.nextRangeF(pathMin, pathMax)); in testTightBoundsQuads()
84 if (ran.nextBool()) { in testTightBoundsQuads()