• Home
  • Raw
  • Download

Lines Matching refs:nextULessThan

44         return gMatrices[random->nextULessThan(count)];  in test_matrix()
46 return gMatrices[count - 1 - random->nextULessThan(kPerspectiveCount)]; in test_matrix()
49 return gMatrices[random->nextULessThan(count - kPerspectiveCount)]; in test_matrix()
79 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixPreservesRightAngles()
105 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrixRectStaysRect()
117 wrapModes[0] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
118 wrapModes[1] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
132 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestRect()
144 return gRects[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRects)))]; in TestSquare()
162 return gRRect[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gRRect)))]; in TestRRectSimple()
210 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPath()
244 return gPath[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gPath)))]; in TestPathConvex()
252 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount)); in randomize_stroke_rec()
253 SkPaint::Join join = SkPaint::Join(random->nextULessThan(SkPaint::kJoinCount)); in randomize_stroke_rec()
260 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStrokeRec()
268 SkStrokeRec::InitStyle(random->nextULessThan(SkStrokeRec::kFill_InitStyle + 1)); in TestStyle()
323 return gColorSpaces[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gColorSpaces)))]; in TestColorSpace()
341 return gXforms[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gXforms)))]; in TestColorXform()
364 ColorMode colorMode = ColorMode(random->nextULessThan(kLast_ColorMode + 1)); in RandomColor()
374 color = GrColorPackRGBA(random->nextULessThan(256), in RandomColor()
375 random->nextULessThan(256), in RandomColor()
376 random->nextULessThan(256), in RandomColor()
380 uint8_t alpha = random->nextULessThan(256); in RandomColor()
399 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in RandomCoverage()
409 coverage = random->nextULessThan(256); in RandomCoverage()