Searched refs:nextULessThan (Results 1 – 9 of 9) sorted by relevance
207 uint32_t width = random->nextULessThan(kMaxWidth); in TestCreate()208 uint32_t height = random->nextULessThan(kMaxHeight); in TestCreate()209 uint32_t x = random->nextULessThan(kMaxWidth - width); in TestCreate()210 uint32_t y = random->nextULessThan(kMaxHeight - height); in TestCreate()211 SkScalar inset = SkIntToScalar(random->nextULessThan(kMaxInset)); in TestCreate()
957 int type = random->nextULessThan(3); in create_random_light()
83 uint32_t nextULessThan(uint32_t count) { in nextULessThan() function236 uint32_t nextULessThan(uint32_t count) { in nextULessThan() function
212 int insertionMethod = random.nextULessThan(numValidMethods); in TestTLList()222 int n = random.nextULessThan(list1.count()); in TestTLList()266 int n = random.nextULessThan(list1.count()); in TestTLList()
830 SkRegion::Op op = kOps[r.nextULessThan(SK_ARRAY_COUNT(kOps))]; in test_reduced_clip_stack()851 kElementFuncs[r.nextULessThan(SK_ARRAY_COUNT(kElementFuncs))](rect, invert, op, &stack); in test_reduced_clip_stack()
39 return gMatrices[random->nextULessThan(static_cast<uint32_t>(SK_ARRAY_COUNT(gMatrices)))]; in TestMatrix()
137 PMConversion pmConv = static_cast<PMConversion>(random->nextULessThan(kPMConversionCnt)); in TestCreate()
846 *tm = static_cast<SkShader::TileMode>(random->nextULessThan(SkShader::kTileModeCount)); in RandomGradientParams()
246 fVerbs[i] = static_cast<SkPath::Verb>(fRandom.nextULessThan(SkPath::kDone_Verb)); in createData()