Searched refs:tmpfilename (Results 1 – 4 of 4) sorted by relevance
/external/libevent/test/ |
D | regress_main.c | 125 char tmpfilename[32]; in regress_make_tmpfile() local 128 strcpy(tmpfilename, "/tmp/eventtmp.XXXXXX"); in regress_make_tmpfile() 132 fd = mkstemp(tmpfilename); in regress_make_tmpfile() 141 unlink(tmpfilename); in regress_make_tmpfile() 146 char tmpfilename[MAX_PATH]; in regress_make_tmpfile() 154 r = GetTempFileNameA(tmpfilepath, "LIBEVENT", 0, tmpfilename); in regress_make_tmpfile() 157 h = CreateFileA(tmpfilename, GENERIC_READ|GENERIC_WRITE, in regress_make_tmpfile() 165 *filename_out = strdup(tmpfilename); in regress_make_tmpfile()
|
D | regress_buffer.c | 930 char *tmpfilename = NULL; in test_evbuffer_add_file() local 1012 fd = regress_make_tmpfile(data, datalen, &tmpfilename); in test_evbuffer_add_file() 1117 if (tmpfilename) { in test_evbuffer_add_file() 1118 unlink(tmpfilename); in test_evbuffer_add_file() 1119 free(tmpfilename); in test_evbuffer_add_file() 1139 char *tmpfilename = NULL; in test_evbuffer_file_segment_add_cleanup_cb() local 1145 fd = regress_make_tmpfile("file_segment_test_file", 22, &tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb() 1181 if (tmpfilename) { in test_evbuffer_file_segment_add_cleanup_cb() 1182 unlink(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb() 1183 free(tmpfilename); in test_evbuffer_file_segment_add_cleanup_cb()
|
/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()
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 1898 tmpfilename = os.path.join(tmpdir, os.path.basename(filename)) 1899 with open(tmpfilename, "wb") as f: 1901 os.replace(tmpfilename, output or filename)
|