Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dmt_rand.c156 PHPAPI uint32_t php_mt_rand(void) in php_mt_rand() function
210 result = php_mt_rand(); in rand_range32()
230 result = php_mt_rand(); in rand_range32()
240 result = php_mt_rand(); in rand_range64()
241 result = (result << 32) | php_mt_rand(); in rand_range64()
261 result = php_mt_rand(); in rand_range64()
262 result = (result << 32) | php_mt_rand(); in rand_range64()
296 n = (int64_t)php_mt_rand() >> 1; in php_mt_rand_common()
312 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Drand.c39 return php_mt_rand(); in php_rand()
51 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Dphp_mt_rand.h34 PHPAPI uint32_t php_mt_rand(void);
/PHP-8.0/ext/spl/
H A Dphp_spl.c661 SPL_G(hash_mask_handle) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
662 SPL_G(hash_mask_handlers) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()

Completed in 12 milliseconds