Searched refs:urandom_cache (Results 1 – 5 of 5) sorted by relevance
98 } urandom_cache = { -1 }; variable153 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 …]
172 } urandom_cache = { -1 }; variable218 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 …]
295 } urandom_cache = { -1 }; variable334 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 …]
68 …thon/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_de…
2920 Python/bootstrap_hash.c - urandom_cache -