Home
last modified time | relevance | path

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

/PHP-8.2/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);
48 MT_RAND_MT19937
H A Dserialize.phpt16 $engines[] = new Mt19937(1234, MT_RAND_MT19937);
/PHP-8.2/ext/random/
H A Drandom.stub.php10 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 Dengine_mt19937.c102 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 Drandom.c337 ((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 Drandomizer.c131 && ((php_random_status_state_mt19937 *) randomizer->status->state)->mode != MT_RAND_MT19937 in PHP_METHOD()
H A Dphp_random.h74 # define MT_RAND_MT19937 0 macro
H A Drandom_arginfo.h237 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 Dgh-10292.phpt7 srand(mode: MT_RAND_MT19937);
13 mt_srand(mode: MT_RAND_MT19937);
H A Dmt_srand_unknown_mode.phpt5 // MT_RAND_MT19937
H A Dmt_rand_value.phpt20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
/PHP-8.2/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-8.2/ext/random/tests/03_randomizer/methods/
H A DgetBytes.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DnextInt.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 DshuffleBytes.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DpickArrayKeys.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);

Completed in 38 milliseconds