Home
last modified time | relevance | path

Searched refs:urandom_cache (Results 1 – 6 of 6) sorted by relevance

/external/python/cryptography/src/_cffi_src/openssl/src/
Dosrandom_engine.c95 } urandom_cache = { -1 }; variable
141 if (urandom_cache.fd >= 0) { in dev_urandom_fd()
142 if (fstat(urandom_cache.fd, &st) in dev_urandom_fd()
143 || st.st_dev != urandom_cache.st_dev in dev_urandom_fd()
144 || st.st_ino != urandom_cache.st_ino) { in dev_urandom_fd()
147 urandom_cache.fd = -1; in dev_urandom_fd()
150 if (urandom_cache.fd < 0) { in dev_urandom_fd()
168 if (urandom_cache.fd >= 0) { in dev_urandom_fd()
170 return urandom_cache.fd; in dev_urandom_fd()
172 urandom_cache.st_dev = st.st_dev; in dev_urandom_fd()
[all …]
/external/python/cpython2/Python/
Drandom.c172 } urandom_cache = { -1 }; variable
218 if (urandom_cache.fd >= 0) { in dev_urandom_python()
220 if (fstat(urandom_cache.fd, &st) in dev_urandom_python()
221 || st.st_dev != urandom_cache.st_dev in dev_urandom_python()
222 || st.st_ino != urandom_cache.st_ino) { in dev_urandom_python()
226 urandom_cache.fd = -1; in dev_urandom_python()
229 if (urandom_cache.fd >= 0) in dev_urandom_python()
230 fd = urandom_cache.fd; in dev_urandom_python()
253 if (urandom_cache.fd >= 0) { in dev_urandom_python()
257 fd = urandom_cache.fd; in dev_urandom_python()
[all …]
/external/python/cpython3/Python/
Dbootstrap_hash.c295 } urandom_cache = { -1 }; variable
334 if (urandom_cache.fd >= 0) { in dev_urandom()
336 fstat_result = _Py_fstat_noraise(urandom_cache.fd, &st); in dev_urandom()
341 || st.st_dev != urandom_cache.st_dev in dev_urandom()
342 || st.st_ino != urandom_cache.st_ino) { in dev_urandom()
346 urandom_cache.fd = -1; in dev_urandom()
349 if (urandom_cache.fd >= 0) in dev_urandom()
350 fd = urandom_cache.fd; in dev_urandom()
362 if (urandom_cache.fd >= 0) { in dev_urandom()
366 fd = urandom_cache.fd; in dev_urandom()
[all …]
/external/python/cpython3/Tools/c-analyzer/
Dignored-globals.txt222 urandom_cache
DTODO70 …thon/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_de…
Dknown.tsv1890 Python/bootstrap_hash.c - urandom_cache variable static struct { int fd; dev_t st_dev; ino_t st_ino…