Home
last modified time | relevance | path

Searched refs:tmpfilename (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D90-test_sslapi.t30 (undef, my $tmpfilename) = tempfile();
34 "passwd.txt"), $tmpfilename, "default",
45 "passwd.txt"), $tmpfilename, "fips",
54 unlink $tmpfilename;
/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_main.c140 char tmpfilename[32]; in regress_make_tmpfile() local
143 strcpy(tmpfilename, "/tmp/eventtmp.XXXXXX"); in regress_make_tmpfile()
147 fd = mkstemp(tmpfilename); in regress_make_tmpfile()
156 unlink(tmpfilename); in regress_make_tmpfile()
161 char tmpfilename[MAX_PATH]; in regress_make_tmpfile()
169 r = GetTempFileNameA(tmpfilepath, "LIBEVENT", 0, tmpfilename); in regress_make_tmpfile()
172 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, in regress_make_tmpfile()
180 *filename_out = strdup(tmpfilename); in regress_make_tmpfile()
H A Dregress_buffer.c1124 char *tmpfilename = NULL; in test_evbuffer_add_file() local
1206 fd = regress_make_tmpfile(data, datalen, &tmpfilename); in test_evbuffer_add_file()
1311 if (tmpfilename) { in test_evbuffer_add_file()
1312 unlink(tmpfilename); in test_evbuffer_add_file()
1313 free(tmpfilename); in test_evbuffer_add_file()
1333 char *tmpfilename = NULL; in test_evbuffer_file_segment_add_cleanup_cb() local
1339 fd = regress_make_tmpfile("file_segment_test_file", 22, &tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb()
1375 if (tmpfilename) { in test_evbuffer_file_segment_add_cleanup_cb()
1376 unlink(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb()
1377 free(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D90-test_sslapi.t21 (undef, my $tmpfilename) = tempfile();
25 "passwd.txt"), $tmpfilename])),
28 unlink $tmpfilename;
/netbsd-src/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_read_large.c40 char tmpfilename[] = "test-read_large.XXXXXX"; in DEFINE_TEST() local
77 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); in DEFINE_TEST()
79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755); in DEFINE_TEST()
86 f = fopen(tmpfilename, "rb"); in DEFINE_TEST()
H A Dtest_read_data_large.c48 char tmpfilename[] = "largefile"; in DEFINE_TEST() local
95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); in DEFINE_TEST()
97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777); in DEFINE_TEST()
105 f = fopen(tmpfilename, "rb"); in DEFINE_TEST()
/netbsd-src/usr.bin/mkdep/
H A Dmkdep.c101 static char tmpfilename[MAXPATHLEN]; in run_cc() local
123 (void)snprintf(tmpfilename, sizeof (tmpfilename), "%s/%s", tmpdir, in run_cc()
125 if ((tmpfd = mkstemp(tmpfilename)) < 0) in run_cc()
127 tmpfilename); in run_cc()
128 (void)unlink(tmpfilename); in run_cc()
129 *fname = tmpfilename; in run_cc()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dsslapitest.c50 static char *tmpfilename = NULL; variable
5384 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) in test_srp()
5386 tstsrpfile = tmpfilename; in test_srp()
7295 || !TEST_ptr(tmpfilename = test_get_argument(2))) in setup_tests()