Lines Matching refs:result

84 	uint32_t result, limit;  in php_random_range32()  local
88 result = 0; in php_random_range32()
92 result = result | (((uint32_t) r.result) << (total_size * 8)); in php_random_range32()
101 return result; in php_random_range32()
109 return result & (umax - 1); in php_random_range32()
116 while (UNEXPECTED(result > limit)) { in php_random_range32()
123 result = 0; in php_random_range32()
127 result = result | (((uint32_t) r.result) << (total_size * 8)); in php_random_range32()
135 return result % umax; in php_random_range32()
143 uint64_t result, limit; in php_random_range64() local
147 result = 0; in php_random_range64()
151 result = result | (r.result << (total_size * 8)); in php_random_range64()
160 return result; in php_random_range64()
168 return result & (umax - 1); in php_random_range64()
175 while (UNEXPECTED(result > limit)) { in php_random_range64()
182 result = 0; in php_random_range64()
186 result = result | (r.result << (total_size * 8)); in php_random_range64()
194 return result % umax; in php_random_range64()
403 return php_random_algo_combinedlcg.generate(state).result * 4.656613e-10;
417 return (uint32_t) php_random_algo_mt19937.generate(php_random_default_status()).result;
438 uint64_t r = php_random_algo_mt19937.generate(php_random_default_status()).result >> 1;
597 zend_long min, max, result; local
609 if (php_random_int_throw(min, max, &result) == FAILURE) {
613 RETURN_LONG(result);
688 uint64_t result = 0; local
690 for (int i = 0; i < sizeof(result); i++) {
691 result = result | (((uint64_t)RANDOM_G(fallback_seed)[i]) << (i * 8));
694 return result;