Lines Matching refs:PHPAPI
38 PHPAPI double php_combined_lcg(void);
42 PHPAPI uint64_t php_random_generate_fallback_seed(void);
43 PHPAPI uint64_t php_random_generate_fallback_seed_ex(php_random_fallback_seed_state *state);
59 PHPAPI void php_mt_srand(uint32_t seed);
60 PHPAPI uint32_t php_mt_rand(void);
61 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max);
62 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max);
106 extern PHPAPI const php_random_algo php_random_algo_mt19937;
107 extern PHPAPI const php_random_algo php_random_algo_pcgoneseq128xslrr64;
108 extern PHPAPI const php_random_algo php_random_algo_xoshiro256starstar;
109 extern PHPAPI const php_random_algo php_random_algo_secure;
110 extern PHPAPI const php_random_algo php_random_algo_user;
123 extern PHPAPI zend_class_entry *random_ce_Random_Engine;
124 extern PHPAPI zend_class_entry *random_ce_Random_CryptoSafeEngine;
126 extern PHPAPI zend_class_entry *random_ce_Random_RandomError;
127 extern PHPAPI zend_class_entry *random_ce_Random_BrokenRandomEngineError;
128 extern PHPAPI zend_class_entry *random_ce_Random_RandomException;
130 extern PHPAPI zend_class_entry *random_ce_Random_Engine_PcgOneseq128XslRr64;
131 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Mt19937;
132 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Xoshiro256StarStar;
133 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Secure;
135 extern PHPAPI zend_class_entry *random_ce_Random_Randomizer;
137 extern PHPAPI zend_class_entry *random_ce_Random_IntervalBoundary;
151 PHPAPI void *php_random_status_alloc(const php_random_algo *algo, const bool persistent);
152 PHPAPI void *php_random_status_copy(const php_random_algo *algo, void *old_status, void *new_status…
153 PHPAPI void php_random_status_free(void *status, const bool persistent);
154 PHPAPI php_random_engine *php_random_engine_common_init(zend_class_entry *ce, zend_object_handlers …
155 PHPAPI void php_random_engine_common_free_object(zend_object *object);
156 PHPAPI zend_object *php_random_engine_common_clone_object(zend_object *object);
157 PHPAPI uint32_t php_random_range32(php_random_algo_with_state engine, uint32_t umax);
158 PHPAPI uint64_t php_random_range64(php_random_algo_with_state engine, uint64_t umax);
159 PHPAPI zend_long php_random_range(php_random_algo_with_state engine, zend_long min, zend_long max);
160 PHPAPI const php_random_algo *php_random_default_algo(void);
161 PHPAPI void *php_random_default_status(void);
171 PHPAPI zend_string *php_random_bin2hex_le(const void *ptr, const size_t len);
172 PHPAPI bool php_random_hex2bin_le(zend_string *hexstr, void *dest);
174 PHPAPI void php_random_mt19937_seed32(php_random_status_state_mt19937 *state, uint32_t seed);
175 PHPAPI void php_random_mt19937_seed_default(php_random_status_state_mt19937 *state);
177 PHPAPI void php_random_pcgoneseq128xslrr64_seed128(php_random_status_state_pcgoneseq128xslrr64 *s, …
178 PHPAPI void php_random_pcgoneseq128xslrr64_advance(php_random_status_state_pcgoneseq128xslrr64 *sta…
180 PHPAPI void php_random_xoshiro256starstar_seed64(php_random_status_state_xoshiro256starstar *state,…
181 PHPAPI void php_random_xoshiro256starstar_seed256(php_random_status_state_xoshiro256starstar *state…
182 PHPAPI void php_random_xoshiro256starstar_jump(php_random_status_state_xoshiro256starstar *state);
183 PHPAPI void php_random_xoshiro256starstar_jump_long(php_random_status_state_xoshiro256starstar *sta…
185 PHPAPI double php_random_gammasection_closed_open(php_random_algo_with_state engine, double min, do…
186 PHPAPI double php_random_gammasection_closed_closed(php_random_algo_with_state engine, double min, …
187 PHPAPI double php_random_gammasection_open_closed(php_random_algo_with_state engine, double min, do…
188 PHPAPI double php_random_gammasection_open_open(php_random_algo_with_state engine, double min, doub…
205 PHPAPI ZEND_EXTERN_MODULE_GLOBALS(random)