Searched refs:tmpfile (Results 1 - 25 of 81) sorted by last modified time

1234

/freebsd-current/include/
H A Dstdio.h285 FILE *tmpfile(void);
/freebsd-current/contrib/unbound/services/
H A Dauthzone.c5182 char tmpfile[1024]; local
5217 if((size_t)strlen(zfilename) + 16 > sizeof(tmpfile)) {
5223 snprintf(tmpfile, sizeof(tmpfile), "%s.tmp%u", zfilename,
5227 if(!auth_zone_write_chunks(xfr, tmpfile)) {
5228 unlink(tmpfile);
5232 } else if(!auth_zone_write_file(z, tmpfile)) {
5233 unlink(tmpfile);
5240 if(rename(tmpfile, zfilename) < 0) {
5241 log_err("could not rename(%s, %s): %s", tmpfile, zfilenam
[all...]
/freebsd-current/contrib/libcbor/test/
H A Dpretty_printer_test.c19 FILE *outfile = tmpfile();
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/
H A DMakefile.am38 # find functional/ ! -type d ! -name .gitignore ! -name .dirstamp ! -name '*.Po' ! -name '*.in' ! -name '*.c' | grep -Fe /simd -e /tmpfile | sort | sed 's/^/\t/;$!s/$/ \\/'
39 # find functional/ ! -type d ! -name .gitignore ! -name .dirstamp ! -name '*.Po' ! -executable ! -name '*.in' ! -name '*.c' | grep -vFe /simd -e /tmpfile | sort | sed 's/^/\t/;$!s/$/ \\/'
40 # find functional/ ! -type d ! -name .gitignore ! -name .dirstamp ! -name '*.Po' -executable ! -name '*.in' ! -name '*.c' | grep -vFe /simd -e /tmpfile | sort | sed 's/^/\t/;$!s/$/ \\/'
42 # simd and tmpfile are Linux-only and not installed elsewhere
61 $(find_common) ! -name '*.in' ! -name '*.c' | grep -Fe /simd -e /tmpfile | sort | sed 's/^/\t/;$$!s/$$/ \\/' >> Makefile.am
65 $(find_common) ! -executable ! -name '*.in' ! -name '*.c' | grep -vFe /simd -e /tmpfile | sort | sed 's/^/\t/;$$!s/$$/ \\/' >> Makefile.am
68 $(find_common) -executable ! -name '*.in' ! -name '*.c' | grep -vFe /simd -e /tmpfile | sort | sed 's/^/\t/;$$!s/$$/ \\/' >> Makefile.am
82 functional/tmpfile/cleanup.ksh \
83 functional/tmpfile/setup.ksh
/freebsd-current/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh2004 cp "${BASEDIR}/${F}" tmpfile
2005 if [ `sha256 -q tmpfile` != ${HASH} ]; then
2012 gzip -c < tmpfile > files/${HASH}.gz
2013 rm tmpfile
/freebsd-current/sys/tools/
H A Dmakesyscalls.lua372 files[tmpname] = io.tmpfile()
373 files[dcltmpname] = io.tmpfile()
447 local function read_file(tmpfile)
448 if files[tmpfile] == nil then
449 print("Not found: " .. tmpfile)
453 local fh = files[tmpfile]
458 local function write_line(tmpfile, line)
459 if files[tmpfile] == nil then
460 print("Not found: " .. tmpfile)
463 assert(files[tmpfile]
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/
H A DMakefile.am23 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/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp137 FILE *file = llvm::sys::RetryAfterSignal(nullptr, ::tmpfile);
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.inc50 using std::tmpfile;
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc50 using ::tmpfile;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1884 TSAN_INTERCEPTOR(void*, tmpfile, int fake) {
1885 SCOPED_TSAN_INTERCEPTOR(tmpfile, fake);
1886 void *res = REAL(tmpfile)(fake);
2974 TSAN_INTERCEPT(tmpfile);
/freebsd-current/tests/sys/kern/
H A Dptrace_test.c3499 char tmpfile[64]; local
3508 (void)snprintf(tmpfile, sizeof(tmpfile), "./ptrace.XXXXXX");
3509 fd = mkstemp(tmpfile);
3521 cfd = open(tmpfile, O_RDONLY);
3567 REQUIRE_EQ(unlink(tmpfile), 0);
/freebsd-current/sys/contrib/openzfs/tests/test-runner/bin/
H A Dzts-report.py.in255 'tmpfile/setup': ['SKIP', tmpfile_reason],
/freebsd-current/crypto/openssl/util/
H A Dwithlibctx.pl19 my ($tmpfh, $tmpfile) = tempfile();
22 open(STDOUT, '>>', $tmpfile);
26 rename($tmpfile, $file);
27 unlink($tmpfile);
/freebsd-current/crypto/openssl/test/recipes/
H A D25-test_x509.t111 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 D20-test_rand_config.t72 my $tmpfile = 'rand_config.cfg';
73 open(my $cfg, '>', $tmpfile) or die "Could not open file";
86 $ENV{OPENSSL_CONF} = $tmpfile;
H A D20-test_mac.t139 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 D20-test_dhparam_check.t75 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/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dtaint.t20 my $tmpfile = File::Temp->new;
21 my $file = $tmpfile->filename;
H A Dpreprocess.t13 my $tmpfile = File::Temp->new;
14 my $TMPFILE = $tmpfile->filename;
H A Dbasic.t11 my $tmpfile = File::Temp->new;
24 my $TEMPFILE = $tmpfile->filename;
/freebsd-current/sys/contrib/openzfs/lib/libshare/
H A Dnfs.c81 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/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c845 .tmpfile = zpl_tmpfile,
/freebsd-current/tests/sys/geom/class/concat/
H A Dappend1.sh39 tmpfile=$(mktemp) || exit 1
40 dd if=/dev/random of=$tmpfile bs=1M count=3 || exit 1
41 dd if=$tmpfile of=/dev/concat/${name} || exit 1
42 if cmp -s $tmpfile /dev/concat/${name}; then
/freebsd-current/usr.bin/pr/
H A Dpr.c1603 if ((err = tmpfile()) == NULL) {

Completed in 468 milliseconds

1234