Searched defs:nextU (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/include/utils/
H A DSkRandom.h29 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } function in class:SkLCGRandom
33 int32_t nextS() { return (int32_t)this->nextU(); }
37 U16CPU nextU16() { return this->nextU() >> 16; }
48 return (float)(this->nextU() * 2.32830644e-10);
64 return this->nextU() >> (32 - bitCount);
74 return this->nextU();
76 return min + this->nextU() % range;
91 SkFixed nextUFixed1() { return this->nextU() >> 16; }
117 bool nextBool() { return this->nextU() >= 0x80000000; }
130 a->set(this->nextS(), this->nextU());
177 uint32_t nextU() { function in class:SkRandom
[all...]
/external/skia/include/utils/
H A DSkRandom.h29 uint32_t nextU() { uint32_t r = fSeed * kMul + kAdd; fSeed = r; return r; } function in class:SkLCGRandom
33 int32_t nextS() { return (int32_t)this->nextU(); }
37 U16CPU nextU16() { return this->nextU() >> 16; }
48 return (float)(this->nextU() * 2.32830644e-10);
64 return this->nextU() >> (32 - bitCount);
74 return this->nextU();
76 return min + this->nextU() % range;
91 SkFixed nextUFixed1() { return this->nextU() >> 16; }
117 bool nextBool() { return this->nextU() >= 0x80000000; }
130 a->set(this->nextS(), this->nextU());
177 uint32_t nextU() { function in class:SkRandom
[all...]

Completed in 559 milliseconds