Searched refs:MT_RAND_MT19937 (Results 1 – 18 of 18) sorted by relevance
/PHP-8.2/ext/random/tests/03_randomizer/ |
H A D | compatibility_mt_rand.phpt | 26 echo "MT_RAND_MT19937", PHP_EOL; 28 $randomizer = new Randomizer(new Mt19937(1234, MT_RAND_MT19937)); 29 mt_srand(1234, MT_RAND_MT19937); 48 MT_RAND_MT19937
|
H A D | serialize.phpt | 16 $engines[] = new Mt19937(1234, MT_RAND_MT19937);
|
/PHP-8.2/ext/random/ |
H A D | random.stub.php | 10 const MT_RAND_MT19937 = UNKNOWN; define 19 function mt_srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} 22 function srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} 46 public function __construct(int|null $seed = null, int $mode = MT_RAND_MT19937) {}
|
H A D | engine_mt19937.c | 102 if (state->mode == MT_RAND_MT19937) { in mt19937_reload() 218 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize() 253 zend_long seed, mode = MT_RAND_MT19937; in PHP_METHOD() 263 case MT_RAND_MT19937: in PHP_METHOD() 264 state->mode = MT_RAND_MT19937; in PHP_METHOD()
|
H A D | random.c | 337 ((php_random_status_state_mt19937 *)status->state)->mode = MT_RAND_MT19937; in php_random_default_status() 456 if (s->mode == MT_RAND_MT19937) { 682 zend_long mode = MT_RAND_MT19937; 697 state->mode = MT_RAND_MT19937;
|
H A D | randomizer.c | 131 && ((php_random_status_state_mt19937 *) randomizer->status->state)->mode != MT_RAND_MT19937 in PHP_METHOD()
|
H A D | php_random.h | 74 # define MT_RAND_MT19937 0 macro
|
H A D | random_arginfo.h | 237 REGISTER_LONG_CONSTANT("MT_RAND_MT19937", MT_RAND_MT19937, CONST_PERSISTENT); in register_random_symbols()
|
/PHP-8.2/ext/random/tests/01_functions/ |
H A D | gh-10292.phpt | 7 srand(mode: MT_RAND_MT19937); 13 mt_srand(mode: MT_RAND_MT19937);
|
H A D | mt_srand_unknown_mode.phpt | 5 // MT_RAND_MT19937
|
H A D | mt_rand_value.phpt | 20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
|
/PHP-8.2/ext/random/tests/02_engine/ |
H A D | mt19937_error.phpt | 16 Random\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND…
|
/PHP-8.2/ext/random/tests/03_randomizer/methods/ |
H A D | getBytes.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | nextInt.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | getInt.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | shuffleArray.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | shuffleBytes.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | pickArrayKeys.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
Completed in 32 milliseconds