Home
last modified time | relevance | path

Searched refs:tmpdir (Results 226 - 250 of 274) sorted by relevance

1234567891011

/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
H A Drun_cpuctl_test_fj.sh66 find $CPUCTL -type d | sort | sed -n '2,$p' | tac | while read -r tmpdir
71 done < $tmpdir/tasks
72 rmdir $tmpdir || return 1
/third_party/node/test/parallel/
H A Dtest-fs-promises.js5 const tmpdir = require('../common/tmpdir');
38 const tmpDir = tmpdir.path;
119 tmpdir.refresh();
H A Dtest-repl-history-navigation.js15 const tmpdir = require('../common/tmpdir');
16 tmpdir.refresh();
21 const defaultHistoryPath = path.join(tmpdir.path, '.node_repl_history');
H A Dtest-crypto-sign-verify.js617 const tmpdir = require('../common/tmpdir');
618 tmpdir.refresh();
620 const sigfile = path.join(tmpdir.path, 's5.sig');
622 const msgfile = path.join(tmpdir.path, 's5.msg');
H A Dtest-repl.js25 const tmpdir = require('../common/tmpdir');
970 tmpdir.refresh();
/third_party/node/test/common/
H A Dtmpdir.js29 // use the tmpdir and only the parent will clean on exit.
42 console.error('Can\'t clean tmpdir:', tmpPath);
/third_party/node/test/sequential/
H A Dtest-async-wrap-getasyncid.js13 const tmpdir = require('../common/tmpdir');
192 tmpdir.refresh();
H A Dtest-module-loading.js24 const tmpdir = require('../common/tmpdir');
195 tmpdir.refresh();
196 require(tmpdir.path);
198 (err) => err.message.startsWith(`Cannot find module '${tmpdir.path}`)
281 'common/tmpdir.js': {}
/third_party/node/deps/npm/test/fixtures/
H A Dsandbox.js3 const { homedir, tmpdir } = require('os')
146 .split(normalize(tmpdir())).join('{TMP}')
/third_party/libsnd/src/
H A Dcommon.c1823 { const char * tmpdir ; in psf_open_tmpfile() local
1827 tmpdir = getenv ("TEMP") ; in psf_open_tmpfile()
1829 { tmpdir = getenv ("TMPDIR") ; in psf_open_tmpfile()
1830 tmpdir = tmpdir == NULL ? "/tmp" : tmpdir ; in psf_open_tmpfile()
1833 if (tmpdir && access (tmpdir, R_OK | W_OK | X_OK) == 0) in psf_open_tmpfile()
1834 { snprintf (fname, fnamelen, "%s/%x%x-alac.tmp", tmpdir, psf_rand_int32 (), psf_rand_int32 ()) ; in psf_open_tmpfile()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify16.c58 static char dname1[BUF_SIZE], dname2[BUF_SIZE], tmpdir[BUF_SIZE]; variable
240 /* Ignore FAN_RENAME to/from tmpdir */
251 /* Ignore FAN_RENAME to/from tmpdir */
312 * ignore FAN_RENAME to/from tmpdir, so we won't get the FAN_RENAME events in do_test()
313 * when subdir is moved via tmpdir. in do_test()
314 * FAN_MOVE is also set in ignored mark of tmpdir, but it will have no effect in do_test()
459 * If only root dir and subdir are watched, a rename via an unwatched tmpdir in do_test()
464 * If tmpdir is ignoring FAN_RENAME, we will get the MOVED_FROM/MOVED_TO in do_test()
465 * events and will not get the FAN_RENAME event for rename via tmpdir. in do_test()
468 SAFE_RENAME(dname1, tmpdir); in do_test()
[all...]
/third_party/gn/src/base/files/
H A Dfile_util_posix.cc438 FilePath tmpdir; in CreateNewTempDirectory() local
439 if (!GetTempDir(&tmpdir)) in CreateNewTempDirectory()
442 return CreateTemporaryDirInDirImpl(tmpdir, TempFileName(), new_temp_path); in CreateNewTempDirectory()
/third_party/python/Lib/test/
H A Dtest_cmd_line.py602 with os_helper.temp_cwd() as tmpdir:
603 fake = os.path.join(tmpdir, "uuid.py")
604 main = os.path.join(tmpdir, "main.py")
613 [sys.executable, '-E', main], cwd=tmpdir,
616 cwd=tmpdir)
H A Dtest_pydoc.py1557 tmpdir = tempfile.TemporaryDirectory()
1558 self.argv0dir = tmpdir.name
1559 self.argv0 = os.path.join(tmpdir.name, "nonexistent")
1560 self.addCleanup(tmpdir.cleanup)
H A Dtest_shutil.py289 tmpdir = self.mkdtemp()
290 write_file((tmpdir, "tstfile"), "")
291 filename = os.path.join(tmpdir, "tstfile")
951 tmpdir = self.mkdtemp()
952 file1 = os.path.join(tmpdir, 'file1')
953 file2 = os.path.join(tmpdir, 'file2')
1069 tmpdir = self.mkdtemp()
1070 write_file((tmpdir, fname), 'xxx')
1071 file1 = os.path.join(tmpdir, fname)
1524 tmpdir
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/
H A Dfunctions.sh46 SAVED_DMESG=$(mktemp --tmpdir -t klp-dmesg-XXXXXX)
/kernel/linux/linux-6.6/tools/testing/selftests/livepatch/
H A Dfunctions.sh47 SAVED_DMESG=$(mktemp --tmpdir -t klp-dmesg-XXXXXX)
/third_party/node/lib/internal/test_runner/
H A Dcoverage.js25 const { tmpdir } = require('os');
290 const coverageDirectory = mkdtempSync(join(tmpdir(), 'node-coverage-'));
/third_party/skia/tests/
H A DStreamTest.cpp305 auto tmpdir = skiatest::GetTmpDir(); in DEF_TEST() local
306 if (tmpdir.isEmpty()) { in DEF_TEST()
310 auto path = SkOSPath::Join(tmpdir.c_str(), "file"); in DEF_TEST()
/third_party/ltp/lib/
H A Dtst_cgroup.c658 const char *tmpdir = tst_get_tmpdir_root(); in cgroup_mount_v2() local
661 tmpdir, cgroup_mount_ltp_prefix, cgroup_v2_ltp_mount); in cgroup_mount_v2()
708 const char *tmpdir = tst_get_tmpdir_root(); in cgroup_mount_v1() local
717 tmpdir, cgroup_mount_ltp_prefix, ctrl->ctrl_name); in cgroup_mount_v1()
H A Dtst_test.c101 char *tmpdir; in setup_ipc() local
106 tmpdir = tst_get_tmpdir(); in setup_ipc()
108 tmpdir, tid, getpid()); in setup_ipc()
109 free(tmpdir); in setup_ipc()
1028 tst_res(TINFO, "tmpdir isn't suitable for creating devices, " in prepare_and_mount_dev_fs()
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs457 let tmpdir = tempdir().unwrap(); in test_fchdir()
458 let tmpdir_path = tmpdir.path().canonicalize().unwrap(); in test_fchdir()
472 let tmpdir = tempdir().unwrap(); in test_getcwd()
473 let tmpdir_path = tmpdir.path().canonicalize().unwrap(); in test_getcwd()
/third_party/ltp/testscripts/
H A Dltpdmmapper.sh34 tmpdir=$TMPBASE
/third_party/mksh/
H A Dvar.c1381 afree(tmpdir, APERM); in setspec()
1382 tmpdir = NULL; in setspec()
1384 * Use tmpdir iff it is an absolute path, is writable in setspec()
1394 strdupx(tmpdir, s, APERM); in setspec()
1516 if (tmpdir) { in unsetspec()
1517 afree(tmpdir, APERM); in unsetspec()
1518 tmpdir = NULL; in unsetspec()
/third_party/elfutils/debuginfod/
H A Ddebuginfod.cxx376 { "fdcache-mintmp", ARGP_KEY_FDCACHE_MINTMP, "NUM", 0, "Minimum free space% on tmpdir.", 0 },
439 static string tmpdir; variable
1354 if (statfs_free_enough_p(tmpdir, "tmpdir", fdcache_mintmp)) in intern()
1357 obatched(clog) << "fdcache emergency flush for filling tmpdir" << endl; in intern()
1397 if (statfs_free_enough_p(tmpdir, "tmpdir", fdcache_mintmp)) in lookup()
1400 obatched(clog) << "fdcache emergency flush for filling tmpdir" << endl; in lookup()
1612 rc = asprintf (&tmppath, "%s/debuginfod.XXXXXX", tmpdir.c_str()); in extract_section()
1920 rc = asprintf (&tmppath, "%s/debuginfod.XXXXXX", tmpdir in handle_buildid_r_match()
[all...]

Completed in 31 milliseconds

1234567891011