/third_party/rust/crates/rustix/tests/fs/ |
D | openat2.rs | 26 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_openat2() 32 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 56 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 64 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 72 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 82 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 90 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 98 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 106 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() 116 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat2() [all …]
|
D | flock.rs | 6 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 9 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 15 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 17 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 24 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 28 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock()
|
D | long_paths.rs | 7 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_long_paths() 26 let _ = openat(&dir, &long_path, OFlags::RDONLY, Mode::empty()).unwrap(); in test_long_paths() 27 let _ = openat(&dir, &too_long_path, OFlags::RDONLY, Mode::empty()).unwrap_err(); in test_long_paths()
|
D | invalid_offset.rs | 18 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_seek() 47 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fallocate() 77 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_fadvise() 109 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_pread() 129 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_pwrite() 149 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in invalid_offset_copy_file_range()
|
D | file.rs | 17 rustix::fs::OFlags::RDONLY, in test_file() 27 rustix::fs::OFlags::RDONLY, in test_file() 36 rustix::fs::OFlags::RDONLY, in test_file()
|
D | utimensat.rs | 10 OFlags::RDONLY | OFlags::CLOEXEC, in test_utimensat() 70 OFlags::RDONLY | OFlags::CLOEXEC, in test_utimensat_noent() 100 OFlags::RDONLY | OFlags::CLOEXEC, in test_utimensat_notdir()
|
D | dir.rs | 6 rustix::fs::OFlags::RDONLY | rustix::fs::OFlags::CLOEXEC, in test_dir() 16 rustix::fs::OFlags::RDONLY | rustix::fs::OFlags::CLOEXEC, in test_dir()
|
D | y2038.rs | 16 let dir = openat(&cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_y2038_with_utimensat() 73 let file = openat(&dir, "foo", OFlags::RDONLY, Mode::empty()).unwrap(); in test_y2038_with_utimensat() 115 let dir = openat(&cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_y2038_with_futimens() 169 let file = openat(&dir, "foo", OFlags::RDONLY, Mode::empty()).unwrap(); in test_y2038_with_futimens()
|
D | renameat.rs | 18 OFlags::RDONLY | OFlags::PATH, in test_renameat() 41 OFlags::RDONLY | OFlags::PATH, in test_renameat_overwrite() 63 OFlags::RDONLY | OFlags::PATH, in test_renameat_with()
|
D | mkdirat.rs | 7 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_mkdirat() 24 OFlags::RDONLY | OFlags::PATH, in test_mkdirat_with_o_path()
|
D | fcntl.rs | 10 rustix::fs::OFlags::RDONLY, in test_fcntl_dupfd_cloexec()
|
D | openat.rs | 12 OFlags::RDONLY | OFlags::CLOEXEC, in test_openat_tmpfile()
|
D | futimens.rs | 7 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_futimens()
|
D | mknodat.rs | 12 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_mknodat()
|
D | readdir.rs | 150 rustix::fs::OFlags::RDONLY, in dir_from_openat()
|
/third_party/rust/crates/rustix/tests/io/ |
D | read_write.rs | 13 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_pv() 51 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_p() 76 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite_v() 103 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_readwrite() 157 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_pwritev2()
|
D | from_into.rs | 10 rustix::fs::OFlags::RDONLY, in test_owned()
|
/third_party/rust/crates/rustix/tests/mm/ |
D | mmap.rs | 14 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_mmap() 26 let file = openat(&dir, "foo", OFlags::RDONLY, Mode::empty()).unwrap(); in test_mmap() 43 let file = openat(&dir, "foo", OFlags::RDONLY, Mode::empty()).unwrap(); in test_mmap()
|
/third_party/mksh/ |
D | var.c | 277 vp->flag |= RDONLY; in isglobal() 282 vp->flag |= RDONLY; in isglobal() 351 vp->flag = DEFINED|RDONLY; in local() 363 (EXPORT | INTEGER | RDONLY | LJUST | RJUST | in local() 463 if ((vq->flag & RDONLY) && !no_ro_check) { in setstr() 948 if ((vpbase->flag & RDONLY) && in vtypeset() 949 (val || clr || (set & ~(EXPORT | RDONLY)))) in vtypeset() 1197 vp->flag &= ~(INTEGER|RDONLY|SPECIAL); in makenv() 1651 if ((vp->flag&RDONLY)) in set_array() 1861 vp->flag = DEFINED | RDONLY; in record_match() [all …]
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
D | locktests.c | 52 RDONLY, RDONLY, 616 case RDONLY: in master() 782 case RDONLY: in slave() 784 P("TEST READ ONLY %d\n", RDONLY); in slave()
|
D | locktests.h | 107 RDONLY, enumerator
|
/third_party/rust/crates/rustix/tests/process/ |
D | working_directory.rs | 22 let orig_fd_cwd = rustix::fs::openat(rustix::fs::cwd(), ".", OFlags::RDONLY, Mode::empty()) in test_changing_working_directory()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
D | types.rs | 170 const RDONLY = linux_raw_sys::general::O_RDONLY; constant 511 const RDONLY = linux_raw_sys::general::MS_RDONLY as u64; constant 684 const RDONLY = linux_raw_sys::general::MS_RDONLY; constant
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
D | types.rs | 203 const RDONLY = c::O_RDONLY; constant 838 const RDONLY = libc::ST_RDONLY as u64; constant 1162 const RDONLY = c::MS_RDONLY; constant
|
/third_party/rust/crates/rustix/src/fs/ |
D | fd.rs | 281 crate::fs::OFlags::RDONLY => Ok((true, false)), in _is_file_read_write()
|