Lines Matching refs:OFlag
5 use nix::fcntl::OFlag;
160 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat()
198 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat_directory()
541 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_fchownat()
751 let (fd0, fd1) = pipe2(OFlag::O_CLOEXEC).unwrap(); in test_pipe2()
882 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_symlinkat()
910 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_linkat_file()
944 fcntl::OFlag::empty(), in test_linkat_olddirfd_none()
981 fcntl::OFlag::empty(), in test_linkat_newdirfd_none()
1027 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_linkat_no_follow_symlink()
1070 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_linkat_follow_symlink()
1108 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_unlinkat_dir_noremovedir()
1129 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_unlinkat_dir_removedir()
1149 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()) in test_unlinkat_file()
1238 let fd = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in test_ttyname()
1247 let fds = open(Path::new(&sname), OFlag::O_RDWR, stat::Mode::empty()) in test_ttyname()
1331 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_faccessat_not_existing()
1367 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_faccessat_file_exists()