Lines Matching refs:topfd
470 topfd = open(top, O_RDONLY, dir_fd=dir_fd)
473 path.samestat(orig_st, stat(topfd)))):
474 yield from _fwalk(topfd, top, isinstance(top, bytes),
477 close(topfd)
479 def _fwalk(topfd, toppath, isbytes, topdown, onerror, follow_symlinks):
484 scandir_it = scandir(topfd)
508 yield toppath, dirs, nondirs, topfd
514 orig_st = stat(name, dir_fd=topfd, follow_symlinks=False)
519 dirfd = open(name, O_RDONLY, dir_fd=topfd)
533 yield toppath, dirs, nondirs, topfd