Lines Matching refs:status
36 static inline void seed128(php_random_status *status, php_random_uint128_t seed) in seed128() argument
38 php_random_status_state_pcgoneseq128xslrr64 *s = status->state; in seed128()
45 static void seed(php_random_status *status, uint64_t seed) in seed() argument
47 seed128(status, php_random_uint128_constant(0ULL, seed)); in seed()
50 static uint64_t generate(php_random_status *status) in generate() argument
52 php_random_status_state_pcgoneseq128xslrr64 *s = status->state; in generate()
58 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range() argument
60 return php_random_range(&php_random_algo_pcgoneseq128xslrr64, status, min, max); in range()
63 static bool serialize(php_random_status *status, HashTable *data) in serialize() argument
65 php_random_status_state_pcgoneseq128xslrr64 *s = status->state; in serialize()
80 static bool unserialize(php_random_status *status, HashTable *data) in unserialize() argument
82 php_random_status_state_pcgoneseq128xslrr64 *s = status->state; in unserialize()
142 php_random_status_state_pcgoneseq128xslrr64 *state = engine->status->state; in PHP_METHOD()
170 seed128(engine->status, php_random_uint128_constant(t[0], t[1])); in PHP_METHOD()
176 engine->algo->seed(engine->status, int_seed); in PHP_METHOD()
186 php_random_status_state_pcgoneseq128xslrr64 *state = engine->status->state; in PHP_METHOD()