Searched defs:seed (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Drand.c41 PHPAPI void php_srand(zend_long seed TSRMLS_DC)
44 BG(rand_seed) = (unsigned int) seed;
47 srandom((unsigned int) seed);
49 srand48(seed);
51 srand((unsigned int) seed);
153 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) argument
155 /* Initialize generator state with seed
157 In previous versions, most significant bits (MSBs) of the seed affect
164 *s++ = seed & 0xffffffffU;
195 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_D
232 zend_long seed = 0; local
248 zend_long seed = 0; local
[all...]

Completed in 2 milliseconds