/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.freopen.ksh | 30 $dtrace -wq -o $tmpfile -s /dev/stdin $tmpfile <<EOF 56 if [ -f $tmpfile ]; then 57 rm $tmpfile 61 if [ -f $tmpfile.$i ]; then 62 rm $tmpfile.$i 74 tmpfile=/tmp/tst.freopen.$$ 82 if [ -f $tmpfile.$iter ]; then 83 echo "$0: did not expect to find file: $tmpfile.$iter" 88 mv $tmpfile [all...] |
H A D | tst.ftruncate.ksh | 30 $dtrace -q -o $tmpfile -s /dev/stdin <<EOF 56 tmpfile=/tmp/tst.ftruncate.$$ 61 cat $tmpfile 62 rm $tmpfile
|
H A D | tst.badfreopen.ksh | 30 $dtrace -wq -o $tmpfile -s /dev/stdin 2> $errfile <<EOF 75 tmpfile=/tmp/tst.badfreopen.$$ 82 i=`cat $tmpfile` 85 echo "$0: unexpected contents in $tmpfile: " \ 100 rm $tmpfile $errfile
|
/freebsd-10.2-release/include/ |
H A D | mk-osreldate.sh | 33 tmpfile=$(mktemp osreldate.XXXXXXXX) 34 trap "rm -f $tmpfile" EXIT 42 cat > $tmpfile <<EOF 51 chmod 644 $tmpfile 52 mv $tmpfile osreldate.h
|
/freebsd-10.2-release/tools/debugscripts/ |
H A D | kgdb | 58 tmpfile="/tmp/kgdb.asf.$$" 63 python $kld_debpy "$kernsrc" "$core" $@ > "$tmpfile" && 65 echo "source $tmpfile" 67 rm "$tmpfile"
|
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.manypids.ksh | 46 tmpfile=/tmp/dtest.$$ 58 echo "tick-1sec\n{\n\texit(0);\n}\n" > $tmpfile 61 echo "pid${pids[$i]}::malloc:entry\n{}\n" >> $tmpfile 65 $dtrace -s $tmpfile 68 rm $tmpfile
|
/freebsd-10.2-release/tools/regression/ia64/emulated/ |
H A D | brl.t | 42 local $tmpfile = "/tmp/" . $$ . "_$test"; 45 $st = system("cc -o $tmpfile -DTYPE=$type -DPRED=$pred -DVAR=$var -Wall -O1 -g $srcdir/test.c"); 50 $st = system($tmpfile); 65 unlink $tmpfile;
|
/freebsd-10.2-release/tools/regression/ia64/unaligned/ |
H A D | unaligned.t | 41 local $tmpfile = "/tmp/" . $$ . "_$test"; 44 $st = system("cc -o $tmpfile -DACCESS=$access -DTYPE=$type -DSIZE=$size -DPOSTINC=$postinc -Wall -O -g $srcdir/test.c"); 49 $st = system($tmpfile); 67 unlink $tmpfile;
|
/freebsd-10.2-release/cddl/compat/opensolaris/misc/ |
H A D | fsshare.c | 153 char tmpfile[PATH_MAX]; local 165 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile)) 167 if (strlcat(tmpfile, ".XXXXXXXX", sizeof(tmpfile)) >= sizeof(tmpfile)) 169 fd = mkstemp(tmpfile); 220 unlink(tmpfile); 222 if (rename(tmpfile, fil [all...] |
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.libdepfullyconnected.ksh | 41 tmpfile=/tmp/libdeporder.$$ 67 DTRACE_DEBUG=1 $dtrace -L$libdir -e >$tmpfile 2>&1 69 perl /dev/stdin $tmpfile <<EOF 99 rm $tmpfile
|
/freebsd-10.2-release/contrib/atf/test-programs/ |
H A D | sh_helpers.sh | 37 touch $(atf_config_get tmpfile) 42 rm $(atf_config_get tmpfile) 53 touch $(atf_config_get tmpfile) 59 rm $(atf_config_get tmpfile) 70 touch $(atf_config_get tmpfile) 76 rm $(atf_config_get tmpfile) 101 touch $(atf_config_get tmpfile) 103 touch $(atf_config_get tmpfile).no 107 rm $(atf_config_get tmpfile)
|
/freebsd-10.2-release/usr.sbin/bsdconfig/console/ |
H A D | ttys | 117 local tmpfile 118 f_eval_catch -k tmpfile $funcname mktemp 'mktemp -t "%s"' "$pgm" || 131 f_eval_catch -d $funcname chmod 'chmod "%s" "%s"' "$mode" "$tmpfile" 132 f_eval_catch -d $funcname chown 'chown "%s" "%s"' "$owner" "$tmpfile" 160 ' "$ETC_TTYS" > "$tmpfile" 2>&1 ); then 164 f_eval_catch $funcname mv 'mv -f "%s" "%s"' "$tmpfile" "$ETC_TTYS" ||
|
/freebsd-10.2-release/contrib/groff/contrib/gdiffmk/tests/ |
H A D | runtests.in | 39 tmpfile=/tmp/$$ 40 trap 'rm -f ${tmpfile}' 0 1 2 3 15 46 ${command} ${srcdir}/file1 ${srcdir}/file2 ${ResultFile} 2>${tmpfile} 47 cat ${tmpfile} >>${ResultFile}
|
/freebsd-10.2-release/contrib/sendmail/contrib/ |
H A D | doublebounce.pl | 42 use vars qw( $opt_d $tmpfile); 104 open(MSG, "<$tmpfile"); 128 $tmpfile = tmpnam(); 130 if (!open(MSG, ">$tmpfile")) { 131 syslog('err', "Unable to open temporary file $tmpfile"); 136 if (!open(MSG, "<$tmpfile")) { 137 syslog('err', "Unable to reopen temporary file $tmpfile"); 220 unlink($tmpfile);
|
/freebsd-10.2-release/contrib/libstdc++/include/c/ |
H A D | std_cstdio.h | 77 #undef tmpfile macro
|
/freebsd-10.2-release/lib/libc/stdio/ |
H A D | tmpfile.c | 34 static char sccsid[] = "@(#)tmpfile.c 8.1 (Berkeley) 6/4/93"; 37 __FBSDID("$FreeBSD: releng/10.2/lib/libc/stdio/tmpfile.c 287872 2015-09-16 20:59:41Z delphij $"); 52 tmpfile(void) function
|
H A D | Makefile.inc | 22 tempnam.c tmpfile.c \ 82 MLINKS+=tmpnam.3 tempnam.3 tmpnam.3 tmpfile.3
|
/freebsd-10.2-release/gnu/usr.bin/groff/src/libs/libgroff/ |
H A D | Makefile | 11 tmpfile.cpp tmpname.cpp unicode.cpp uniglyph.cpp uniuni.cpp version.cpp
|
/freebsd-10.2-release/contrib/libstdc++/include/c_std/ |
H A D | std_cstdio.h | 91 #undef tmpfile macro 138 using ::tmpfile;
|
/freebsd-10.2-release/contrib/libstdc++/include/c_compatibility/ |
H A D | stdio.h | 40 using std::tmpfile;
|
/freebsd-10.2-release/contrib/groff/src/libs/libgroff/ |
H A D | Makefile.sub | 45 tmpfile.$(OBJEXT) \ 87 $(srcdir)/tmpfile.cpp \
|
/freebsd-10.2-release/contrib/byacc/test/ |
H A D | run_test.sh | 25 < $CMP >$tmpfile \ 26 && mv $tmpfile $CMP 72 tmpfile=temp$$
|
/freebsd-10.2-release/sbin/gvinum/ |
H A D | gvinum.c | 186 char original[BUFSIZ], tmpfile[20], *token[GV_MAXARGS]; local 206 snprintf(tmpfile, sizeof(tmpfile), "/tmp/gvinum.XXXXXX"); 208 if ((fd = mkstemp(tmpfile)) == -1) { 213 warn("can't open '%s' for writing", tmpfile); 224 tmpfile); 231 if ((tmp = fopen(tmpfile, "r")) == NULL) { 232 warn("can't open '%s' for reading", tmpfile); 391 unlink(tmpfile);
|
/freebsd-10.2-release/contrib/ntp/scripts/monitoring/ |
H A D | ntploopwatch | 187 $tmpfile = "/tmp/ntpstat.$$"; 209 unlink($tmpfile); 223 unlink($tmpfile); 310 ($c eq 'exit') && (unlink($tmpfile),die("$0: exit by config request\n")); 508 ($doplot .= sprintf($fmt,$c,$tmpfile,2, 515 ($doplot .= sprintf($fmt,$c,$tmpfile,4, 528 ($doplot .= sprintf($fmt,$c,$tmpfile,3, 1452 unlink($tmpfile); 1456 @filepos = &genfile($samples,$srcprefix,$tmpfile,$lo,$lf,@filepos); 1479 unlink($tmpfile); [all...] |
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Interpreter/ |
H A D | PythonDataObjects.cpp | 45 FILE *file = ::tmpfile();
|