Home
last modified time | relevance | path

Searched refs:php_mt_rand (Results 1 – 4 of 4) sorted by last modified time

/PHP-7.2/ext/standard/
H A Drand.c44 return php_mt_rand(); in php_rand()
57 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Dmt_rand.c163 PHPAPI uint32_t php_mt_rand(void) in php_mt_rand() function
218 result = php_mt_rand(); in rand_range32()
238 result = php_mt_rand(); in rand_range32()
248 result = php_mt_rand(); in rand_range64()
249 result = (result << 32) | php_mt_rand(); in rand_range64()
269 result = php_mt_rand(); in rand_range64()
270 result = (result << 32) | php_mt_rand(); in rand_range64()
305 n = (int64_t)php_mt_rand() >> 1; in php_mt_rand_common()
322 RETURN_LONG(php_mt_rand() >> 1); in PHP_FUNCTION()
H A Dphp_mt_rand.h37 PHPAPI uint32_t php_mt_rand(void);
/PHP-7.2/ext/spl/
H A Dphp_spl.c828 SPL_G(hash_mask_handle) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()
829 SPL_G(hash_mask_handlers) = (intptr_t)(php_mt_rand() >> 1); in php_spl_object_hash()

Completed in 56 milliseconds