Lines Matching refs:nextULessThan
36 return gMatrices[random->nextULessThan(count)]; in test_matrix()
38 return gMatrices[random->nextULessThan(count - kPerspectiveCount)]; in test_matrix()
68 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixPreservesRightAngles()
94 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixRectStaysRect()
111 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect()
123 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestSquare()
141 return gRRect[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRRect)))]; in TestRRectSimple()
182 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPath()
216 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPathConvex()
221 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec()
227 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount)); in TestStrokeRec()
228 SkPaint::Join join = SkPaint::Join(random->nextULessThan(SkPaint::kJoinCount)); in TestStrokeRec()