/third_party/python/Lib/test/ |
D | test_zipapp.py | 20 tmpdir = tempfile.TemporaryDirectory() 21 self.addCleanup(tmpdir.cleanup) 22 self.tmpdir = pathlib.Path(tmpdir.name) 26 source = self.tmpdir / 'source' 29 target = self.tmpdir / 'source.pyz' 35 source = self.tmpdir / 'source' 38 target = self.tmpdir / 'source.pyz' 44 source = self.tmpdir / 'source' 62 source = self.tmpdir / 'source' 67 target = self.tmpdir / 'source.pyz' [all …]
|
/third_party/node/test/sequential/ |
D | test-heap-prof.js | 15 const tmpdir = require('../common/tmpdir'); constant 72 tmpdir.refresh(); 77 cwd: tmpdir.path, 85 const profiles = getHeapProfiles(tmpdir.path); 92 tmpdir.refresh(); 99 cwd: tmpdir.path, 107 const profiles = getHeapProfiles(tmpdir.path); 114 tmpdir.refresh(); 121 cwd: tmpdir.path, 128 const profiles = getHeapProfiles(tmpdir.path); [all …]
|
D | test-diagnostic-dir-cpu-prof.js | 15 const tmpdir = require('../common/tmpdir'); constant 26 tmpdir.refresh(); 27 const dir = path.join(tmpdir.path, 'prof'); 36 cwd: tmpdir.path, 52 tmpdir.refresh(); 53 const dir = path.join(tmpdir.path, 'diag'); 54 const dir2 = path.join(tmpdir.path, 'prof'); 65 cwd: tmpdir.path,
|
D | test-cpu-prof-invalid-options.js | 12 const tmpdir = require('../common/tmpdir'); constant 20 tmpdir.refresh(); 26 cwd: tmpdir.path, 41 tmpdir.refresh(); 47 cwd: tmpdir.path, 62 tmpdir.refresh(); 68 cwd: tmpdir.path,
|
/third_party/flutter/skia/third_party/externals/freetype/builds/cmake/ |
D | testbuild.sh | 37 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/main.c << END [all …]
|
/third_party/skia/third_party/externals/freetype/builds/cmake/ |
D | testbuild.sh | 37 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/main.c << END [all …]
|
/third_party/freetype/builds/cmake/ |
D | testbuild.sh | 37 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/main.c << END [all …]
|
/third_party/rust/crates/libc/ci/ |
D | run.sh | 19 tmpdir=/tmp/qemu-img-creation 20 mkdir -p "${tmpdir}" 25 if [ ! -f "${tmpdir}/${qemufile}" ]; then 27 gunzip -d > "${tmpdir}/${qemufile}" 32 if [ ! -f "${tmpdir}/${qemufile}" ]; then 34 unxz > "${tmpdir}/${qemufile}" 39 if [ ! -f "${tmpdir}/${qemufile}" ]; then 41 > "${tmpdir}/${qemufile}" 48 rm -f "${tmpdir}/libc-test.img" 49 mkdir "${tmpdir}/mount" [all …]
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 136 char tmpdir[MAXPATHLEN]; in runtest() local 141 sprintf(tmpdir, DIR_NAME, j); in runtest() 142 TEST(mkdir(tmpdir, MODE_RWX)); in runtest() 150 if (rmdir(tmpdir) < 0) { in runtest() 250 sprintf(tmpdir, DIR_NAME, j); in runtest() 251 if (rmdir(tmpdir) < 0) { in runtest() 330 char tmpdir[MAXPATHLEN]; in dochild1() local 334 sprintf(tmpdir, DIR_NAME, j); in dochild1() 335 TEST(mkdir(tmpdir, MODE_RWX)); in dochild1() 342 tmpdir, TEST_ERRNO); in dochild1() [all …]
|
/third_party/libuv/test/ |
D | test-tmpdir.c | 29 TEST_IMPL(tmpdir) { in TEST_IMPL() argument 30 char tmpdir[PATHMAX]; in TEST_IMPL() local 36 len = sizeof tmpdir; in TEST_IMPL() 37 tmpdir[0] = '\0'; in TEST_IMPL() 39 ASSERT(strlen(tmpdir) == 0); in TEST_IMPL() 40 r = uv_os_tmpdir(tmpdir, &len); in TEST_IMPL() 42 ASSERT(strlen(tmpdir) == len); in TEST_IMPL() 44 ASSERT(tmpdir[len] == '\0'); in TEST_IMPL() 47 last = tmpdir[len - 1]; in TEST_IMPL() 57 r = uv_os_tmpdir(tmpdir, &len); in TEST_IMPL() [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-mkdir.js | 28 const tmpdir = require('../common/tmpdir'); constant 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.path, nextdir(), nextdir()); 130 const pathname = `${tmpdir.path}/${nextdir()}/../${nextdir()}/${nextdir()}`; [all …]
|
D | test-module-multi-extensions.js | 10 const tmpdir = require('../common/tmpdir'); constant 11 const file = path.join(tmpdir.path, 'test-extensions.foo.bar'); 12 const dotfile = path.join(tmpdir.path, '.bar'); 13 const dotfileWithExtension = path.join(tmpdir.path, '.foo.bar'); 15 tmpdir.refresh(); 23 const modulePath = path.join(tmpdir.path, 'test-extensions'); 34 const modulePath = path.join(tmpdir.path, 'test-extensions'); 47 const modulePath = path.join(tmpdir.path, 'test-extensions'); 59 const modulePath = path.join(tmpdir.path, 'test-extensions.foo'); 69 const modulePath = path.join(tmpdir.path, 'test-extensions.foo');
|
D | test-heapsnapshot-near-heap-limit.js | 4 const tmpdir = require('../common/tmpdir'); constant 15 tmpdir.refresh(); 21 cwd: tmpdir.path, 29 tmpdir.refresh(); 36 cwd: tmpdir.path, 43 const list = fs.readdirSync(tmpdir.path) 50 tmpdir.refresh(); 57 cwd: tmpdir.path, 65 const list = fs.readdirSync(tmpdir.path)
|
D | test-fs-chmod-mask.js | 20 const tmpdir = require('../common/tmpdir'); constant 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.path, `lchmodSync-src-${suffix}`); 80 const file = path.join(tmpdir.path, `lchmodSync-dest-${suffix}`);
|
D | test-fs-append-file.js | 28 const tmpdir = require('../common/tmpdir'); constant 40 tmpdir.refresh(); 46 const filename = join(tmpdir.path, 'append.txt'); 57 const filename = join(tmpdir.path, 'append-promise.txt'); 69 const filename = join(tmpdir.path, 'append-non-empty.txt'); 82 const filename = join(tmpdir.path, 'append-non-empty-promise.txt'); 96 const filename = join(tmpdir.path, 'append-buffer.txt'); 110 const filename = join(tmpdir.path, 'append-buffer-promises.txt'); 129 const filename = join(tmpdir.path, 'append-invalid-data.txt'); 157 const filename = join(tmpdir.path, 'append-descriptors.txt'); [all …]
|
D | test-fs-utils-get-dirents.js | 12 const tmpdir = require('../common/tmpdir'); constant 17 tmpdir.refresh(); 18 fs.writeFileSync(path.join(tmpdir.path, filename), ''); 24 tmpdir.path, 35 tmpdir.path, 46 Buffer.from(tmpdir.path), 73 tmpdir.path, 86 tmpdir.path, 99 Buffer.from(tmpdir.path),
|
D | test-child-process-cwd.js | 25 const tmpdir = require('../common/tmpdir'); constant 26 tmpdir.refresh(); 75 }, 'number', 0, tmpdir.path); 82 }, 'number', 0, tmpdir.path); 88 testCwd({ cwd: tmpdir.path }, 'number', 0, tmpdir.path); 91 testCwd({ cwd: pathToFileURL(tmpdir.path) }, 'number', 0, tmpdir.path);
|
D | test-fs-mkdtemp.js | 8 const tmpdir = require('../common/tmpdir'); constant 9 tmpdir.refresh(); 11 const tmpFolder = fs.mkdtempSync(path.join(tmpdir.path, 'foo.')); 16 const utf8 = fs.mkdtempSync(path.join(tmpdir.path, '\u0222abc.')); 27 fs.mkdtemp(path.join(tmpdir.path, 'bar.'), common.mustCall(handler)); 31 fs.mkdtemp(path.join(tmpdir.path, 'bar.'), {}, common.mustCall(handler)); 36 fs.mkdtemp(path.join(tmpdir.path, 'bar.X'), common.mustCall(handler));
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd02.c | 47 char *tmpdir = "/tmp"; in get_tmpdir_path() local 49 if (dir_exists(tmpdir)) in get_tmpdir_path() 53 tmpdir = getenv("TMPDIR"); in get_tmpdir_path() 54 if (!tmpdir) in get_tmpdir_path() 57 if (tmpdir[0] != '/') in get_tmpdir_path() 60 if (!dir_exists(tmpdir)) in get_tmpdir_path() 61 tst_brk(TBROK | TERRNO, "TMPDIR '%s' doesn't exist", tmpdir); in get_tmpdir_path() 64 return tmpdir; in get_tmpdir_path() 95 const char *tmpdir = get_tmpdir_path(); in setup() local 97 SAFE_CHDIR(tmpdir); in setup() [all …]
|
/third_party/node/test/report/ |
D | test-report-fatal-error.js | 10 const tmpdir = require('../common/tmpdir'); constant 36 tmpdir.refresh(); 38 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); 41 const reports = helper.findReports(child.pid, tmpdir.path); 56 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); 58 const reports = helper.findReports(child.pid, tmpdir.path); 65 tmpdir.refresh(); 66 const dir = '--report-directory=' + tmpdir.path; 71 const reports = helper.findReports(child.pid, tmpdir.path); 83 tmpdir.refresh(); [all …]
|
D | test-report-writereport.js | 10 const tmpdir = require('../common/tmpdir'); constant 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.path).length, 0); 99 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/test/ |
D | process-exec-sync.js | 15 var child, error, timeout, tmpdir, command 39 tmpdir = osTempBase + 'processExecSync.' + Date.now() + Math.random() 40 fs.mkdirSync(tmpdir) 44 command = '(' + command + ' > ' + tmpdir + '/stdout 2> ' + tmpdir + 45 '/stderr); echo $? > ' + tmpdir + '/status' 47 command = '(' + command + ' > ' + tmpdir + '/stdout 2> ' + tmpdir + 48 '/stderr) | echo %errorlevel% > ' + tmpdir + '/status | exit' 58 var x = fs.readFileSync(tmpdir + '/status') 71 child[file] = fs.readFileSync(tmpdir + '/' + file, options.encoding) 72 setTimeout(unlinkFile, 500, tmpdir + '/' + file) [all …]
|
/third_party/python/Lib/distutils/tests/ |
D | test_archive_util.py | 69 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_name, suffix, **kwargs): argument [all …]
|
/third_party/node/tools/ |
D | release.sh | 115 tmpdir="/tmp/_node_release.$$" 117 mkdir -p $tmpdir 120 scp ${customsshkey} "${webuser}@${webhost}:${shapath}" "${tmpdir}/${shafile}" 122 gpg --default-key "$gpgkey" --clearsign --digest-algo SHA256 "${tmpdir}/${shafile}" 123 gpg --default-key "$gpgkey" --detach-sign --digest-algo SHA256 "${tmpdir}/${shafile}" 125 echo "Wrote to ${tmpdir}/" 130 cat "${tmpdir}/${shafile}.asc" 145 …scp ${customsshkey} "${tmpdir}/${shafile}" "${tmpdir}/${shafile}.asc" "${tmpdir}/${shafile}.sig" "… 152 rm -rf $tmpdir
|
/third_party/node/deps/npm/node_modules/os-tmpdir/ |
D | readme.md | 1 # os-tmpdir [](https… 3 > Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.… 5 Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js vers… 11 $ npm install --save os-tmpdir 18 const osTmpdir = require('os-tmpdir'); 27 See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).
|