/PHP-8.0/ext/standard/ |
H A D | mt_rand.c | 95 static inline void php_mt_initialize(uint32_t seed, uint32_t *state) in php_mt_initialize() argument 106 *s++ = seed & 0xffffffffU; in php_mt_initialize() 144 PHPAPI void php_mt_srand(uint32_t seed) in php_mt_srand() argument 147 php_mt_initialize(seed, BG(state)); in php_mt_srand() 183 zend_long seed = 0; in PHP_FUNCTION() local 188 Z_PARAM_LONG(seed) in PHP_FUNCTION() 193 seed = GENERATE_SEED(); in PHP_FUNCTION() 203 php_mt_srand(seed); in PHP_FUNCTION()
|
H A D | rand.c | 30 PHPAPI void php_srand(zend_long seed) in php_srand() argument 32 php_mt_srand(seed); in php_srand()
|
H A D | php_mt_rand.h | 33 PHPAPI void php_mt_srand(uint32_t seed);
|
H A D | php_rand.h | 69 PHPAPI void php_srand(zend_long seed);
|
H A D | basic_functions.stub.php | 1172 function mt_srand(int $seed = 0, int $mode = MT_RAND_MT19937): void {} argument 1175 function srand(int $seed = 0, int $mode = MT_RAND_MT19937): void {} argument
|
H A D | basic_functions_arginfo.h | 1807 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, seed, IS_LONG, 0, "0")
|
/PHP-8.0/ext/gmp/tests/ |
H A D | gmp_random_seed.phpt | 81 $seed = gmp_init(1); 82 $seed <<= 512; 85 var_dump(gmp_random_seed($seed * -1)); 97 var_dump(gmp_random_seed($seed)); 175 gmp_random_seed(): Argument #1 ($seed) is not an integer string
|
/PHP-8.0/ext/sodium/tests/ |
H A D | crypto_sign.phpt | 30 $seed = str_repeat('x', SODIUM_CRYPTO_SIGN_SEEDBYTES); 31 $alice_kp = sodium_crypto_sign_seed_keypair($seed); 38 "since they are derived from a fixed seed";
|
/PHP-8.0/ext/sodium/ |
H A D | libsodium.stub.php | 45 function sodium_crypto_box_seed_keypair(string $seed): string {} argument 67 function sodium_crypto_kx_seed_keypair(string $seed): string {} argument 153 function sodium_crypto_sign_seed_keypair(string $seed): string {} argument
|
H A D | libsodium.c | 778 unsigned char *seed; in PHP_FUNCTION() local 783 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION() 796 seed) != 0) { in PHP_FUNCTION() 1098 unsigned char *seed; in PHP_FUNCTION() local 1103 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION() 1116 seed) != 0) { in PHP_FUNCTION() 2453 unsigned char *seed; in PHP_FUNCTION() local 2458 &seed, &seed_len) == FAILURE) { in PHP_FUNCTION() 2472 seed, crypto_kx_SEEDBYTES, NULL, 0); in PHP_FUNCTION()
|
H A D | libsodium_arginfo.h | 98 ZEND_ARG_TYPE_INFO(0, seed, IS_STRING, 0)
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_filter.c | 36 s.seed = GD_SCATTER_SEED(); in gdImageScatter() 48 s.seed = GD_SCATTER_SEED(); in gdImageScatterColor() 67 (void)srand(scatter->seed); in gdImageScatterEx()
|
H A D | gd.h | 729 unsigned int seed; member
|
/PHP-8.0/ext/gmp/ |
H A D | gmp.c | 1731 zval *seed; in ZEND_FUNCTION() local 1734 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &seed) == FAILURE) { in ZEND_FUNCTION() 1740 if (Z_TYPE_P(seed) == IS_LONG && Z_LVAL_P(seed) >= 0) { in ZEND_FUNCTION() 1741 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION() 1746 FETCH_GMP_ZVAL(gmpnum_seed, seed, temp_a, 1); in ZEND_FUNCTION()
|
H A D | gmp.stub.php | 80 function gmp_random_seed(GMP|int|string $seed): void {} argument
|
H A D | gmp_arginfo.h | 133 ZEND_ARG_OBJ_TYPE_MASK(0, seed, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
|
/PHP-8.0/sapi/fuzzer/ |
H A D | README.md | 31 Some fuzzers have a seed corpus in `sapi/fuzzer/corpus`. You can use it as follows:
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 9488 >36 lelong x \b, seed %#x
|
H A D | magic | 9488 >36 lelong x \b, seed %#x
|