Lines Matching defs:dirfd
13 let dirfd = File::open(tmpdir.path()).expect("open tempdir as file");
14 let mut dir = Dir::read_from(dirfd).expect("construct Dir from dirfd");
82 let mut dirfd = File::open(tmpdir.path()).expect("open tempdir as file");
83 let mut dir = RawDir::new(dirfd.try_clone().unwrap(), buf);
90 dirfd.seek(SeekFrom::Start(0)).unwrap();
100 dirfd.seek(SeekFrom::Start(0)).unwrap();
147 let dirfd = rustix::fs::openat(
154 let _dir = Dir::read_from(dirfd).expect("construct Dir from dirfd");