Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 25 of 38) sorted by relevance

12

/third_party/ltp/testcases/misc/lvm/datafiles/
Drunfile.tpl2 {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/curl/src/
Dtool_dirhie.c104 char *tempdir; in create_dir_hierarchy() local
125 tempdir = strtok(outdup, PATH_DELIMITERS); in create_dir_hierarchy()
127 while(tempdir != NULL) { in create_dir_hierarchy()
135 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
137 if(outdup == tempdir) { in create_dir_hierarchy()
145 char *p = strchr(tempdir, ':'); in create_dir_hierarchy()
150 strcpy(dirbuildup, tempdir); in create_dir_hierarchy()
153 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
163 tempdir = tempdir2; in create_dir_hierarchy()
/third_party/nghttp2/script/
Dfetch-ocsp-response155 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/
Dtest_glob.py15 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 …]
Dtest_tempfile.py347 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 …]
Dtest_httpservers.py341 self.tempdir = tempfile.mkdtemp(dir=basetempdir)
342 self.tempdir_name = os.path.basename(self.tempdir)
344 tempname = os.path.join(self.tempdir, 'test')
360 shutil.rmtree(self.tempdir)
400 with open(os.path.join(self.tempdir, filename), 'wb') as f:
406 for name in os.listdir(self.tempdir):
452 os.chmod(self.tempdir, 0)
457 os.chmod(self.tempdir, 0o755)
542 fullpath = os.path.join(self.tempdir, filename)
Dtest_tarfile.py1283 tempdir = os.path.join(TEMPDIR, "filter")
1284 os.mkdir(tempdir)
1287 name = os.path.join(tempdir, name)
1299 tar.add(tempdir, arcname="empty_dir", filter=filter)
1305 tar.add(tempdir, "empty_dir", True, None, filter)
1316 os_helper.rmtree(tempdir)
1354 tempdir = os.path.join(TEMPDIR, "testsymlinks")
1356 os.mkdir(tempdir)
1358 source_file = os.path.join(tempdir,'source')
1359 target_file = os.path.join(tempdir,'symlink')
[all …]
/third_party/python/Lib/test/test_importlib/source/
Dtest_finder.py160 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/curl/
Dmaketgz196 rm -rf $tempdir
197 mkdir $tempdir
198 cd $tempdir
203 rm -rf $tempdir
208 tempdir=".builddir"
/third_party/python/Lib/multiprocessing/
Dutil.py132 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/python/Lib/distutils/tests/
Dtest_msvc9compiler.py143 tempdir = self.mkdtemp()
144 manifest = os.path.join(tempdir, 'manifest')
167 tempdir = self.mkdtemp()
168 manifest = os.path.join(tempdir, 'manifest')
/third_party/mksh/
Dcheck.pl336 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/
Dmerge_static_libs.py27 tempdir = tempfile.mkdtemp()
32 os.chdir(tempdir)
56 shutil.rmtree(tempdir)
/third_party/flutter/skia/tools/
Dmerge_static_libs.py23 tempdir = tempfile.mkdtemp()
28 os.chdir(tempdir)
52 shutil.rmtree(tempdir)
/third_party/grpc/src/python/grpcio/
Dsupport.py54 tempdir = tempfile.mkdtemp()
55 cpath = os.path.join(tempdir, 'a.c')
63 shutil.rmtree(tempdir)
/third_party/python/Lib/
Dtempfile.py106 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
Dwebbrowser.py413 tempdir = os.path.join(tempfile.gettempdir(),
416 filename = os.path.join(glob.escape(tempdir), glob.escape(user) + "-*")
/third_party/python/Lib/test/test_importlib/
Dfixtures.py15 def tempdir(): function
34 with tempdir() as tmp:
58 self.site_dir = self.fixtures.enter_context(tempdir())
/third_party/ninja/src/
Dtest.cc74 const char* tempdir = getenv("TMPDIR"); in GetSystemTempDir()
75 if (tempdir) in GetSystemTempDir()
76 return tempdir; in GetSystemTempDir()
/third_party/grpc/tools/run_tests/python_utils/
Dstart_port_server.py75 tempdir = tempfile.mkdtemp()
82 cwd=tempdir,
/third_party/PyYAML/
Dsetup.py258 tempdir = tempfile.TemporaryDirectory(prefix='test_pyyaml')
262 temp_test_path = pathlib.Path(tempdir.name) / 'pyyaml'
273 tempdir.cleanup()
/third_party/boost/libs/serialization/test/
Dtest_tools.hpp144 boost::filesystem::path tempdir(tmpdir()); in tmpnam() local
147 boost::filesystem::path temp = tempdir / tempfilename; in tmpnam()
/third_party/python/Lib/test/libregrtest/
Dmain.py198 if ns.tempdir:
199 ns.tempdir = os.path.expanduser(ns.tempdir)
587 if self.ns.tempdir:
588 self.tmp_dir = self.ns.tempdir
656 self.ns.tempdir = test_cwd
/third_party/python/Doc/library/
Dtempfile.rst258 :data:`tempdir` below.
262 Always returns a str. Previously it would return any :data:`tempdir`
289 .. data:: tempdir
296 If ``tempdir`` is ``None`` (the default) at any call to any of the above
302 Beware that if you set ``tempdir`` to a bytes value, there is a
/third_party/cef/tests/ceftests/
Drequest_context_unittest.cc138 CefScopedTempDir tempdir; in TEST() local
139 EXPECT_TRUE(tempdir.CreateUniqueTempDirUnderPath( in TEST()
143 CefString(&settings.cache_path) = tempdir.GetPath(); in TEST()

12