Searched refs:php_combined_lcg (Results 1 – 6 of 6) sorted by relevance
/PHP-5.3/ext/standard/ |
H A D | php_rand.h | 50 …() (((long) (time(0) * GetCurrentProcessId())) ^ ((long) (1000000.0 * php_combined_lcg(TSRMLS_C)))) 52 #define GENERATE_SEED() (((long) (time(0) * getpid())) ^ ((long) (1000000.0 * php_combined_lcg(TSRM…
|
H A D | lcg.c | 55 PHPAPI double php_combined_lcg(TSRMLS_D) /* {{{ */ in php_combined_lcg() function 121 RETURN_DOUBLE(php_combined_lcg(TSRMLS_C)); in PHP_FUNCTION()
|
H A D | php_lcg.h | 32 PHPAPI double php_combined_lcg(TSRMLS_D);
|
H A D | uniqid.c | 79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10); in PHP_FUNCTION()
|
/PHP-5.3/ext/sqlite/ |
H A D | sess_sqlite.c | 186 …if ((int) ((float) PS(gc_divisor) * PS(gc_divisor) * php_combined_lcg(TSRMLS_C)) < PS(gc_probabili… in PS_GC_FUNC()
|
/PHP-5.3/ext/session/ |
H A D | session.c | 372 …", remote_addr ? remote_addr : "", tv.tv_sec, (long int)tv.tv_usec, php_combined_lcg(TSRMLS_C) * 1… in php_session_create_id() 1499 nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg(TSRMLS_C));
|
Completed in 22 milliseconds