Home
last modified time | relevance | path

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

/PHP-8.3/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-8.3/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.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.c318 ((php_random_status_state_mt19937 *)status->state)->mode = MT_RAND_MT19937; in php_random_default_status()
437 if (s->mode == MT_RAND_MT19937) {
480 zend_long mode = MT_RAND_MT19937;
496 state->mode = MT_RAND_MT19937;
H A Dphp_random.h74 # define MT_RAND_MT19937 0 macro
H A Drandomizer.c247 && ((php_random_status_state_mt19937 *) randomizer->status->state)->mode != MT_RAND_MT19937 in PHP_METHOD()
H A Drandom_arginfo.h261 REGISTER_LONG_CONSTANT("MT_RAND_MT19937", MT_RAND_MT19937, CONST_PERSISTENT); in register_random_symbols()
/PHP-8.3/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.3/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-8.3/ext/random/tests/03_randomizer/methods/
H A DgetBytes.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DnextFloat.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DnextInt.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DgetFloat.phpt18 $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 DgetBytesFromString.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);
H A DpickArrayKeys.phpt17 $engines[] = new Mt19937(null, MT_RAND_MT19937);

Completed in 46 milliseconds