| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_read_data_large.c | 48 char tmpfilename[] = "largefile"; local 95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); 97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777); 105 f = fopen(tmpfilename, "rb");
|
| test_read_large.c | 40 char tmpfilename[] = "test-read_large.XXXXXX"; local 77 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); 79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755); 86 f = fopen(tmpfilename, "rb");
|
| /src/external/bsd/libevent/dist/test/ |
| regress_main.c | 140 char tmpfilename[32]; local 143 strcpy(tmpfilename, "/tmp/eventtmp.XXXXXX"); 147 fd = mkstemp(tmpfilename); 156 unlink(tmpfilename); 161 char tmpfilename[MAX_PATH]; 169 r = GetTempFileNameA(tmpfilepath, "LIBEVENT", 0, tmpfilename); 172 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, 180 *filename_out = strdup(tmpfilename);
|
| regress_buffer.c | 1124 char *tmpfilename = NULL; local 1206 fd = regress_make_tmpfile(data, datalen, &tmpfilename); 1311 if (tmpfilename) { 1312 unlink(tmpfilename); 1313 free(tmpfilename); 1333 char *tmpfilename = NULL; local 1339 fd = regress_make_tmpfile("file_segment_test_file", 22, &tmpfilename); 1375 if (tmpfilename) { 1376 unlink(tmpfilename); 1377 free(tmpfilename); 2543 char *tmpfilename = NULL; local [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress_main.c | 137 char tmpfilename[32]; local 140 strcpy(tmpfilename, "/tmp/eventtmp.XXXXXX"); 144 fd = mkstemp(tmpfilename); 153 unlink(tmpfilename); 158 char tmpfilename[MAX_PATH]; 166 r = GetTempFileNameA(tmpfilepath, "LIBEVENT", 0, tmpfilename); 169 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, 177 *filename_out = strdup(tmpfilename);
|
| regress_buffer.c | 1122 char *tmpfilename = NULL; local 1204 fd = regress_make_tmpfile(data, datalen, &tmpfilename); 1309 if (tmpfilename) { 1310 unlink(tmpfilename); 1311 free(tmpfilename); 1331 char *tmpfilename = NULL; local 1337 fd = regress_make_tmpfile("file_segment_test_file", 22, &tmpfilename); 1373 if (tmpfilename) { 1374 unlink(tmpfilename); 1375 free(tmpfilename); 2541 char *tmpfilename = NULL; local [all...] |
| /src/usr.bin/mkdep/ |
| mkdep.c | 101 static char tmpfilename[MAXPATHLEN]; local 123 (void)snprintf(tmpfilename, sizeof (tmpfilename), "%s/%s", tmpdir, 125 if ((tmpfd = mkstemp(tmpfilename)) < 0) 127 tmpfilename); 128 (void)unlink(tmpfilename); 129 *fname = tmpfilename;
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| sslapitest.c | 50 static char *tmpfilename = NULL; variable 5384 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 5386 tstsrpfile = tmpfilename; 7295 || !TEST_ptr(tmpfilename = test_get_argument(2)))
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| sslapitest.c | 97 static char *tmpfilename = NULL; variable 1364 out = BIO_new_file(tmpfilename, "wb"); 1373 in = BIO_new_file(tmpfilename, "rb"); 7281 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 7283 tstsrpfile = tmpfilename; 11158 || !TEST_ptr(tmpfilename = test_get_argument(2))
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| sslapitest.c | 99 static char *tmpfilename = NULL; variable 1388 out = BIO_new_file(tmpfilename, "wb"); 1397 in = BIO_new_file(tmpfilename, "rb"); 7692 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 7694 tstsrpfile = tmpfilename; 13615 || !TEST_ptr(tmpfilename = test_get_argument(2))
|