Searched refs:rand_range (Results 1 – 2 of 2) sorted by relevance
42 static long rand_range(long min, long max) in rand_range() function89 rval = (min > max) ? rand_range(max, min) : rand_range(min, max); in main()
827 const uint32_t rand_range = (image_histo_size - 1) * image_histo_size; in HistogramCombineStochastic() local835 const uint32_t tmp = MyRand(&seed) % rand_range; in HistogramCombineStochastic()