Home
last modified time | relevance | path

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

/external/python/cryptography/src/_cffi_src/openssl/src/
Dosrandom_engine.c98 } urandom_cache = { -1 }; variable
153 if (urandom_cache.fd >= 0) { in dev_urandom_fd()
154 if (fstat(urandom_cache.fd, &st) in dev_urandom_fd()
155 || st.st_dev != urandom_cache.st_dev in dev_urandom_fd()
156 || st.st_ino != urandom_cache.st_ino) { in dev_urandom_fd()
159 urandom_cache.fd = -1; in dev_urandom_fd()
162 if (urandom_cache.fd < 0) { in dev_urandom_fd()
177 if (urandom_cache.fd >= 0) { in dev_urandom_fd()
179 return urandom_cache.fd; in dev_urandom_fd()
181 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/
DTODO68 …thon/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_de…
/external/python/cpython3/Tools/c-analyzer/cpython/
Dignored.tsv2920 Python/bootstrap_hash.c - urandom_cache -