Searched refs:gRand (Results 1 – 10 of 10) sorted by relevance
17 static SkRandom gRand; variable20 buffer[i] = (uint16_t)gRand.nextU(); in rand_fill()70 buffer[i] = (uint8_t)((gRand.nextU() >> 8) & 0x3); in rand_fill()115 size_t skip = gRand.nextU() % size; in test_pack8()116 size_t write = gRand.nextU() % size; in test_pack8()
31 static SkRandom gRand; variable49 pts[i].set(gRand.nextUScalar1() * 3 * w - SkIntToScalar(w), in generate_pts()50 gRand.nextUScalar1() * 3 * h - SkIntToScalar(h)); in generate_pts()221 gRand.setSeed(fNow); in onDrawContent()
29 static SkRandom gRand; variable38 return (int)floor(SkScalarToFloat(gRand.nextUScalar1()) * x); in R()153 paint.setAlpha(gRand.nextU() & 0xFF); in do_fuzz()
44 static SkRandom gRand(kSeed);51 return (int)floor(SkScalarToFloat(gRand.nextUScalar1()) * x); in R()
66 static SkRandom gRand; variable