Lines Matching refs:raise
48 win32_urandom_init(int raise) in win32_urandom_init() argument
58 if (raise) { in win32_urandom_init()
67 win32_urandom(unsigned char *buffer, Py_ssize_t size, int raise) in win32_urandom() argument
71 if (win32_urandom_init(raise) == -1) { in win32_urandom()
82 if (raise) { in win32_urandom()
111 py_getrandom(void *buffer, Py_ssize_t size, int blocking, int raise) in py_getrandom() argument
139 if (raise) { in py_getrandom()
151 if (raise) { in py_getrandom()
180 if (errno == EAGAIN && !raise && !blocking) { in py_getrandom()
185 if (raise) { in py_getrandom()
195 if (raise) { in py_getrandom()
224 py_getentropy(char *buffer, Py_ssize_t size, int raise)
232 py_getentropy(char *buffer, Py_ssize_t size, int raise) in py_getentropy() argument
248 if (raise) { in py_getentropy()
267 if (raise) { in py_getentropy()
277 if (raise) { in py_getentropy()
325 dev_urandom(char *buffer, Py_ssize_t size, int raise) in dev_urandom() argument
330 if (raise) { in dev_urandom()
498 pyurandom(void *buffer, Py_ssize_t size, int blocking, int raise) in pyurandom() argument
505 if (raise) { in pyurandom()
517 return win32_urandom((unsigned char *)buffer, size, raise); in pyurandom()
523 res = py_getrandom(buffer, size, blocking, raise); in pyurandom()
525 res = py_getentropy(buffer, size, raise); in pyurandom()
538 return dev_urandom(buffer, size, raise); in pyurandom()