/freebsd-current/sys/contrib/openzfs/lib/libshare/ |
H A D | nfs.h | 36 int(*cbk)(sa_share_impl_t impl_share, FILE *tmpfile));
|
H A D | nfs.c | 81 struct tmpfile { struct 91 nfs_init_tmpfile(const char *prefix, const char *mdir, struct tmpfile *tmpf) 124 nfs_abort_tmpfile(struct tmpfile *tmpf) 131 nfs_fini_tmpfile(const char *exports, struct tmpfile *tmpf) 257 int(*cbk)(sa_share_impl_t impl_share, FILE *tmpfile)) 260 struct tmpfile tmpf; 255 nfs_toggle_share(const char *lockfile, const char *exports, const char *expdir, sa_share_impl_t impl_share, int(*cbk)(sa_share_impl_t impl_share, FILE *tmpfile)) argument
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create.kshlib | 97 typeset tmpfile="$TMPDIR/fstab.tmp" 102 $CAT $fstab | $GREP "^/dev" >$tmpfile 108 done <$tmpfile 110 $RM -f $tmpfile
|
/freebsd-current/sys/contrib/openzfs/lib/libshare/os/freebsd/ |
H A D | nfs.c | 103 nfs_enable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) argument 116 if (fputs(mp, tmpfile) == EOF || 117 fputc('\t', tmpfile) == EOF || 118 translate_opts(shareopts, tmpfile) == EOF || 119 fputc('\n', tmpfile) == EOF) { 138 nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) argument 140 (void) impl_share, (void) tmpfile;
|
/freebsd-current/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-current/crypto/openssl/test/recipes/ |
H A D | 20-test_rand_config.t | 72 my $tmpfile = 'rand_config.cfg'; 73 open(my $cfg, '>', $tmpfile) or die "Could not open file"; 86 $ENV{OPENSSL_CONF} = $tmpfile;
|
H A D | 25-test_x509.t | 111 my $tmpfile = 'out.txt'; 112 my $res = grep(/-text/, @opts) ? run(app([@args], stdout => $tmpfile)) 113 : !run(app([@args], stderr => $tmpfile)); 115 open(my $in, '<', $tmpfile) or die "Could not open file $tmpfile"; 122 # $tmpfile is kept to help with investigation in case of failure
|
H A D | 20-test_mac.t | 139 my $tmpfile = "input-$test_count.bin"; 146 open(my $in, '>', $tmpfile) or die "Could not open file"; 153 my @other = ('-in', $tmpfile, $type); 157 # Not unlinking $tmpfile 190 my $tmpfile = "input-$test_count.bin"; 196 open(my $in, '>', $tmpfile) or die "Could not open file"; 202 my @other = ("-binary", "-in", $tmpfile, "-out", $outfile, $type); 206 # Not unlinking $tmpfile
|
H A D | 20-test_dhparam_check.t | 75 my $tmpfile = 'out.txt'; 80 open(my $in, '<', $tmpfile) or die "Could not open file $tmpfile"; 90 ok(run(app([qw{openssl pkeyparam -text -in}, data_file("valid/dh_ffdhe2048.pem")], stdout => $tmpfile)));
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send-c_stream_size_estimate.ksh | 43 typeset tmpfile=$(mktemp $BACKDIR/size_estimate.XXXXXXXX) 45 eval "$cmd >$tmpfile" || log_fail "$cmd: $?" 46 awk -v ds="$ds" '$2 == ds {print $3}' $tmpfile 47 rm -f $tmpfile
|
/freebsd-current/usr.sbin/bsdconfig/console/ |
H A D | ttys | 116 local tmpfile 117 f_eval_catch -k tmpfile $funcname mktemp 'mktemp -t "%s"' "$pgm" || 130 f_eval_catch -d $funcname chmod 'chmod "%s" "%s"' "$mode" "$tmpfile" 131 f_eval_catch -d $funcname chown 'chown "%s" "%s"' "$owner" "$tmpfile" 159 ' "$ETC_TTYS" > "$tmpfile" 2>&1 ); then 163 f_eval_catch $funcname mv 'mv -f "%s" "%s"' "$tmpfile" "$ETC_TTYS" ||
|
/freebsd-current/crypto/openssl/util/ |
H A D | withlibctx.pl | 19 my ($tmpfh, $tmpfile) = tempfile(); 22 open(STDOUT, '>>', $tmpfile); 26 rename($tmpfile, $file); 27 unlink($tmpfile);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/ |
H A D | Makefile.am | 23 scripts_zfs_tests_functional_tmpfiledir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/tmpfile 25 %D%/tests/functional/tmpfile/tmpfile_001_pos \ 26 %D%/tests/functional/tmpfile/tmpfile_002_pos \ 27 %D%/tests/functional/tmpfile/tmpfile_003_pos \ 28 %D%/tests/functional/tmpfile/tmpfile_stat_mode \ 29 %D%/tests/functional/tmpfile/tmpfile_test
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_007_pos.ksh | 97 tmpfile=$import_dir/cmds_tmp.$$ 100 head -n $linenum $migrated_cmds_f > $tmpfile 101 log_must diff $tmpfile $orig_cmds_f1
|
H A D | history_002_pos.ksh | 49 [[ -f $tmpfile ]] && rm -f $tmpfile 64 tmpfile=$TEST_BASE_DIR/tmpfile.$$ ; tmpfile2=$TEST_BASE_DIR/tmpfile2.$$ 176 log_must eval "zfs send -i $fssnap $fssnap2 > $tmpfile" 184 run_and_verify "zfs receive $fs < $tmpfile"
|
/freebsd-current/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | nfs.c | 55 typedef int (*nfs_host_callback_t)(FILE *tmpfile, const char *sharepath, 126 FILE *tmpfile; member in struct:nfs_host_cookie_s 207 error = udata->callback(udata->tmpfile, 230 foreach_nfs_host(sa_share_impl_t impl_share, FILE *tmpfile, argument 238 udata.tmpfile = tmpfile; 422 nfs_add_entry(FILE *tmpfile, const char *sharepath, argument 436 if (fprintf(tmpfile, "%s %s(sec=%s,%s,%s)\n", mp, 452 nfs_enable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) argument 459 error = foreach_nfs_host(impl_share, tmpfile, nfs_add_entr 480 nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) argument [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/history/ |
H A D | history_007_pos.ksh | 113 tmpfile=$import_dir/cmds_tmp.${TESTCASE_ID} 116 $HEAD -n $linenum $migrated_cmds_f > $tmpfile 117 log_must $DIFF $tmpfile $orig_cmds_f1
|
H A D | history_002_pos.ksh | 60 for FileToRm in $EXPECT_HISTORY $REAL_HISTORY $tmpfile $tmpfile2; do 111 tmpfile=$TMPDIR/tmpfile.${TESTCASE_ID} ; tmpfile2=$TMPDIR/tmpfile2.${TESTCASE_ID} 149 log_must eval "$ZFS send -i $fssnap $fssnap2 > $tmpfile" 153 exec_record eval "$ZFS receive $fs < $tmpfile"
|
/freebsd-current/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | preprocess.t | 13 my $tmpfile = File::Temp->new; 14 my $TMPFILE = $tmpfile->filename;
|
H A D | taint.t | 20 my $tmpfile = File::Temp->new; 21 my $file = $tmpfile->filename;
|
/freebsd-current/tests/sys/cddl/zfs/tests/acl/ |
H A D | acl_common.kshlib | 283 typeset tmpfile=$TMPDIR/tmp_get_ACE.${TESTCASE_ID} 297 $LS $args $file > $tmpfile 298 (( $? != 0 )) && log_fail "FAIL: $LS $args $file > $tmpfile" 317 done < $tmpfile 319 $RM -f $tmpfile 320 (( $? != 0 )) && log_fail "FAIL: $RM -f $tmpfile" 377 if [[ -f ${node}/tmpfile ]]; then 378 log_must $RM -f ${node}/tmpfile 380 chgusr_exec $user $TOUCH ${node}/tmpfile > \
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_014_neg.ksh | 71 typeset TMP_FILE=$mntp/tmpfile.$$
|
/freebsd-current/usr.bin/mkimg/tests/ |
H A D | mkimg_test.sh | 72 local baseline image result tmpfile update 81 tmpfile=_tmp-baseline 82 sed -e '/^#.*/D' < $baseline > $tmpfile 83 if diff -u $tmpfile $result; then
|
/freebsd-current/lib/libc/stdio/ |
H A D | tmpfile.c | 48 tmpfile(void) function
|
/freebsd-current/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);
|