/third_party/ltp/testcases/misc/lvm/datafiles/ |
D | runfile.tpl | 2 {fsname}_gf02 growfiles -W {fsname}_gf02 -d {tempdir}/{fsname} -b -e 1 -L 10 -B 805306368 -i 100 -I… 3 {fsname}_gf03 growfiles -W {fsname}_gf03 -d {tempdir}/{fsname} -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_ 4 {fsname}_gf04 growfiles -W {fsname}_gf04 -d {tempdir}/{fsname} -b -e 1 -g 4090 -i 500 -t 39000 -u -… 5 {fsname}_gf05 growfiles -W {fsname}_gf05 -d {tempdir}/{fsname} -b -e 1 -g 5000 -i 500 -t 49900 -T10… 6 {fsname}_gf16 growfiles -W {fsname}_gf16 -d {tempdir}/{fsname} -b -e 1 -i 0 -L 120 -B 805306368 -u … 7 {fsname}_gf17 growfiles -W {fsname}_gf17 -d {tempdir}/{fsname} -b -e 1 -i 0 -L 120 -B 805306368 -u … 8 {fsname}_gf18 growfiles -W {fsname}_gf18 -d {tempdir}/{fsname} -b -e 1 -i 0 -L 120 -B 805306368 -w … 9 {fsname}_gf19 growfiles -W {fsname}_gf19 -d {tempdir}/{fsname} -b -e 1 -g 5000 -i 500 -t 49900 -T10… 10 {fsname}_gf12 mkfifo {tempdir}/{fsname}/gffifo17; growfiles -W {fsname}_gf12 -b -e 1 -u -i 0 -L 30 … 11 …sname}_gf13 mkfifo {tempdir}/{fsname}/gffifo18; growfiles -W {fsname}_gf13 -b -e 1 -u -i 0 -L 30 -… [all …]
|
/third_party/rust/crates/nix/test/ |
D | test_stat.rs | 99 let tempdir = tempfile::tempdir().unwrap(); in test_stat_and_fstat() localVariable 100 let filename = tempdir.path().join("foo.txt"); in test_stat_and_fstat() 113 let tempdir = tempfile::tempdir().unwrap(); in test_fstatat() localVariable 114 let filename = tempdir.path().join("foo.txt"); in test_fstatat() 117 fcntl::open(tempdir.path(), fcntl::OFlag::empty(), stat::Mode::empty()); in test_fstatat() 129 let tempdir = tempfile::tempdir().unwrap(); in test_stat_fstat_lstat() localVariable 130 let filename = tempdir.path().join("bar.txt"); in test_stat_fstat_lstat() 131 let linkname = tempdir.path().join("barlink"); in test_stat_fstat_lstat() 151 let tempdir = tempfile::tempdir().unwrap(); in test_fchmod() localVariable 152 let filename = tempdir.path().join("foo.txt"); in test_fchmod() [all …]
|
D | test_unistd.rs | 36 use tempfile::{tempdir, tempfile}; 110 let tempdir = tempdir().unwrap(); in test_mkfifo() localVariable 111 let mkfifo_fifo = tempdir.path().join("mkfifo_fifo"); in test_mkfifo() 138 let tempdir = tempdir().unwrap(); in test_mkfifoat_none() localVariable 139 let mkfifoat_fifo = tempdir.path().join("mkfifoat_fifo"); in test_mkfifoat_none() 159 let tempdir = tempdir().unwrap(); in test_mkfifoat() localVariable 160 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat() 197 let tempdir = tempdir().unwrap(); in test_mkfifoat_directory() localVariable 198 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_mkfifoat_directory() 457 let tmpdir = tempdir().unwrap(); in test_fchdir() [all …]
|
D | test_mount.rs | 32 let tempdir = tempfile::tempdir().unwrap(); in test_mount_tmpfs_without_flags_allows_rwx() localVariable 36 tempdir.path(), in test_mount_tmpfs_without_flags_allows_rwx() 43 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx() 93 umount(tempdir.path()) in test_mount_tmpfs_without_flags_allows_rwx() 98 let tempdir = tempfile::tempdir().unwrap(); in test_mount_rdonly_disallows_write() localVariable 102 tempdir.path(), in test_mount_rdonly_disallows_write() 112 File::create(tempdir.path().join("test")) in test_mount_rdonly_disallows_write() 118 umount(tempdir.path()) in test_mount_rdonly_disallows_write() 123 let tempdir = tempfile::tempdir().unwrap(); in test_mount_noexec_disallows_exec() localVariable 127 tempdir.path(), in test_mount_noexec_disallows_exec() [all …]
|
D | test_nmount.rs | 7 use tempfile::tempdir; 13 let mountpoint = tempdir().unwrap(); in ok() 14 let target = tempdir().unwrap(); in ok() 37 let mountpoint = tempdir().unwrap(); in bad_fstype() 38 let target = tempdir().unwrap(); in bad_fstype()
|
D | test_fcntl.rs | 63 let old_dir = tempfile::tempdir().unwrap(); in test_renameat() 68 let new_dir = tempfile::tempdir().unwrap(); in test_renameat() 93 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 98 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags() 137 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_exchange() 145 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_exchange() 185 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_noreplace() 190 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_noreplace() 215 let tempdir = tempfile::tempdir().unwrap(); in test_readlink() localVariable 216 let src = tempdir.path().join("a"); in test_readlink() [all …]
|
D | test_dir.rs | 5 use tempfile::tempdir; 21 let tmp = tempdir().unwrap(); in read() 43 let tmp = tempdir().unwrap(); in rewind()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_inotify.rs | 9 let tempdir = tempfile::tempdir().unwrap(); in test_inotify() localVariable 12 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS) in test_inotify() 18 File::create(tempdir.path().join("test")).unwrap(); in test_inotify() 27 let tempdir = tempfile::tempdir().unwrap(); in test_inotify_multi_events() localVariable 30 .add_watch(tempdir.path(), AddWatchFlags::IN_ALL_EVENTS) in test_inotify_multi_events() 36 File::create(tempdir.path().join("test")).unwrap(); in test_inotify_multi_events() 37 rename(tempdir.path().join("test"), tempdir.path().join("test2")).unwrap(); in test_inotify_multi_events()
|
D | test_uio.rs | 13 use tempfile::tempdir; 126 let tempdir = tempdir().unwrap(); in test_pread() localVariable 128 let path = tempdir.path().join("pread_test_file"); in test_pread() 159 let tempdir = tempdir().unwrap(); in test_pwritev() localVariable 162 let path = tempdir.path().join("pwritev_test_file"); in test_pwritev() 188 let tempdir = tempdir().unwrap(); in test_preadv() localVariable 190 let path = tempdir.path().join("preadv_test_file"); in test_preadv()
|
/third_party/nghttp2/script/ |
D | fetch-ocsp-response | 155 def verify_response(cmd, tempdir, issuer_fn, respder_fn): argument 159 verify_fn = os.path.join(tempdir, 'verify.out') 191 def fetch_ocsp_response(cmd, cert_fn, tempdir, issuer_fn=None): argument 201 issuer_fn = os.path.join(tempdir, 'issuer.crt') 204 respder_fn = os.path.join(tempdir, 'resp.der') 216 if not verify_response(cmd, tempdir, issuer_fn, respder_fn): 243 tempdir = None variable 248 tempdir = tempfile.mkdtemp() variable 249 fetch_ocsp_response(args.openssl, args.certificate, tempdir, 252 if tempdir: [all …]
|
/third_party/python/Lib/test/ |
D | test_glob.py | 15 return os.path.normpath(os.path.join(self.tempdir, *parts)) 18 return [os.path.join(self.tempdir, *parts) for parts in tuples] 28 self.tempdir = TESTFN + "_dir" 43 self.dir_fd = os.open(self.tempdir, os.O_RDONLY | os.O_DIRECTORY) 50 shutil.rmtree(self.tempdir) 57 p = os.path.join(self.tempdir, pattern) 64 with change_cwd(self.tempdir): 72 self.assertCountEqual([os.path.join(self.tempdir, x) for x in res2], 80 self.assertCountEqual(glob.glob(pattern, root_dir=self.tempdir, **kwargs), res2) 81 self.assertCountEqual(glob.iglob(pattern, root_dir=self.tempdir, **kwargs), res2) [all …]
|
D | test_tempfile.py | 347 oldmode = mode = os.stat(tempfile.tempdir).st_mode 349 os.chmod(tempfile.tempdir, mode) 351 if os.access(tempfile.tempdir, os.W_OK): 355 self.assertEqual(os.listdir(tempfile.tempdir), []) 357 os.chmod(tempfile.tempdir, oldmode) 361 tempdir = os.path.join(tempfile.tempdir, 'nonexistent') 362 with support.swap_attr(tempfile, 'tempdir', tempdir): 368 tempdir = os.path.join(tempfile.tempdir, 'file') 369 open(tempdir, 'wb').close() 370 with support.swap_attr(tempfile, 'tempdir', tempdir): [all …]
|
/third_party/python/Lib/test/test_importlib/source/ |
D | test_finder.py | 160 tempdir = tempfile.TemporaryDirectory() 161 original_mode = os.stat(tempdir.name).st_mode 162 def cleanup(tempdir): argument 170 os.chmod(tempdir.name, original_mode) 174 tempdir.__exit__(None, None, None) 175 self.addCleanup(cleanup, tempdir) 176 os.chmod(tempdir.name, stat.S_IWUSR | stat.S_IXUSR) 177 finder = self.get_finder(tempdir.name)
|
/third_party/python/Lib/multiprocessing/ |
D | util.py | 132 def _remove_temp_dir(rmtree, tempdir): argument 133 rmtree(tempdir) 143 tempdir = process.current_process()._config.get('tempdir') 144 if tempdir is None: 146 tempdir = tempfile.mkdtemp(prefix='pymp-') 147 info('created temp directory %s', tempdir) 150 Finalize(None, _remove_temp_dir, args=(shutil.rmtree, tempdir), 152 process.current_process()._config['tempdir'] = tempdir 153 return tempdir
|
/third_party/rust/crates/which-rs/tests/ |
D | basic.rs | 14 pub tempdir: TempDir, field 57 let tempdir = tempfile::tempdir().unwrap(); in new() localVariable 63 let p = tempdir.path().join(d); in new() 70 let p = tempdir.path().join("win-bin"); in new() 75 tempdir, in new() 83 touch(self.tempdir.path(), path, extension) in touch() 87 mk_bin(self.tempdir.path(), path, extension) in mk_bin() 92 which::CanonicalPath::new_in(path, Some(f.paths.clone()), f.tempdir.path()) in _which() 99 which::CanonicalPath::all_in(path, Some(f.paths.clone()), f.tempdir.path()) in _which_all() 146 let temp = f.tempdir; in test_which_re_in_with_matches()
|
/third_party/python/Lib/distutils/tests/ |
D | test_msvc9compiler.py | 143 tempdir = self.mkdtemp() 144 manifest = os.path.join(tempdir, 'manifest') 167 tempdir = self.mkdtemp() 168 manifest = os.path.join(tempdir, 'manifest')
|
/third_party/mksh/ |
D | check.pl | 336 until (mkdir(($tempdir = sprintf("%s%03d", $temps, $tempi)), 0700)) { 339 die "$prog: couldn't cd to $tempdir - $!\n" if !chdir($tempdir); 363 $tempdir = "${temp_dir}/rtd"; 364 mkdir($tempdir, 0700) or die "$prog: couldn't mkdir $tempdir - $!\n"; 406 &scrub_dir($tempdir) if defined $tempdir; 407 rmdir($tempdir) if defined $tempdir; 485 return undef if !&scrub_dir($tempdir); 498 if (!chdir($tempdir)) { 499 print STDERR "$prog: couldn't cd to $tempdir - $!\n";
|
/third_party/skia/tools/ |
D | merge_static_libs.py | 27 tempdir = tempfile.mkdtemp() 32 os.chdir(tempdir) 56 shutil.rmtree(tempdir)
|
/third_party/flutter/skia/tools/ |
D | merge_static_libs.py | 23 tempdir = tempfile.mkdtemp() 28 os.chdir(tempdir) 52 shutil.rmtree(tempdir)
|
/third_party/rust/crates/rustix/tests/fs/ |
D | invalid_offset.rs | 17 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_seek() 46 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_fallocate() 76 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_fadvise() 108 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_pread() 128 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_pwrite() 148 let tmp = tempfile::tempdir().unwrap(); in invalid_offset_copy_file_range()
|
D | utimensat.rs | 6 let tmp = tempfile::tempdir().unwrap(); in test_utimensat() 66 let tmp = tempfile::tempdir().unwrap(); in test_utimensat_noent() 96 let tmp = tempfile::tempdir().unwrap(); in test_utimensat_notdir()
|
/third_party/rust/crates/rustix/tests/termios/ |
D | isatty.rs | 3 use tempfile::{tempdir, TempDir}; 7 tempdir().expect("expected to be able to create a temporary directory") in tmpdir() 12 let tmpdir = tempfile::tempdir().unwrap(); in std_file_is_not_terminal()
|
/third_party/rust/crates/rustix/tests/io/ |
D | read_write.rs | 12 let tmp = tempfile::tempdir().unwrap(); in test_readwrite_pv() 50 let tmp = tempfile::tempdir().unwrap(); in test_readwrite_p() 75 let tmp = tempfile::tempdir().unwrap(); in test_readwrite_v() 102 let tmp = tempfile::tempdir().unwrap(); in test_readwrite() 156 let tmp = tempfile::tempdir().unwrap(); in test_pwritev2()
|
/third_party/elfutils/config/ |
D | upload-release.sh | 25 trap "rm -rf -- ${tempdir}" EXIT 27 pushd "${tempdir}"
|
/third_party/python/Lib/ |
D | tempfile.py | 106 if tempdir is None or isinstance(tempdir, str): 283 tempdir = None variable 287 global tempdir 288 if tempdir is None: 291 if tempdir is None: 292 tempdir = _get_default_tempdir() 295 return tempdir
|