Searched refs:fSeed (Results 1 – 4 of 4) sorted by relevance
42 LCGRandom(uint32_t seed) : fSeed(seed) {} in LCGRandom()52 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU()68 uint32_t fSeed; member in LCGRandom
103 int fSeed; member123 int result = gRandAmplitude * (fSeed % gRandQ) - gRandR * (fSeed / gRandQ); in random()126 fSeed = result; in random()136 fSeed = SkScalarTruncToInt(seed); in init()138 if (fSeed <= 0) { in init()139 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init()141 if (fSeed > kRandMaximum - 1) { in init()142 fSeed = kRandMaximum - 1; in init()274 , fSeed(seed) in SkPerlinNoiseShader()309 buffer.writeScalar(fSeed); in flatten()[all …]
621 int fSeed; member628 fuzzPath.setSeed(data->fSeed); in test_fuzz()637 int x = data->fSeed / 4 % 4; in test_fuzz()638 int y = data->fSeed % 4; in test_fuzz()651 states[i].fSeed = seed + (int) i; in path_fuzz_stroker()
120 const SkScalar fSeed; variable