Home
last modified time | relevance | path

Searched refs:php_mt_rand (Results 1 – 4 of 4) sorted by relevance

/PHP-7.1/ext/standard/
H A Dmt_rand.c163 PHPAPI uint32_t php_mt_rand(void) in php_mt_rand() function
220 result = php_mt_rand(); in php_mt_rand_range()
223 result = (result << 32) | php_mt_rand(); in php_mt_rand_range()
244 result = (result << 32) | php_mt_rand(); in php_mt_rand_range()
247 result = php_mt_rand(); in php_mt_rand_range()
250 result = php_mt_rand(); in php_mt_rand_range()
271 n = (int64_t)php_mt_rand() >> 1; in php_mt_rand_common()
288 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Drand.c44 return php_mt_rand(); in php_rand()
57 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Dphp_mt_rand.h37 PHPAPI uint32_t php_mt_rand(void);
/PHP-7.1/ext/spl/
H A Dphp_spl.c785 SPL_G(hash_mask_handle) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
786 SPL_G(hash_mask_handlers) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()

Completed in 10 milliseconds