Home
last modified time | relevance | path

Searched refs:PHP_RAND_MAX (Results 1 – 5 of 5) sorted by relevance

/PHP-7.0/ext/standard/
H A Dphp_rand.h39 #define PHP_RAND_MAX 2147483647 macro
41 #define PHP_RAND_MAX RAND_MAX macro
H A Drand.c301 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION()
355 RETURN_LONG(PHP_RAND_MAX); in PHP_FUNCTION()
H A Darray.c2279 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
2305 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
4934 if ((double) (randval / (PHP_RAND_MAX + 1.0)) < (double) num_req / (double) num_avail) {
H A Dstring.c5369 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
/PHP-7.0/main/
H A Dreentrancy.c317 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1)); in do_rand()

Completed in 34 milliseconds