Lines Matching refs:tempdir

36 use tempfile::{tempdir, tempfile};
110 let tempdir = tempdir().unwrap();
111 let mkfifo_fifo = tempdir.path().join("mkfifo_fifo");
138 let tempdir = tempdir().unwrap();
139 let mkfifoat_fifo = tempdir.path().join("mkfifoat_fifo");
159 let tempdir = tempdir().unwrap();
160 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
197 let tempdir = tempdir().unwrap();
198 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
457 let tmpdir = tempdir().unwrap();
472 let tmpdir = tempdir().unwrap();
498 let tempdir = tempdir().unwrap();
499 let path = tempdir.path().join("file");
535 let tempdir = tempdir().unwrap();
536 let path = tempdir.path().join("file");
541 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
546 chdir(tempdir.path()).unwrap();
761 let tempdir = tempdir().unwrap();
762 let path = tempdir.path().join("file");
778 let tempdir = tempdir().unwrap();
779 let path = tempdir.path().join("file");
872 let tempdir = tempdir().unwrap();
874 let target = tempdir.path().join("a");
875 let linkpath = tempdir.path().join("b");
882 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
887 readlink(&tempdir.path().join(linkpath))
898 let tempdir = tempdir().unwrap();
900 let oldfilepath = tempdir.path().join(oldfilename);
903 let newfilepath = tempdir.path().join(newfilename);
910 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
930 let tempdir_oldfile = tempdir().unwrap();
934 let tempdir_newfile = tempdir().unwrap();
967 let tempdir_oldfile = tempdir().unwrap();
971 let tempdir_newfile = tempdir().unwrap();
1009 let tempdir = tempdir().unwrap();
1011 let oldfilepath = tempdir.path().join(oldfilename);
1014 let symoldfilepath = tempdir.path().join(symoldfilename);
1017 let newfilepath = tempdir.path().join(newfilename);
1027 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
1052 let tempdir = tempdir().unwrap();
1054 let oldfilepath = tempdir.path().join(oldfilename);
1057 let symoldfilepath = tempdir.path().join(symoldfilename);
1060 let newfilepath = tempdir.path().join(newfilename);
1070 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
1099 let tempdir = tempdir().unwrap();
1101 let dirpath = tempdir.path().join(dirname);
1108 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
1120 let tempdir = tempdir().unwrap();
1122 let dirpath = tempdir.path().join(dirname);
1129 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
1140 let tempdir = tempdir().unwrap();
1142 let filepath = tempdir.path().join(filename);
1149 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty())
1159 let tempdir = tempdir().unwrap();
1160 let dir = tempdir.path().join("does_not_exist.txt");
1169 let tempdir = tempdir().unwrap();
1170 let path = tempdir.path().join("does_exist.txt");
1316 let tempdir = tempfile::tempdir().unwrap();
1317 let dir = tempdir.path().join("does_not_exist.txt");
1330 let tempdir = tempfile::tempdir().unwrap();
1331 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
1350 let tempdir = tempfile::tempdir().unwrap();
1351 let path = tempdir.path().join("does_exist.txt");
1366 let tempdir = tempfile::tempdir().unwrap();
1367 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap();
1369 let path = tempdir.path().join(exist_file);
1387 let tempdir = tempdir().unwrap();
1388 let dir = tempdir.path().join("does_not_exist.txt");
1402 let tempdir = tempdir().unwrap();
1403 let path = tempdir.path().join("does_exist.txt");