Lines Matching refs:PHPAPI
36 PHPAPI double php_combined_lcg(void);
79 PHPAPI void php_mt_srand(uint32_t seed);
80 PHPAPI uint32_t php_mt_rand(void);
81 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max);
82 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max);
90 PHPAPI void php_srand(zend_long seed);
91 PHPAPI zend_long php_rand(void);
201 PHPAPI int php_random_bytes(void *bytes, size_t size, bool should_throw);
202 PHPAPI int php_random_int(zend_long min, zend_long max, zend_long *result, bool should_throw);
242 extern PHPAPI const php_random_algo php_random_algo_combinedlcg;
243 extern PHPAPI const php_random_algo php_random_algo_mt19937;
244 extern PHPAPI const php_random_algo php_random_algo_pcgoneseq128xslrr64;
245 extern PHPAPI const php_random_algo php_random_algo_xoshiro256starstar;
246 extern PHPAPI const php_random_algo php_random_algo_secure;
247 extern PHPAPI const php_random_algo php_random_algo_user;
262 extern PHPAPI zend_class_entry *random_ce_Random_Engine;
263 extern PHPAPI zend_class_entry *random_ce_Random_CryptoSafeEngine;
265 extern PHPAPI zend_class_entry *random_ce_Random_RandomError;
266 extern PHPAPI zend_class_entry *random_ce_Random_BrokenRandomEngineError;
267 extern PHPAPI zend_class_entry *random_ce_Random_RandomException;
269 extern PHPAPI zend_class_entry *random_ce_Random_Engine_PcgOneseq128XslRr64;
270 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Mt19937;
271 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Xoshiro256StarStar;
272 extern PHPAPI zend_class_entry *random_ce_Random_Engine_Secure;
273 extern PHPAPI zend_class_entry *random_ce_Random_Randomizer;
287 PHPAPI php_random_status *php_random_status_alloc(const php_random_algo *algo, const bool persisten…
288 PHPAPI php_random_status *php_random_status_copy(const php_random_algo *algo, php_random_status *ol…
289 PHPAPI void php_random_status_free(php_random_status *status, const bool persistent);
290 PHPAPI php_random_engine *php_random_engine_common_init(zend_class_entry *ce, zend_object_handlers …
291 PHPAPI void php_random_engine_common_free_object(zend_object *object);
292 PHPAPI zend_object *php_random_engine_common_clone_object(zend_object *object);
293 PHPAPI zend_long php_random_range(const php_random_algo *algo, php_random_status *status, zend_long…
294 PHPAPI const php_random_algo *php_random_default_algo(void);
295 PHPAPI php_random_status *php_random_default_status(void);
297 PHPAPI zend_string *php_random_bin2hex_le(const void *ptr, const size_t len);
298 PHPAPI bool php_random_hex2bin_le(zend_string *hexstr, void *dest);
300 PHPAPI void php_random_combinedlcg_seed_default(php_random_status_state_combinedlcg *state);
302 PHPAPI void php_random_mt19937_seed_default(php_random_status_state_mt19937 *state);
304 PHPAPI void php_random_pcgoneseq128xslrr64_advance(php_random_status_state_pcgoneseq128xslrr64 *sta…
306 PHPAPI void php_random_xoshiro256starstar_jump(php_random_status_state_xoshiro256starstar *state);
307 PHPAPI void php_random_xoshiro256starstar_jump_long(php_random_status_state_xoshiro256starstar *sta…
324 PHPAPI ZEND_EXTERN_MODULE_GLOBALS(random)