Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_from_cdb.py38 with libear.TemporaryDirectory() as tmpdir:
39 cdb = prepare_cdb('regular', tmpdir)
40 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
44 with libear.TemporaryDirectory() as tmpdir:
45 cdb = prepare_cdb('clean', tmpdir)
46 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
50 with libear.TemporaryDirectory() as tmpdir:
51 cdb = prepare_cdb('clean', tmpdir)
52 exit_code, reportdir = run_analyzer(tmpdir, cdb, ['--keep-empty'])
58 with libear.TemporaryDirectory() as tmpdir:
[all …]
H A Dtest_create_cdb.py16 def run_intercept(tmpdir, args): argument
17 result = os.path.join(tmpdir, 'cdb.json')
18 make = make_args(tmpdir) + args
30 with libear.TemporaryDirectory() as tmpdir:
31 result = self.run_intercept(tmpdir, ['build_regular'])
36 with libear.TemporaryDirectory() as tmpdir:
37 result = os.path.join(tmpdir, 'cdb.json')
38 make = make_args(tmpdir) + ['build_regular']
46 with libear.TemporaryDirectory() as tmpdir:
47 result = self.run_intercept(tmpdir, ['-j', '4', 'build_regular'])
[all …]
H A Dtest_from_cmd.py24 with libear.TemporaryDirectory() as tmpdir:
25 make = make_args(tmpdir) + ['build_regular']
26 outdir = self.run_analyzer(tmpdir, [], make)
30 with libear.TemporaryDirectory() as tmpdir:
31 make = make_args(tmpdir) + ['build_clean']
32 outdir = self.run_analyzer(tmpdir, [], make)
36 with libear.TemporaryDirectory() as tmpdir:
37 make = make_args(tmpdir) + ['build_clean']
38 outdir = self.run_analyzer(tmpdir, ['--keep-empty'], make)
49 with libear.TemporaryDirectory() as tmpdir:
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Djavacomp.c464 write_temp_file (struct temp_dir *tmpdir, const char *file_name, in write_temp_file() argument
469 register_temp_file (tmpdir, file_name); in write_temp_file()
474 unregister_temp_file (tmpdir, file_name); in write_temp_file()
601 struct temp_dir *tmpdir; in is_envjavac_gcj_14_14_usable() local
607 tmpdir = create_temp_dir ("java", NULL, false); in is_envjavac_gcj_14_14_usable()
608 if (tmpdir == NULL) in is_envjavac_gcj_14_14_usable()
612 concatenated_pathname (tmpdir->dir_name, "conftest.java", NULL); in is_envjavac_gcj_14_14_usable()
613 if (write_temp_file (tmpdir, conftest_file_name, in is_envjavac_gcj_14_14_usable()
617 cleanup_temp_dir (tmpdir); in is_envjavac_gcj_14_14_usable()
622 concatenated_pathname (tmpdir->dir_name, "conftest.class", NULL); in is_envjavac_gcj_14_14_usable()
[all …]
H A Dclean-temp.c252 struct tempdir *tmpdir; in create_temp_dir() local
309 tmpdir = (struct tempdir *) xmalloc (sizeof (struct tempdir)); in create_temp_dir()
310 tmpdir->dirname = NULL; in create_temp_dir()
311 tmpdir->cleanup_verbose = cleanup_verbose; in create_temp_dir()
312 tmpdir->subdirs = gl_list_create_empty (GL_LINKEDHASH_LIST, in create_temp_dir()
314 tmpdir->files = gl_list_create_empty (GL_LINKEDHASH_LIST, in create_temp_dir()
329 tmpdir->dirname = tmpdirname; in create_temp_dir()
330 *tmpdirp = tmpdir; in create_temp_dir()
344 tmpdir->dirname = xstrdup (tmpdirname); in create_temp_dir()
346 return (struct temp_dir *) tmpdir; in create_temp_dir()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py15 with libear.TemporaryDirectory() as tmpdir:
16 file_name = os.path.join(tmpdir, 'test.html')
24 with libear.TemporaryDirectory() as tmpdir:
25 file_name = os.path.join(tmpdir, preproc + '.info.txt')
80 with libear.TemporaryDirectory() as tmpdir:
81 filename = os.path.join(tmpdir, 'test.c')
90 'output_dir': tmpdir,
99 for root, _, files in os.walk(tmpdir):
361 with libear.TemporaryDirectory() as tmpdir:
363 file_name = os.path.join(tmpdir, 'results-{}.sarif'.format(idx))
[all …]
H A Dtest_libear.py14 with sut.TemporaryDirectory() as tmpdir:
15 self.assertTrue(os.path.isdir(tmpdir))
16 dirname = tmpdir
23 with sut.TemporaryDirectory() as tmpdir:
24 self.assertTrue(os.path.isdir(tmpdir))
25 dirname = tmpdir
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-tmpdir.c29 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 …]
/netbsd-src/external/bsd/kyua-testers/dist/
H A Drun_test.c564 char* tmpdir; in ATF_TC_BODY() local
565 RE(kyua_fs_make_absolute("worktest", &tmpdir)); in ATF_TC_BODY()
566 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1); in ATF_TC_BODY()
568 kyua_run_tmpdir = tmpdir; in ATF_TC_BODY()
584 ATF_REQUIRE(rmdir(tmpdir) == -1); // Not yet empty. in ATF_TC_BODY()
586 ATF_REQUIRE(rmdir(tmpdir) != -1); in ATF_TC_BODY()
587 free(tmpdir); in ATF_TC_BODY()
594 char* tmpdir; in ATF_TC_BODY() local
595 RE(kyua_fs_make_absolute("worktest", &tmpdir)); in ATF_TC_BODY()
596 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1); in ATF_TC_BODY()
[all …]
/netbsd-src/usr.bin/mktemp/
H A Dmktemp.c62 char *tmpdir; in main() local
69 tmpdir = NULL; in main()
80 tmpdir = optarg; in main()
107 if (tmpdir == NULL) in main()
108 tmpdir = getenv("TMPDIR"); in main()
109 if (tmpdir == NULL) in main()
113 (void)asprintf(&name, "%s/%s.XXXXXXXX", tmpdir, prefix); in main()
128 if (tmpdir) in main()
130 tmpdir, argv[0]); in main()
/netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/scripts/
H A Ds64-sync85 tmpdir = conf.getValue('tmpdir') # must have trailing '/'
86 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir):
87 bail('? cannot find "%s"...' % (tmpdir))
100 os.chdir(tmpdir)
127 tmpdir = conf.getValue('tmpdir') # must have trailing '/'
128 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir):
129 bail('? cannot find "%s"...' % (tmpdir))
134 cmd = 'cp -r ' + tmpdir + '* ' + conf.getValue('destdir')
250 tmpdir = conf.getValue('tmpdir')
251 cmd = zonec + ' -c ' + tmpdir + '/' + fname + ' -d ' + tmpdir
[all …]
H A Dnsd-sync85 tmpdir = conf.getValue('tmpdir') # must have trailing '/'
86 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir):
87 bail('? cannot find "%s"...' % (tmpdir))
100 os.chdir(tmpdir)
124 tmpdir = conf.getValue('tmpdir') # must have trailing '/'
125 if not os.path.exists(tmpdir) and not os.path.isdir(tmpdir):
126 bail('? cannot find "%s"...' % (tmpdir))
131 cmd = 'cp -r ' + tmpdir + '* ' + conf.getValue('destdir')
242 tmpdir = conf.getValue('tmpdir')
243 cmd = zonec + ' -c ' + tmpdir + '/' + fname + ' -d ' + tmpdir
[all …]
/netbsd-src/external/bsd/atf/
H A Dprepare-import.sh71 local tmpdir="$(mktemp -d -t atf-import)"
72 trap "rm -rf '${tmpdir}'; exit 1" HUP INT QUIT TERM
74 local old_list="${tmpdir}/old-list.txt"
76 local new_list="${tmpdir}/new-list.txt"
79 local added="${tmpdir}/added.txt"
81 local removed="${tmpdir}/removed.txt"
94 rm -rf "${tmpdir}"
/netbsd-src/external/ibm-public/postfix/dist/conf/
H A Dpostmulti-script161 tmpdir=$config_directory/.tmp
162 (umask 077; mkdir -p $tmpdir) || exit 1
163 cp -p $meta_directory/main.cf.proto $tmpdir/main.cf || exit 1
195 postconf -c $tmpdir -# $comment_out || exit 1
202 postconf -c $tmpdir -e \
210 cp -p $meta_directory/master.cf.proto $tmpdir/master.cf || exit 1
211 mv $tmpdir/main.cf $config_directory/main.cf || exit 1
212 mv $tmpdir/master.cf $config_directory/master.cf || exit 1
213 rmdir $tmpdir 2>/dev/null
/netbsd-src/tests/kernel/
H A Dt_magic_symlinks.sh30 tmpdir="/tmp/test-magic-symlink"
41 mkdir "$tmpdir"
42 echo "$enabled" > "$tmpdir/enabled"
47 enabled=$(cat "$tmpdir/enabled")
54 rm -rf $tmpdir
60 cd "$tmpdir"
231 realpath "$tmpdir/link"
/netbsd-src/external/bsd/tre/dist/tests/
H A Dbuild-run.sh17 tmpdir=build-tmp-$dir-$hostname-$$
19 rm -rf $tmpdir
20 mkdir $tmpdir
21 cp $pkg $tmpdir
22 cd $tmpdir
/netbsd-src/external/gpl2/diffutils/dist/po/
H A DRules-quot13 tmpdir=`pwd`; \
18 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
19 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
20 rm -f $$tmpdir/$$lang.new.po; \
22 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
25 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
31 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/gpl2/gmake/dist/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/crypto/external/cpl/tpm-tools/dist/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/bsd/flex/dist/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/gpl2/texinfo/dist/po/
H A DRules-quot18 tmpdir=`pwd`; \
23 …| sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | …
24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
25 rm -f $$tmpdir/$$lang.new.po; \
27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
36 rm -f $$tmpdir/$$lang.new.po; \
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Dtexi2dvi97 tmpdir=${TMPDIR:-/tmp}/t2d$$ # avoid collisions on 8.3 filesystems.
401 tmpdir_src=$tmpdir/src
405 tmpdir_xtr=$tmpdir/xtr
409 tmpdir_rcd=$tmpdir/rcd
414 tmpdir_bak=$tmpdir/bak
538 cd $tmpdir
543 ) >$tmpdir/txiversion.out 2>$tmpdir/txiversion.err
545 cat $tmpdir/txiversion.out
546 cat $tmpdir/txiversion.err >&2
549 …\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' $tmpdir/txiversion.out`
[all …]
/netbsd-src/external/bsd/libevent/dist/build-aux/
H A Dinstall-sh337 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
346 $mkdirprog $mkdir_mode "$tmpdir" &&
347 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354 test_tmpdir="$tmpdir/a"
368 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
371 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null

12345678910>>...12