Home
last modified time | relevance | path

Searched refs:MT_RAND_MT19937 (Results 1 – 20 of 20) sorted by relevance

/php-src/ext/random/tests/03_randomizer/
H A Dcompatibility_mt_rand.phpt26 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 Dserialize.phpt16 $engines[] = new Mt19937(1234, MT_RAND_MT19937);
/php-src/ext/random/
H A Drandom.stub.php10 const MT_RAND_MT19937 = UNKNOWN; define
20 function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}
23 function srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {}
47 public function __construct(int|null $seed = null, int $mode = MT_RAND_MT19937) {}
H A Dengine_mt19937.c107 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 Drandom.c317 state->mode = MT_RAND_MT19937; in php_random_default_status()
434 if (s->mode == MT_RAND_MT19937) {
477 zend_long mode = MT_RAND_MT19937;
492 state->mode = MT_RAND_MT19937;
H A Dphp_random.h50 MT_RAND_MT19937 = 0, enumerator
H A Drandomizer.c251 && ((php_random_status_state_mt19937 *) engine.state)->mode != MT_RAND_MT19937 in PHP_METHOD()
H A Drandom_arginfo.h248 REGISTER_LONG_CONSTANT("MT_RAND_MT19937", MT_RAND_MT19937, CONST_PERSISTENT); in register_random_symbols()
/php-src/ext/random/tests/02_engine/
H A Dmt19937_error.phpt16 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 Dmt_srand_unknown_mode.phpt5 // MT_RAND_MT19937
H A Dmt_rand_value.phpt20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
/php-src/ext/random/tests/03_randomizer/methods/
H A DnextInt.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DnextFloat.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DgetBytes.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DgetInt.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DshuffleArray.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DgetFloat.phpt18 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DshuffleBytes.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DgetBytesFromString.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DpickArrayKeys.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);

Completed in 33 milliseconds