Searched refs:PHP_RAND_MAX (Results 1 – 5 of 5) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | php_rand.h | 39 #define PHP_RAND_MAX 2147483647 macro 41 #define PHP_RAND_MAX RAND_MAX macro
|
H A D | rand.c | 301 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION() 355 RETURN_LONG(PHP_RAND_MAX); in PHP_FUNCTION()
|
H A D | array.c | 2279 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 D | string.c | 5369 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
|
/PHP-7.0/main/ |
H A D | reentrancy.c | 317 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1)); in do_rand()
|
Completed in 34 milliseconds