Searched refs:php_random_status (Results 1 – 13 of 13) sorted by relevance
/PHP-8.3/ext/random/ |
H A D | php_random.h | 224 } php_random_status; typedef 252 void (*seed)(php_random_status *status, uint64_t seed); 253 uint64_t (*generate)(php_random_status *status); 255 bool (*serialize)(php_random_status *status, HashTable *data); 256 bool (*unserialize)(php_random_status *status, HashTable *data); 268 php_random_status *status; 274 php_random_status *status; 308 PHPAPI php_random_status *php_random_status_copy(const php_random_algo *algo, php_random_status *ol… 317 PHPAPI php_random_status *php_random_default_status(void); 344 php_random_status *combined_lcg; [all …]
|
H A D | engine_combinedlcg.c | 35 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 D | engine_pcgoneseq128xslrr64.c | 36 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 D | engine_secure.c | 27 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 D | random.c | 76 PHPAPI uint32_t php_random_range32(const php_random_algo *algo, php_random_status *status, uint32_t… in php_random_range32() 132 PHPAPI uint64_t php_random_range64(const php_random_algo *algo, php_random_status *status, uint64_t… in php_random_range64() 228 PHPAPI php_random_status *php_random_status_alloc(const php_random_algo *algo, const bool persisten… in php_random_status_alloc() 230 php_random_status *status = pecalloc(1, sizeof(php_random_status), persistent); in php_random_status_alloc() 238 PHPAPI php_random_status *php_random_status_copy(const php_random_algo *algo, php_random_status *ol… in php_random_status_copy() 246 PHPAPI void php_random_status_free(php_random_status *status, const bool persistent) in php_random_status_free() 313 PHPAPI php_random_status *php_random_default_status(void) in php_random_default_status() 315 php_random_status *status = RANDOM_G(mt19937); in php_random_default_status() 397 php_random_status *status = RANDOM_G(combined_lcg); 434 php_random_status *status = php_random_default_status(); [all …]
|
H A D | engine_xoshiro256starstar.c | 84 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 D | engine_user.c | 24 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 D | gammasection.c | 74 PHPAPI double php_random_gammasection_closed_open(const php_random_algo *algo, php_random_status *s… in php_random_gammasection_closed_open() 102 PHPAPI double php_random_gammasection_closed_closed(const php_random_algo *algo, php_random_status … in php_random_gammasection_closed_closed() 134 PHPAPI double php_random_gammasection_open_closed(const php_random_algo *algo, php_random_status *s… in php_random_gammasection_open_closed() 162 PHPAPI double php_random_gammasection_open_open(const php_random_algo *algo, php_random_status *sta… in php_random_gammasection_open_open()
|
H A D | engine_mt19937.c | 141 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.3/ext/standard/ |
H A D | php_array.h | 34 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 D | php_string.h | 65 PHPAPI bool php_binary_string_shuffle(const php_random_algo *algo, php_random_status *status, char …
|
H A D | array.c | 3103 PHPAPI bool php_array_data_shuffle(const php_random_algo *algo, php_random_status *status, zval *ar… 6074 PHPAPI bool php_array_pick_keys(const php_random_algo *algo, php_random_status *status, zval *input…
|
H A D | string.c | 5632 PHPAPI bool php_binary_string_shuffle(const php_random_algo *algo, php_random_status *status, char …
|
Completed in 63 milliseconds