Home
last modified time | relevance | path

Searched refs:php_random_status (Results 1 – 12 of 12) sorted by relevance

/PHP-8.2/ext/random/
H A Dphp_random.h207 } php_random_status; typedef
235 void (*seed)(php_random_status *status, uint64_t seed);
236 uint64_t (*generate)(php_random_status *status);
238 bool (*serialize)(php_random_status *status, HashTable *data);
239 bool (*unserialize)(php_random_status *status, HashTable *data);
251 php_random_status *status;
257 php_random_status *status;
288 PHPAPI php_random_status *php_random_status_copy(const php_random_algo *algo, php_random_status *ol…
295 PHPAPI php_random_status *php_random_default_status(void);
317 php_random_status *combined_lcg;
[all …]
H A Dengine_combinedlcg.c35 static void seed(php_random_status *status, uint64_t seed) in seed()
43 static uint64_t generate(php_random_status *status) in generate()
59 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
64 static bool serialize(php_random_status *status, HashTable *data) in serialize()
77 static bool unserialize(php_random_status *status, HashTable *data) in unserialize()
H A Dengine_pcgoneseq128xslrr64.c36 static inline void seed128(php_random_status *status, php_random_uint128_t seed) in seed128()
45 static void seed(php_random_status *status, uint64_t seed) in seed()
50 static uint64_t generate(php_random_status *status) in generate()
58 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
63 static bool serialize(php_random_status *status, HashTable *data) in serialize()
80 static bool unserialize(php_random_status *status, HashTable *data) in unserialize()
H A Dengine_secure.c27 static uint64_t generate(php_random_status *status) in generate()
36 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
H A Dengine_xoshiro256starstar.c84 static inline void seed256(php_random_status *status, uint64_t s0, uint64_t s1, uint64_t s2, uint64… in seed256()
94 static void seed(php_random_status *status, uint64_t seed) in seed()
106 static uint64_t generate(php_random_status *status) in generate()
111 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
116 static bool serialize(php_random_status *status, HashTable *data) in serialize()
129 static bool unserialize(php_random_status *status, HashTable *data) in unserialize()
H A Dengine_user.c24 static uint64_t generate(php_random_status *status) in generate()
61 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
H A Drandom.c91 static inline uint32_t rand_range32(const php_random_algo *algo, php_random_status *status, uint32_… in rand_range32()
147 static inline uint64_t rand_range64(const php_random_algo *algo, php_random_status *status, uint64_… in rand_range64()
245 PHPAPI php_random_status *php_random_status_alloc(const php_random_algo *algo, const bool persisten… in php_random_status_alloc()
247 php_random_status *status = pecalloc(1, sizeof(php_random_status), persistent); in php_random_status_alloc()
255 PHPAPI php_random_status *php_random_status_copy(const php_random_algo *algo, php_random_status *ol… in php_random_status_copy()
263 PHPAPI void php_random_status_free(php_random_status *status, const bool persistent) in php_random_status_free()
332 PHPAPI php_random_status *php_random_default_status(void) in php_random_default_status()
334 php_random_status *status = RANDOM_G(mt19937); in php_random_default_status()
416 php_random_status *status = RANDOM_G(combined_lcg);
453 php_random_status *status = php_random_default_status();
[all …]
H A Dengine_mt19937.c141 static void seed(php_random_status *status, uint64_t seed) in seed()
146 static uint64_t generate(php_random_status *status) in generate()
163 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range()
168 static bool serialize(php_random_status *status, HashTable *data) in serialize()
185 static bool unserialize(php_random_status *status, HashTable *data) in unserialize()
/PHP-8.2/ext/standard/
H A Dphp_array.h34 PHPAPI bool php_array_data_shuffle(const php_random_algo *algo, php_random_status *status, zval *ar…
35 PHPAPI bool php_array_pick_keys(const php_random_algo *algo, php_random_status *status, zval *input…
H A Dphp_string.h68 PHPAPI bool php_binary_string_shuffle(const php_random_algo *algo, php_random_status *status, char …
H A Darray.c2881 PHPAPI bool php_array_data_shuffle(const php_random_algo *algo, php_random_status *status, zval *ar…
5809 PHPAPI bool php_array_pick_keys(const php_random_algo *algo, php_random_status *status, zval *input…
H A Dstring.c5715 PHPAPI bool php_binary_string_shuffle(const php_random_algo *algo, php_random_status *status, char …

Completed in 67 milliseconds