Searched refs:fSeed (Results 1 – 2 of 2) sorted by relevance
24 SkRandom() : fSeed(0) {} in SkRandom()25 SkRandom(uint32_t seed) : fSeed(seed) {} in SkRandom()29 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU()91 void setSeed(int32_t seed) { fSeed = (uint32_t)seed; } in setSeed()99 uint32_t fSeed; variable
24 SkRandom() : fSeed(0) {} in SkRandom()25 SkRandom(uint32_t seed) : fSeed(seed) {} in SkRandom()29 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } in nextU()137 int32_t getSeed() const { return fSeed; } in getSeed()143 void setSeed(int32_t seed) { fSeed = (uint32_t)seed; } in setSeed()151 uint32_t fSeed; variable