Lines Matching refs:zend_long
312 PHPAPI zend_long php_random_range(const php_random_algo *algo, php_random_status *status, zend_long… in php_random_range()
317 return (zend_long) (rand_range64(algo, status, umax) + min); in php_random_range()
320 return (zend_long) (rand_range32(algo, status, umax) + min); in php_random_range()
361 for (zend_long j = (len - 1); 0 <= j; j--) {
363 for (zend_long j = 0; j < len; j++) {
385 for (zend_long j = (len - 1); 0 <= j; j--) {
387 for (zend_long j = 0; j < len; j++) {
431 php_random_algo_mt19937.seed(php_random_default_status(), (zend_long) seed);
443 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max)
451 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max)
467 return (zend_long) (offset + min);
472 PHPAPI void php_srand(zend_long seed)
479 PHPAPI zend_long php_rand(void)
626 PHPAPI int php_random_int(zend_long min, zend_long max, zend_long *result, bool should_throw)
644 *result = (zend_long)trial;
664 *result = (zend_long)((trial % umax) + min);
681 zend_long seed = 0;
682 zend_long mode = MT_RAND_MT19937;
712 zend_long min, max;
750 zend_long min, max;
774 zend_long size;
802 zend_long min, max, result;