Searched refs:nextBool (Results 1 – 13 of 13) sorted by relevance
117 bool nextBool() { return this->nextU() >= 0x80000000; } in nextBool() function270 bool nextBool() { return this->nextU() >= 0x80000000; } in nextBool() function
184 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()186 Direction dir = random->nextBool() ? kX_Direction : kY_Direction; in TestCreate()
192 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()199 WrapMode wrapMode = random->nextBool() ? kClamp_WrapMode : kDecal_WrapMode; in TestCreate()
73 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()
142 swapRB = random->nextBool(); in TestCreate()
425 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()427 Direction dir = random->nextBool() ? kX_Direction : kY_Direction; in TestCreate()430 MorphologyType type = random->nextBool() ? GrMorphologyEffect::kErode_MorphologyType : in TestCreate()
365 int texIdxDispl = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()367 int texIdxColor = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()
541 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()555 bool convolveAlpha = random->nextBool(); in TestCreate()
326 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : in TestCreate()
95 pdesc.fDiscardIfOutsideEdge = random.nextBool(); in programUnitTest()
270 if (random.nextBool()) { in TestTLList()
839 bool doSave = r.nextBool(); in test_reduced_clip_stack()868 SkIRect* tightBounds = r.nextBool() ? &tBounds : NULL; in test_reduced_clip_stack()
834 if (outColors == 1 || (outColors >= 2 && random->nextBool())) { in RandomGradientParams()