Lines Matching refs:seed
402 uint64_t seed = 0; local
404 if (php_random_bytes_silent(&seed, sizeof(seed)) == FAILURE) {
405 seed = php_random_generate_fallback_seed();
408 state[0] = seed & 0xffffffffU;
409 state[1] = seed >> 32;
441 PHPAPI void php_mt_srand(uint32_t seed) argument
443 php_random_mt19937_seed32(php_random_default_status(), seed);
494 zend_long seed = 0; local
501 Z_PARAM_LONG_OR_NULL(seed, seed_is_null)
517 php_random_mt19937_seed32(state, (uint64_t) seed);
702 fallback_seed_add(&c, state->seed, 20);
704 PHP_SHA1Final(state->seed, &c);
710 result = result | (((uint64_t)state->seed[i]) << (i * 8));