Searched refs:tmpfile (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.freopen.ksh30 $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 Dtst.ftruncate.ksh30 $dtrace -q -o $tmpfile -s /dev/stdin <<EOF
56 tmpfile=/tmp/tst.ftruncate.$$
61 cat $tmpfile
62 rm $tmpfile
H A Dtst.badfreopen.ksh30 $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-11-stable/include/
H A Dmk-osreldate.sh33 tmpfile=$(mktemp osreldate.XXXXXXXX)
34 trap "rm -f $tmpfile" EXIT
42 cat > $tmpfile <<EOF
51 chmod 644 $tmpfile
52 mv -f $tmpfile osreldate.h
/freebsd-11-stable/tools/debugscripts/
H A Dkgdb58 tmpfile="/tmp/kgdb.asf.$$"
63 python $kld_debpy "$kernsrc" "$core" $@ > "$tmpfile" &&
65 echo "source $tmpfile"
67 rm "$tmpfile"
/freebsd-11-stable/contrib/unbound/contrib/
H A Dupdate-anchor.sh57 tmpfile="/tmp/update-anchor.$$"
58 tmp2=$tmpfile.2
59 tmp3=$tmpfile.3
65 $ubhost -v $rh $filearg "$keyfile" -t DNSKEY "$zonename" >$tmpfile
67 rm -f $tmpfile
75 if grep '(secure)$' $tmpfile >/dev/null 2>&1; then
78 rm -f $tmpfile
88 if grep ' has DNSKEY record 257' $tmpfile >/dev/null 2>&1; then
90 grep '(secure)$' $tmpfile | \
97 grep '(secure)$' $tmpfile | \
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.manypids.ksh46 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-11-stable/usr.sbin/vigr/
H A Dvigr.sh62 tmpfile="${tmpdir}/group"
70 cp "${grpfile}" "${tmpfile}"
74 ${EDITOR:-/usr/bin/vi} "${tmpfile}"
77 if chkgrp -q "${tmpfile}" ; then
78 install -b -m 0644 -C -S "${tmpfile}" "${grpfile}"
/freebsd-11-stable/contrib/elftoolchain/libelftc/
H A Dmake-toolchain-version94 tmpfile=`mktemp ${TMPDIR:-/tmp}/MV.XXXXXXX`
95 trap "rm -f ${tmpfile};" 0 1 2 3 15
97 cat > ${tmpfile} <<EOF
110 if ! cmp -s ${tmpfile} ${versionfile}; then
112 cp ${tmpfile} ${versionfile} || exit ${?}
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c153 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-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libdepfullyconnected.ksh41 tmpfile=/tmp/libdeporder.$$
67 DTRACE_DEBUG=1 $dtrace -L$libdir -e >$tmpfile 2>&1
69 perl /dev/stdin $tmpfile <<EOF
99 rm $tmpfile
/freebsd-11-stable/contrib/atf/test-programs/
H A Dsh_helpers.sh37 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-11-stable/usr.sbin/bsdconfig/console/
H A Dttys117 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-11-stable/contrib/groff/contrib/gdiffmk/tests/
H A Druntests.in39 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-11-stable/usr.bin/mkimg/tests/
H A Dmkimg.sh73 local baseline image result tmpfile update
82 tmpfile=_tmp-baseline
83 uudecode -p $baseline | gunzip -c > $tmpfile
84 if cmp -s $tmpfile $result; then
H A Dmkimg_test.sh73 local baseline image result tmpfile update
82 tmpfile=_tmp-baseline
83 sed -e '/^#.*/D' < $baseline > $tmpfile
84 if diff -u $tmpfile $result; then
/freebsd-11-stable/contrib/sendmail/contrib/
H A Ddoublebounce.pl42 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-11-stable/contrib/libstdc++/include/c/
H A Dstd_cstdio.h77 #undef tmpfile macro
/freebsd-11-stable/lib/libc/stdio/
H A Dtmpfile.c34 static char sccsid[] = "@(#)tmpfile.c 8.1 (Berkeley) 6/4/93";
52 tmpfile(void) function
/freebsd-11-stable/gnu/usr.bin/groff/src/libs/libgroff/
H A DMakefile11 tmpfile.cpp tmpname.cpp unicode.cpp uniglyph.cpp uniuni.cpp version.cpp
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdio.h91 #undef tmpfile macro
138 using ::tmpfile;
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdio.h40 using std::tmpfile;
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A DMakefile.sub45 tmpfile.$(OBJEXT) \
87 $(srcdir)/tmpfile.cpp \
/freebsd-11-stable/contrib/byacc/test/
H A Drun_test.sh25 < $CMP >$tmpfile \
26 && mv $tmpfile $CMP
72 tmpfile=temp$$
/freebsd-11-stable/sbin/gvinum/
H A Dgvinum.c188 char original[BUFSIZ], tmpfile[20], *token[GV_MAXARGS]; local
208 snprintf(tmpfile, sizeof(tmpfile), "/tmp/gvinum.XXXXXX");
210 if ((fd = mkstemp(tmpfile)) == -1) {
215 warn("can't open '%s' for writing", tmpfile);
226 tmpfile);
233 if ((tmp = fopen(tmpfile, "r")) == NULL) {
234 warn("can't open '%s' for reading", tmpfile);
393 unlink(tmpfile);

Completed in 223 milliseconds

12