Lines Matching refs:errstr
69 …L PHPAPI zend_result php_random_bytes_ex(void *bytes, size_t size, char *errstr, size_t errstr_siz… in php_random_bytes_ex() argument
74 …snprintf(errstr, errstr_size, "Failed to retrieve randomness from the operating system (BCryptGenR… in php_random_bytes_ex()
85 …snprintf(errstr, errstr_size, "Failed to retrieve randomness from the operating system (CCRandomGe… in php_random_bytes_ex()
159 snprintf(errstr, errstr_size, "Cannot open /dev/urandom: %s", strerror(errno)); in php_random_bytes_ex()
161 snprintf(errstr, errstr_size, "Cannot open /dev/urandom"); in php_random_bytes_ex()
177 snprintf(errstr, errstr_size, "Error reading from /dev/urandom: %s", strerror(errno)); in php_random_bytes_ex()
179 snprintf(errstr, errstr_size, "Error reading from /dev/urandom"); in php_random_bytes_ex()
198 snprintf(errstr, errstr_size, "Could not gather sufficient random data: %s", strerror(errno)); in php_random_bytes_ex()
200 snprintf(errstr, errstr_size, "Could not gather sufficient random data"); in php_random_bytes_ex()
215 char errstr[128]; in php_random_bytes() local
216 zend_result result = php_random_bytes_ex(bytes, size, errstr, sizeof(errstr)); in php_random_bytes()
219 zend_throw_exception(random_ce_Random_RandomException, errstr, 0); in php_random_bytes()