Home
last modified time | relevance | path

Searched refs:seed (Results 26 – 37 of 37) sorted by relevance

12

/php-src/ext/gmp/
H A Dgmp.c1743 unsigned long int seed = 0; in gmp_init_random() local
1744 if (php_random_bytes_silent(&seed, sizeof(seed)) == FAILURE) { in gmp_init_random()
1745 seed = (unsigned long int)php_random_generate_fallback_seed(); in gmp_init_random()
1747 gmp_randseed_ui(GMPG(rand_state), seed); in gmp_init_random()
1756 zval *seed; in ZEND_FUNCTION() local
1759 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &seed) == FAILURE) { in ZEND_FUNCTION()
1765 if (Z_TYPE_P(seed) == IS_LONG && Z_LVAL_P(seed) >= 0) { in ZEND_FUNCTION()
1766 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION()
1771 FETCH_GMP_ZVAL(gmpnum_seed, seed, temp_a, 1); in ZEND_FUNCTION()
H A Dgmp.stub.php156 function gmp_random_seed(GMP|int|string $seed): void {} argument
H A Dgmp_arginfo.h133 ZEND_ARG_OBJ_TYPE_MASK(0, seed, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
/php-src/ext/gd/libgd/
H A Dgd_filter.c36 s.seed = GD_SCATTER_SEED(); in gdImageScatter()
48 s.seed = GD_SCATTER_SEED(); in gdImageScatterColor()
67 (void)srand(scatter->seed); in gdImageScatterEx()
H A Dgd.h752 unsigned int seed; member
/php-src/sapi/fuzzer/
H A DREADME.md37 Some fuzzers have a seed corpus in `sapi/fuzzer/corpus`. You can use it as follows:
/php-src/
H A DUPGRADING.INTERNALS178 - The seed member of a php_random_algo has been removed. As a replacement
181 Mt19937 ignored the upper half of the seed parameter of the generic
/php-src/ext/sodium/
H A Dlibsodium.c595 unsigned char *seed; in PHP_FUNCTION() local
600 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION()
613 seed) != 0) { in PHP_FUNCTION()
915 unsigned char *seed; in PHP_FUNCTION() local
920 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION()
933 seed) != 0) { in PHP_FUNCTION()
2687 unsigned char *seed; in PHP_FUNCTION() local
2692 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION()
2706 seed, crypto_kx_SEEDBYTES, NULL, 0); in PHP_FUNCTION()
H A Dlibsodium_arginfo.h144 ZEND_ARG_TYPE_INFO(0, seed, IS_STRING, 0)
/php-src/ext/session/
H A Dsession.c2874 php_random_uint128_t seed; in PHP_GINIT_FUNCTION() local
2875 if (php_random_bytes_silent(&seed, sizeof(seed)) == FAILURE) { in PHP_GINIT_FUNCTION()
2876 seed = php_random_uint128_constant( in PHP_GINIT_FUNCTION()
2881 php_random_pcgoneseq128xslrr64_seed128(ps_globals->random.state, seed); in PHP_GINIT_FUNCTION()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます11099 >36 lelong x \b, seed %#x
H A Dmagic11099 >36 lelong x \b, seed %#x

Completed in 188 milliseconds

12