Searched refs:tempfile (Results 76 - 100 of 108) sorted by relevance

12345

/freebsd-current/crypto/openssl/test/recipes/
H A D90-test_sslapi.t12 use File::Temp qw(tempfile);
30 (undef, my $tmpfilename) = tempfile();
H A D70-test_tlsextms.t13 use File::Temp qw(tempfile);
97 (undef, my $session) = tempfile();
114 (undef, $session) = tempfile();
131 (undef, $session) = tempfile();
148 (undef, $session) = tempfile();
165 (undef, $session) = tempfile();
H A D70-test_sslsessiontick.t13 use File::Temp qw(tempfile);
79 (undef, my $session) = tempfile();
93 (undef, $session) = tempfile();
115 (undef, $session) = tempfile();
H A D70-test_tls13psk.t12 use File::Temp qw(tempfile);
48 (undef, my $session) = tempfile();
H A D70-test_comp.t12 use File::Temp qw(tempfile);
H A D70-test_sslversions.t13 use File::Temp qw(tempfile);
/freebsd-current/contrib/dialog/samples/
H A Dwheel6 . ./setup-tempfile
10 $DIALOG --print-maxsize 2>$tempfile
11 ROWS="`sed -e 's/^[^:]*:[ ]*//' -e 's/,.*//' $tempfile`"
12 COLS="`sed -e 's/^[^,]*,[ ]*//' $tempfile`"
13 rm $tempfile
H A Dtreeview251 tempfile=$output
52 . ./report-tempfile
H A Deditbox-utf86 . ./setup-tempfile
/freebsd-current/sys/contrib/libsodium/packaging/dotnet-core/
H A Dprepare.py65 self.tempfile = os.path.join(self.tempdir, os.path.normpath(self.itemfile))
69 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile))
73 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
89 self.tempfile = os.path.join(self.tempdir, os.path.normpath(self.itemfile))
93 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile))
97 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
112 self.tempfile = os.path.join(self.tempdir, 'libsodium.so')
129 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile))
133 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile))
149 self.tempfile
[all...]
/freebsd-current/bin/pax/
H A Dpax.c92 char *tempfile; /* tempfile to use for mkstemp(3) */ variable
93 char *tempbase; /* basename of tempfile to use for mkstemp(3) */
240 tempfile = malloc(tdlen + 1 + sizeof(_TFILE_BASE));
241 if (tempfile == NULL) {
246 memcpy(tempfile, tmpdir, tdlen);
247 tempbase = tempfile + tdlen;
H A Dtables.c339 if ((ffd = mkstemp(tempfile)) < 0) {
341 tempfile);
344 (void)unlink(tempfile);
1095 if ((dirfd = mkstemp(tempfile)) >= 0) {
1096 (void)unlink(tempfile);
1100 tempfile);
H A Dextern.h234 extern char *tempfile;
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Darchive.c67 char *tempfile; local
71 create_tempfile(NULL, &tempfile, &fd);
73 cleanup_tempfile(tempfile);
86 cleanup_tempfile(tempfile);
87 err(EXIT_FAILURE, "lseek failed for '%s'", tempfile);
90 cleanup_tempfile(tempfile);
98 cleanup_tempfile(tempfile);
99 err(EXIT_FAILURE, "fstat %s failed", tempfile);
102 cleanup_tempfile(tempfile);
103 err(EXIT_FAILURE, "lseek %s failed", tempfile);
[all...]
H A Dmain.c527 warn("unlink tempfile %s failed", fn);
652 char *tempfile, *elftemp; local
656 tempfile = NULL;
667 create_tempfile(src, &tempfile, &ofd);
681 cleanup_tempfile(tempfile);
705 cleanup_tempfile(tempfile);
718 cleanup_tempfile(tempfile);
727 cleanup_tempfile(tempfile);
732 cleanup_tempfile(tempfile);
740 cleanup_tempfile(tempfile);
[all...]
/freebsd-current/contrib/libpcap/testprogs/
H A Dvisopts.py300 import tempfile namespace
303 os.chdir(tempfile.mkdtemp(prefix="visopts-"))
/freebsd-current/crypto/openssl/util/
H A Dwithlibctx.pl5 use File::Temp qw/tempfile/;
19 my ($tmpfh, $tmpfile) = tempfile();
/freebsd-current/usr.bin/xinstall/
H A Dxinstall.c808 char backup[MAXPATHLEN], *p, pathbuf[MAXPATHLEN], tempfile[MAXPATHLEN]; local
869 to_fd = create_tempfile(to_name, tempfile,
870 sizeof(tempfile));
872 err(EX_OSERR, "%s", tempfile);
875 stripped = strip(tempfile, to_fd, from_name,
880 tempfile, from_sb.st_size);
887 (void)strip(tempfile, to_fd, NULL, &digestresult);
894 to_fd = open(tempfile, O_RDONLY, 0);
911 (void)unlink(tempfile);
913 err(EX_OSERR, "%s", tempfile);
[all...]
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py44 import tempfile namespace
140 _temp_dir = tempfile.mkdtemp()
/freebsd-current/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_libzfs_core.py37 import tempfile namespace
66 mntdir = tempfile.mkdtemp()
157 with tempfile.TemporaryFile(suffix='.zstream') as fd:
170 with tempfile.NamedTemporaryFile(dir=mntdir) as f:
196 with tempfile.TemporaryFile(suffix='.zstream') as full:
200 with tempfile.TemporaryFile(suffix='.zstream') as incremental:
214 with tempfile.NamedTemporaryFile() as f:
446 with tempfile.NamedTemporaryFile() as f:
1376 with tempfile.NamedTemporaryFile(dir=mntdir) as f:
1394 with tempfile
[all...]
/freebsd-current/tests/sys/kern/
H A Dunix_passfd_test.c87 tempfile(int *fdp) function
343 tempfile(&putfd);
365 tempfile(&putfd);
389 tempfile(&putfd);
410 tempfile(&putfd);
428 tempfile(&putfd);
533 tempfile(&putfd);
559 tempfile(&putfd_1);
560 tempfile(&putfd_2);
647 tempfile(
[all...]
/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c2762 char *realfile, *slash, tempfile[MAXPATHLEN]; local
2773 strlcpy(tempfile, realfile, sizeof(tempfile));
2774 slash = strrchr(tempfile, '/');
2777 failed = stat(tempfile, &st);
2779 err(1, "Error on stat(%s)", tempfile);
2781 createdir(ent, tempfile);
2784 tempfile);
2794 strlcpy(tempfile, realfile, sizeof(tempfile));
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/include/
H A Ddefault.cfg.in103 export TEMPFILE=${TEST_BASE_DIR%%/}/tempfile$$
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c342 struct archive_string tempfile; local
365 archive_string_init(&tempfile);
366 archive_strcpy(&tempfile, tempdir);
367 archive_strcat(&tempfile, "tar.md.XXXXXX");
368 tempfd = mkstemp(tempfile.s);
381 if (copyfile(name, tempfile.s, 0, copyfile_flags | COPYFILE_PACK)) {
411 unlink(tempfile.s);
413 archive_string_free(&tempfile);
/freebsd-current/contrib/libedit/
H A Dvi.c1007 char tempfile[] = "/tmp/histedit.XXXXXXXXXX"; local
1020 fd = mkstemp(tempfile);
1044 execlp(editor, editor, tempfile, (char *)NULL);
1069 unlink(tempfile);
1076 unlink(tempfile);

Completed in 604 milliseconds

12345