Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dmt_rand.c162 PHPAPI uint32_t php_mt_rand(void) in php_mt_rand() function
217 result = php_mt_rand(); in rand_range32()
237 result = php_mt_rand(); in rand_range32()
247 result = php_mt_rand(); in rand_range64()
248 result = (result << 32) | php_mt_rand(); in rand_range64()
268 result = php_mt_rand(); in rand_range64()
269 result = (result << 32) | php_mt_rand(); in rand_range64()
304 n = (int64_t)php_mt_rand() >> 1; in php_mt_rand_common()
321 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Drand.c43 return php_mt_rand(); in php_rand()
56 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Dphp_mt_rand.h36 PHPAPI uint32_t php_mt_rand(void);
/PHP-7.4/ext/spl/
H A Dphp_spl.c850 SPL_G(hash_mask_handle) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
851 SPL_G(hash_mask_handlers) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()

Completed in 9 milliseconds