Searched refs:urandom_cache (Results 1 – 6 of 6) sorted by relevance
95 } urandom_cache = { -1 }; variable141 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 …]
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 …]
222 urandom_cache
70 …thon/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_de…
1890 Python/bootstrap_hash.c - urandom_cache variable static struct { int fd; dev_t st_dev; ino_t st_ino…