Searched refs:tempfile (Results 1 – 2 of 2) sorted by relevance
87 static char *tempfile = nullptr; in temp_stream() local89 if (tempfile == nullptr) in temp_stream()115 tempfile = tempbuf; in temp_stream()126 int fd = mkstemp (tempfile); in temp_stream()130 quoteaf (tempfile)); in temp_stream()138 quoteaf (tempfile)); in temp_stream()140 unlink (tempfile); in temp_stream()142 free (tempfile); in temp_stream()143 tempfile = nullptr; in temp_stream()147 record_or_unlink_tempfile (tempfile, tmp_fp); in temp_stream()[all …]
6 import tempfile39 f, fname = tempfile.mkstemp(dir='.')