Lines Matching refs:status
84 static inline void seed256(php_random_status *status, uint64_t s0, uint64_t s1, uint64_t s2, uint64… in seed256() argument
86 php_random_status_state_xoshiro256starstar *s = status->state; in seed256()
94 static void seed(php_random_status *status, uint64_t seed) in seed() argument
103 seed256(status, s[0], s[1], s[2], s[3]); in seed()
106 static uint64_t generate(php_random_status *status) in generate() argument
108 return generate_state(status->state); in generate()
111 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range() argument
113 return php_random_range(&php_random_algo_xoshiro256starstar, status, min, max); in range()
116 static bool serialize(php_random_status *status, HashTable *data) in serialize() argument
118 php_random_status_state_xoshiro256starstar *s = status->state; in serialize()
129 static bool unserialize(php_random_status *status, HashTable *data) in unserialize() argument
131 php_random_status_state_xoshiro256starstar *s = status->state; in unserialize()
178 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
190 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
202 php_random_status_state_xoshiro256starstar *state = engine->status->state; in PHP_METHOD()
238 seed256(engine->status, t[0], t[1], t[2], t[3]); in PHP_METHOD()
244 engine->algo->seed(engine->status, (uint64_t) int_seed); in PHP_METHOD()