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

/PHP_5_5/ext/standard/
H A Drand.c42 PHPAPI void php_srand(long seed TSRMLS_DC)
45 BG(rand_seed) = (unsigned int) seed;
48 srandom((unsigned int) seed);
50 srand48(seed);
52 srand((unsigned int) seed);
154 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) argument
156 /* Initialize generator state with seed
158 In previous versions, most significant bits (MSBs) of the seed affect
165 *s++ = seed & 0xffffffffU;
196 PHPAPI void php_mt_srand(php_uint32 seed TSRMLS_D
233 long seed = 0; local
249 long seed = 0; local
[all...]

Completed in 3 milliseconds