Searched refs:tmpfilename (Results 1 – 7 of 7) sorted by relevance
/external/flac/src/test_grabbag/cuesheet/ |
D | main.c | 36 char tmpfilename[4096]; in do_cuesheet() local 40 FLAC__ASSERT(strlen(infilename) + 2 < sizeof(tmpfilename)); in do_cuesheet() 71 flac_snprintf(tmpfilename, sizeof (tmpfilename), "%s.1", tmpfilenamebase); in do_cuesheet() 72 if(0 == (fout = flac_fopen(tmpfilename, "w"))) { in do_cuesheet() 73 fprintf(stderr, "can't open file %s for writing: %s\n", tmpfilename, strerror(errno)); in do_cuesheet() 84 if(0 == (fin = flac_fopen(tmpfilename, "r"))) { in do_cuesheet() 85 fprintf(stderr, "can't open file %s for reading: %s\n", tmpfilename, strerror(errno)); in do_cuesheet() 103 flac_snprintf(tmpfilename, sizeof (tmpfilename), "%s.2", tmpfilenamebase); in do_cuesheet() 104 if(0 == (fout = flac_fopen(tmpfilename, "w"))) { in do_cuesheet() 105 fprintf(stderr, "can't open file %s for writing: %s\n", tmpfilename, strerror(errno)); in do_cuesheet()
|
/external/oss-fuzz/projects/binutils/ |
D | fuzz_bfd.c | 43 char tmpfilename[32]; in LLVMFuzzerTestOneInput() local 51 strncpy(tmpfilename, "/tmp/fuzz.bfd-XXXXXX", 31); in LLVMFuzzerTestOneInput() 52 if (bufferToFile(tmpfilename, Data, Size) < 0) { in LLVMFuzzerTestOneInput() 55 bfd *file = bfd_openr (tmpfilename, target); in LLVMFuzzerTestOneInput() 58 remove(tmpfilename); in LLVMFuzzerTestOneInput() 64 remove(tmpfilename); in LLVMFuzzerTestOneInput()
|
/external/libevent/test/ |
D | regress_main.c | 135 char tmpfilename[32]; in regress_make_tmpfile() local 138 strcpy(tmpfilename, "/tmp/eventtmp.XXXXXX"); in regress_make_tmpfile() 142 fd = mkstemp(tmpfilename); in regress_make_tmpfile() 151 unlink(tmpfilename); in regress_make_tmpfile() 156 char tmpfilename[MAX_PATH]; in regress_make_tmpfile() 164 r = GetTempFileNameA(tmpfilepath, "LIBEVENT", 0, tmpfilename); in regress_make_tmpfile() 167 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, in regress_make_tmpfile() 175 *filename_out = strdup(tmpfilename); in regress_make_tmpfile()
|
D | regress_buffer.c | 1120 char *tmpfilename = NULL; in test_evbuffer_add_file() local 1202 fd = regress_make_tmpfile(data, datalen, &tmpfilename); in test_evbuffer_add_file() 1307 if (tmpfilename) { in test_evbuffer_add_file() 1308 unlink(tmpfilename); in test_evbuffer_add_file() 1309 free(tmpfilename); in test_evbuffer_add_file() 1329 char *tmpfilename = NULL; in test_evbuffer_file_segment_add_cleanup_cb() local 1335 fd = regress_make_tmpfile("file_segment_test_file", 22, &tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb() 1371 if (tmpfilename) { in test_evbuffer_file_segment_add_cleanup_cb() 1372 unlink(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb() 1373 free(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb() [all …]
|
/external/libcups/backend/ |
D | lpd.c | 40 static char tmpfilename[1024] = ""; /* Temporary spool file name */ variable 443 if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0) in main() 535 if (tmpfilename[0]) in main() 536 unlink(tmpfilename); in main()
|
D | ipp.c | 141 static char tmpfilename[1024] = ""; variable 1389 if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0) in main() 1411 compatfile = tmpfilename; in main() 2222 if (tmpfilename[0]) in main() 2223 unlink(tmpfilename); in main() 3418 if (tmpfilename[0]) in sigterm_handler() 3419 unlink(tmpfilename); in sigterm_handler()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 622 static char tmpfilename[1024]; variable 630 strcpy(tmpfilename, "sockXXXXXX"); in setup4() 631 tfd = mkstemp(tmpfilename); in setup4()
|