Lines Matching refs:Random
38 class Random class
41 Random(uint32_t seed) in Random() function in de::Random
45 ~Random(void) in ~Random()
106 bool operator==(const Random &other) const;
107 bool operator!=(const Random &other) const;
115 inline float Random::getFloat(float min, float max) in getFloat()
121 inline double Random::getDouble(double min, double max) in getDouble()
127 inline int Random::getInt(int min, int max) in getInt()
139 void Random::choose(InputIter first, InputIter last, OutputIter result, int numItems) in choose()
162 T Random::choose(InputIter first, InputIter last) in choose()
171 T Random::chooseWeighted(InputIter first, InputIter last, WeightIter weight) in chooseWeighted()
202 void Random::shuffle(Iterator first, Iterator last) in shuffle()
217 T randomScalar(de::Random &rnd, T minValue, T maxValue);
219 inline float randomScalar(de::Random &rnd, float minValue, float maxValue) in randomScalar()
224 inline int32_t randomScalar(de::Random &rnd, int32_t minValue, int32_t maxValue) in randomScalar()
229 inline uint32_t randomScalar(de::Random &rnd, uint32_t minValue, uint32_t maxValue) in randomScalar()
236 inline int16_t randomScalar(de::Random &rnd, int16_t minValue, int16_t maxValue) in randomScalar()
241 inline uint16_t randomScalar(de::Random &rnd, uint16_t minValue, uint16_t maxValue) in randomScalar()
246 inline int8_t randomScalar(de::Random &rnd, int8_t minValue, int8_t maxValue) in randomScalar()
251 inline uint8_t randomScalar(de::Random &rnd, uint8_t minValue, uint8_t maxValue) in randomScalar()
256 void fillWithRandomData(de::Random &rnd, void *data, size_t size);
259 void fillWithRandomData(de::Random &rnd, T *something) in fillWithRandomData()