Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 - 25 of 262) sorted by relevance

1234567891011

/third_party/python/Lib/test/
H A Dtest_zipapp.py21 tmpdir = tempfile.TemporaryDirectory()
22 self.addCleanup(tmpdir.cleanup)
23 self.tmpdir = pathlib.Path(tmpdir.name)
27 source = self.tmpdir / 'source'
30 target = self.tmpdir / 'source.pyz'
36 source = self.tmpdir / 'source'
39 target = self.tmpdir / 'source.pyz'
45 source = self.tmpdir / 'source'
63 source = self.tmpdir / 'sourc
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-mkdtemp.js8 const tmpdir = require('../common/tmpdir');
9 tmpdir.refresh();
19 const tmpFolder = fs.mkdtempSync(path.join(tmpdir.path, 'foo.'));
24 const utf8 = fs.mkdtempSync(path.join(tmpdir.path, '\u0222abc.'));
29 fs.mkdtemp(path.join(tmpdir.path, 'bar.'), common.mustCall(handler));
33 fs.mkdtemp(path.join(tmpdir.path, 'bar.'), {}, common.mustCall(handler));
38 fs.mkdtemp(path.join(tmpdir.path, 'bar.X'), common.mustCall(handler));
43 const tmpFolder = fs.mkdtempSync(tmpdir.fileURL('foo.'));
48 const utf8 = fs.mkdtempSync(tmpdir
[all...]
H A Dtest-fs-mkdir.js28 const tmpdir = require('../common/tmpdir');
29 tmpdir.refresh();
38 const pathname = path.join(tmpdir.path, nextdir());
48 const pathname = path.join(tmpdir.path, nextdir());
58 const pathname = path.join(tmpdir.path, nextdir());
68 const pathname = path.join(tmpdir.path, nextdir());
77 const pathname = path.join(tmpdir.path, nextdir());
106 const pathname = path.join(tmpdir.path, nextdir(), nextdir());
117 const pathname = path.join(tmpdir
[all...]
H A Dtest-fs-chmod-mask.js20 const tmpdir = require('../common/tmpdir');
21 tmpdir.refresh();
29 const file = path.join(tmpdir.path, `chmod-async-${suffix}.txt`);
38 const file = path.join(tmpdir.path, `chmodSync-${suffix}.txt`);
46 const file = path.join(tmpdir.path, `fchmod-async-${suffix}.txt`);
57 const file = path.join(tmpdir.path, `fchmodSync-${suffix}.txt`);
68 const link = path.join(tmpdir.path, `lchmod-src-${suffix}`);
69 const file = path.join(tmpdir.path, `lchmod-dest-${suffix}`);
79 const link = path.join(tmpdir
[all...]
H A Dtest-fs-rm.js4 const tmpdir = require('../common/tmpdir');
13 tmpdir.refresh();
17 path.join(tmpdir.path, `${name}-${count++}`);
131 path.join(tmpdir.path, 'noexist.txt'),
139 const filePath = path.join(tmpdir.path, 'rm-async-file.txt');
151 const linkTarget = path.join(tmpdir.path, 'link-target-async.txt');
153 const validLink = path.join(tmpdir.path, 'valid-link-async');
166 const invalidLink = path.join(tmpdir.path, 'invalid-link-async');
178 const loopLinkA = path.join(tmpdir
[all...]
H A Dtest-child-process-cwd.js25 const tmpdir = require('../common/tmpdir');
26 tmpdir.refresh();
74 }, 'number', 0, tmpdir.path);
81 }, 'number', 0, tmpdir.path);
87 testCwd({ cwd: tmpdir.path }, 'number', 0, tmpdir.path);
90 testCwd({ cwd: tmpdir.fileURL() }, 'number', 0, tmpdir.path);
H A Dtest-fs-watch-encoding.js25 const tmpdir = require('../common/tmpdir');
26 tmpdir.refresh();
29 const a = path.join(tmpdir.path, fn);
48 tmpdir.path,
61 tmpdir.path,
73 tmpdir.path,
H A Dtest-snapshot-weak-reference.js8 const tmpdir = require('../common/tmpdir');
13 tmpdir.refresh();
14 const blobPath = path.join(tmpdir.path, 'snapshot.blob');
27 cwd: tmpdir.path
34 const stats = fs.statSync(path.join(tmpdir.path, 'snapshot.blob'));
45 cwd: tmpdir.path,
H A Dtest-fs-utimes.js29 const tmpdir = require('../common/tmpdir');
30 tmpdir.refresh();
32 const lpath = `${tmpdir.path}/symlink`;
73 const stats = fs.statSync(tmpdir.path);
101 fs.utimes(pathType(tmpdir.path), atime, mtime, common.mustCall((err) => {
102 expect_ok('utimes', tmpdir.path, err, atime, mtime);
112 fd = fs.openSync(tmpdir.path, 'r+');
114 fd = fs.openSync(tmpdir.path, 'r');
132 fs.utimesSync(pathType(tmpdir
[all...]
H A Dtest-fs-stream-double-close.js26 const tmpdir = require('../common/tmpdir');
27 tmpdir.refresh();
33 test1(fs.createWriteStream(`${tmpdir.path}/dummy1`));
34 test2(fs.createWriteStream(`${tmpdir.path}/dummy2`));
35 test3(fs.createWriteStream(`${tmpdir.path}/dummy3`));
H A Dtest-fs-symlink-dir.js16 const tmpdir = require('../common/tmpdir');
17 tmpdir.refresh();
21 path.join(tmpdir.path, 'absolute-target'),
24 path.relative(process.cwd(), path.join(tmpdir.path, 'relative-path')),
25 path.join(tmpdir.path, 'absolute-path'),
40 fs.mkdirSync(path.resolve(tmpdir.path, linkTarget));
H A Dtest-runner-import-no-scheme.js3 const tmpdir = require('../common/tmpdir');
30 tmpdir.refresh();
32 const packageRoot = path.join(tmpdir.path, 'node_modules', 'test');
33 const reportersDir = path.join(tmpdir.path, 'node_modules', 'test', 'reporters');
42 const child = spawnSync(process.execPath, argv, { cwd: tmpdir.path });
62 const dummyFile = path.join(tmpdir.path, 'file.js');
H A Dtest-v8-coverage.js11 const tmpdir = require('../common/tmpdir');
12 tmpdir.refresh();
21 const coverageDirectory = path.join(tmpdir.path, nextdir());
40 const coverageDirectory = path.join(tmpdir.path, nextdir());
58 const coverageDirectory = path.join(tmpdir.path, nextdir());
77 const coverageDirectory = path.join(tmpdir.path, nextdir());
98 const coverageDirectory = path.join(tmpdir.path, nextdir());
118 const coverageDirectory = path.join(tmpdir.path, nextdir());
138 const coverageDirectory = path.join(tmpdir
[all...]
/third_party/skia/third_party/externals/freetype/builds/cmake/
H A Dtestbuild.sh37 tmpdir=/tmp/freetype-cmake-testbuild
38 rm -rf $tmpdir
39 mkdir -p $tmpdir
55 -DCMAKE_INSTALL_PREFIX=$tmpdir/out"
58 -B$tmpdir/ftb \
61 (set -x; cmake --build $tmpdir/ftb \
65 (set -x; cmake $tmpdir/ftb \
67 (set -x; cmake --build $tmpdir/ftb \
75 cat >$tmpdir/CMakeLists.txt << END
91 cat >$tmpdir/mai
[all...]
/third_party/libuv/test/
H A Dtest-tmpdir.c29 TEST_IMPL(tmpdir) { in TEST_IMPL()
30 char tmpdir[PATHMAX]; in TEST_IMPL() local
36 len = sizeof tmpdir; in TEST_IMPL()
37 tmpdir[0] = '\0'; in TEST_IMPL()
39 ASSERT_OK(strlen(tmpdir)); in TEST_IMPL()
40 r = uv_os_tmpdir(tmpdir, &len); in TEST_IMPL()
42 ASSERT_EQ(strlen(tmpdir), len); in TEST_IMPL()
44 ASSERT_EQ(tmpdir[len], '\0'); in TEST_IMPL()
47 last = tmpdir[len - 1]; in TEST_IMPL()
57 r = uv_os_tmpdir(tmpdir, in TEST_IMPL()
[all...]
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir09.c37 char tmpdir[MAXPATHLEN]; in test1() local
41 sprintf(tmpdir, DIR_NAME, j); in test1()
42 TST_EXP_FAIL_SILENT(mkdir(tmpdir, MODE_RWX), EEXIST); in test1()
57 char tmpdir[MAXPATHLEN]; in test2() local
61 sprintf(tmpdir, DIR_NAME, j); in test2()
62 TST_EXP_FAIL_SILENT(rmdir(tmpdir), ENOENT); in test2()
77 char tmpdir[MAXPATHLEN]; in test3() local
81 sprintf(tmpdir, DIR_NAME_GROUP, j, child_num / NCHILD); in test3()
82 TST_EXP_PASS_SILENT(mkdir(tmpdir, MODE_RWX)); in test3()
87 sprintf(tmpdir, DIR_NAME_GROU in test3()
130 char tmpdir[MAXPATHLEN]; setup() local
[all...]
/third_party/python/Lib/distutils/tests/
H A Dtest_archive_util.py69 tmpdir = self._create_files()
70 self._make_tarball(tmpdir, name, '.tar.gz')
72 self._make_tarball(tmpdir, name, '.tar', compress=None)
76 tmpdir = self._create_files()
77 self._make_tarball(tmpdir, 'archive', '.tar.gz', compress='gzip')
81 tmpdir = self._create_files()
82 self._make_tarball(tmpdir, 'archive', '.tar.bz2', compress='bzip2')
86 tmpdir = self._create_files()
87 self._make_tarball(tmpdir, 'archive', '.tar.xz', compress='xz')
106 def _make_tarball(self, tmpdir, target_nam
[all...]
/third_party/node/test/report/
H A Dtest-report-writereport.js10 const tmpdir = require('../common/tmpdir');
12 tmpdir.refresh();
13 process.report.directory = tmpdir.path;
16 const reports = helper.findReports(process.pid, tmpdir.path);
53 const absolutePath = path.join(tmpdir.path, file);
54 assert.strictEqual(helper.findReports(process.pid, tmpdir.path).length, 0);
64 const absolutePath = path.join(tmpdir.path, file);
65 assert.strictEqual(helper.findReports(process.pid, tmpdir.path).length, 0);
75 assert.strictEqual(helper.findReports(process.pid, tmpdir
[all...]
/third_party/node/tools/
H A Drelease.sh117 tmpdir="/tmp/_node_release.$$"
119 mkdir -p $tmpdir
122 scp ${customsshkey} "${webuser}@${webhost}:${shapath}" "${tmpdir}/${shafile}"
124 gpg --default-key "$gpgkey" --clearsign --digest-algo SHA256 "${tmpdir}/${shafile}"
125 gpg --default-key "$gpgkey" --detach-sign --digest-algo SHA256 "${tmpdir}/${shafile}"
127 echo "Wrote to ${tmpdir}/"
132 cat "${tmpdir}/${shafile}.asc"
147 scp ${customsshkey} "${tmpdir}/${shafile}" "${tmpdir}/${shafile}.asc" "${tmpdir}/
[all...]
/third_party/node/tools/icu/
H A Dicutrim.py59 dest="tmpdir",
91 for opt in [ "datfile", "filterfile", "tmpdir", "outfile" ]:
99 if (os.path.isdir(options.tmpdir) and options.deltmpdir):
101 print("Deleting tmp dir %s.." % (options.tmpdir))
102 shutil.rmtree(options.tmpdir)
104 if not (os.path.isdir(options.tmpdir)):
105 os.mkdir(options.tmpdir)
107 print("Please delete tmpdir %s before beginning." % options.tmpdir)
117 if not os.path.isdir(options.tmpdir)
[all...]
/third_party/node/test/sequential/
H A Dtest-diagnostic-dir-heap-prof.js15 const tmpdir = require('../common/tmpdir');
68 tmpdir.refresh();
69 const dir = path.join(tmpdir.path, 'prof');
78 cwd: tmpdir.path,
93 tmpdir.refresh();
94 const dir = path.join(tmpdir.path, 'diag');
95 const dir2 = path.join(tmpdir.path, 'prof');
106 cwd: tmpdir.path,
/third_party/skia/third_party/externals/libwebp/swig/
H A Dsetup.py11 tmpdir = tempfile.mkdtemp() variable
13 package_path = os.path.join(tmpdir, *package.split("."))
17 initpy_path = tmpdir
35 package_dir={"": tmpdir},
40 shutil.rmtree(tmpdir)
/third_party/icu/tools/scripts/
H A Dbldicures.py60 tmpdir = 'tmp' variable
61 os.makedirs('%s/%s/' % (args.destdir, tmpdir))
63 listname = '%s/%s/icufiles.lst' % (args.destdir, tmpdir)
93 idxname = '%s/%s/res_index.txt' % (args.destdir, tmpdir)
108 add_res('%s/%s/res_index.res' % (args.destdir,tmpdir), idxname, 'res_index')
111 resf = '%s/%s/%s.res' % (args.destdir,tmpdir,loc)
149 cmd = 'genrb -d "%s/%s" "%s"' % (args.destdir, tmpdir, item["txt"])
154 cmd = 'pkgdata -m "%s" -T "%s/%s" -p "%s" -s "%s/%s" -d "%s" "%s"' % (pkgmode,args.destdir,tmpdir,args.name,args.destdir,tmpdir,args.destdir,listname)
165 tmpfile = "%s/%s/%s.dat" % (args.destdir, tmpdir, arg
[all...]
/third_party/icu/vendor/double-conversion/
H A Dpull-from-upstream.sh14 tmpdir=`mktemp -d`;
15 filename="$tmpdir/$1.tar.gz"
16 upstream_root_tmp="$tmpdir/upstream"
17 patch_root_tmp="$tmpdir/patches"
79 echo "Temporary files have been saved in $tmpdir";
83 rm -rf "$tmpdir";
/third_party/node/test/common/
H A Dsnapshot.js3 const tmpdir = require('../common/tmpdir');
12 path.join(tmpdir.path, 'snapshot.blob'),
16 cwd: tmpdir.path,
32 const stats = fs.statSync(path.join(tmpdir.path, 'snapshot.blob'));
39 const args = ['--snapshot-blob', path.join(tmpdir.path, 'snapshot.blob')];
44 cwd: tmpdir.path,

Completed in 6 milliseconds

1234567891011