Lines Matching refs:OFlags
9 use rustix::fs::{cwd, openat, Mode, OFlags}; in test_readwrite_pv()
13 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_pv()
17 OFlags::RDWR | OFlags::CREATE | OFlags::TRUNC, in test_readwrite_pv()
47 use rustix::fs::{cwd, openat, Mode, OFlags}; in test_readwrite_p()
51 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_p()
55 OFlags::RDWR | OFlags::CREATE | OFlags::TRUNC, in test_readwrite_p()
72 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in test_readwrite_v()
76 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_v()
80 OFlags::RDWR | OFlags::CREATE | OFlags::TRUNC, in test_readwrite_v()
98 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in test_readwrite()
103 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite()
107 OFlags::RDWR | OFlags::CREATE | OFlags::TRUNC, in test_readwrite()
153 use rustix::fs::{cwd, openat, seek, Mode, OFlags}; in test_pwritev2()
157 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_pwritev2()
161 OFlags::RDWR | OFlags::CREATE | OFlags::TRUNC, in test_pwritev2()