• Home
  • Raw
  • Download

Lines Matching refs:OFlags

16     use rustix::fs::{cwd, openat, seek, Mode, OFlags};  in invalid_offset_seek()
18 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_seek()
22 OFlags::WRONLY | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_seek()
45 use rustix::fs::{cwd, fallocate, openat, FallocateFlags, Mode, OFlags}; in invalid_offset_fallocate()
47 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fallocate()
51 OFlags::WRONLY | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_fallocate()
75 use rustix::fs::{cwd, fadvise, openat, Advice, Mode, OFlags}; in invalid_offset_fadvise()
77 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fadvise()
81 OFlags::WRONLY | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_fadvise()
106 use rustix::fs::{cwd, openat, Mode, OFlags}; in invalid_offset_pread()
109 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_pread()
113 OFlags::RDWR | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_pread()
126 use rustix::fs::{cwd, openat, Mode, OFlags}; in invalid_offset_pwrite()
129 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_pwrite()
133 OFlags::WRONLY | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_pwrite()
146 use rustix::fs::{copy_file_range, cwd, openat, Mode, OFlags}; in invalid_offset_copy_file_range()
149 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_copy_file_range()
153 OFlags::RDWR | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_copy_file_range()
160 OFlags::WRONLY | OFlags::TRUNC | OFlags::CREATE, in invalid_offset_copy_file_range()