Searched refs:MT_RAND_MT19937 (Results 1 – 20 of 20) sorted by relevance
/php-src/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); 56 MT_RAND_MT19937
|
H A D | serialize.phpt | 16 $engines[] = new Mt19937(1234, MT_RAND_MT19937);
|
/php-src/ext/random/ |
H A D | random.stub.php | 10 const MT_RAND_MT19937 = UNKNOWN; define 21 function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {} 24 function srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {} 48 public function __construct(int|null $seed = null, int $mode = MT_RAND_MT19937) {}
|
H A D | engine_mt19937.c | 107 if (state->mode == MT_RAND_MT19937) { in mt19937_reload() 224 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize() 257 zend_long seed, mode = MT_RAND_MT19937; in PHP_METHOD() 267 case MT_RAND_MT19937: in PHP_METHOD() 268 state->mode = MT_RAND_MT19937; in PHP_METHOD()
|
H A D | random.c | 318 state->mode = MT_RAND_MT19937; in php_random_default_status() 467 if (s->mode == MT_RAND_MT19937) { 496 zend_long mode = MT_RAND_MT19937; 511 state->mode = MT_RAND_MT19937;
|
H A D | php_random.h | 53 MT_RAND_MT19937 = 0, enumerator
|
H A D | random_arginfo.h | 228 REGISTER_LONG_CONSTANT("MT_RAND_MT19937", MT_RAND_MT19937, CONST_PERSISTENT); in register_random_symbols()
|
H A D | randomizer.c | 252 && ((php_random_status_state_mt19937 *) engine.state)->mode != MT_RAND_MT19937 in PHP_METHOD()
|
/php-src/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-src/ext/random/tests/01_functions/ |
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-src/ext/random/tests/03_randomizer/methods/ |
H A D | nextInt.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | nextFloat.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | getBytes.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 | getFloat.phpt | 18 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | shuffleBytes.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | getBytesFromString.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
H A D | pickArrayKeys.phpt | 17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
|
Completed in 34 milliseconds