Home
last modified time | relevance | path

Searched refs:tempfilename (Results 1 – 5 of 5) sorted by relevance

/external/flac/src/libFLAC/
Dmetadata_iterators.c110 …fix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilename, FLAC__bool app…
111 …fix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilename, int fixup_is_l…
118 … *filename, const char *tempfile_path_prefix, FILE **tempfile, char **tempfilename, FLAC__Metadata…
119 static FLAC__bool transport_tempfile_(const char *filename, FILE **tempfile, char **tempfilename, F…
120 static void cleanup_tempfile_(FILE **tempfile, char **tempfilename);
1406 char *tempfilename; in chain_rewrite_file_() local
1419 if(!open_tempfile_(chain->filename, tempfile_path_prefix, &tempfile, &tempfilename, &status)) { in chain_rewrite_file_()
1453 if(!transport_tempfile_(chain->filename, &tempfile, &tempfilename, &status)) in chain_rewrite_file_()
1460 cleanup_tempfile_(&tempfile, &tempfilename); in chain_rewrite_file_()
2995 char *tempfilename = NULL; in rewrite_whole_file_() local
[all …]
/external/python/cpython3/Lib/idlelib/
Diomenu.py306 tempfilename = None
312 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_')
313 filename = tempfilename
315 if not self.writefile(tempfilename):
316 os.unlink(tempfilename)
343 if tempfilename:
344 os.unlink(tempfilename)
/external/flac/src/test_libFLAC/
Dmetadata_manip.c187 static FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfilename) in open_tempfile_() argument
192 *tempfilename = malloc(dest_len); in open_tempfile_()
193 if (*tempfilename == NULL) in open_tempfile_()
195 safe_strncpy(*tempfilename, filename, dest_len); in open_tempfile_()
196 safe_strncat(*tempfilename, tempfile_suffix, dest_len); in open_tempfile_()
198 *tempfile = flac_fopen(*tempfilename, "wb"); in open_tempfile_()
205 static void cleanup_tempfile_(FILE **tempfile, char **tempfilename) in cleanup_tempfile_() argument
212 if (*tempfilename != NULL) { in cleanup_tempfile_()
213 (void)flac_unlink(*tempfilename); in cleanup_tempfile_()
214 free(*tempfilename); in cleanup_tempfile_()
[all …]
/external/flac/src/test_libFLAC++/
Dmetadata_manip.cpp202 bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfilename) in open_tempfile_() argument
207 *tempfilename = (char*)malloc(destlen); in open_tempfile_()
208 if (*tempfilename == 0) in open_tempfile_()
210 flac_snprintf(*tempfilename, destlen, "%s%s", filename, tempfile_suffix); in open_tempfile_()
212 *tempfile = flac_fopen(*tempfilename, "wb"); in open_tempfile_()
219 void cleanup_tempfile_(FILE **tempfile, char **tempfilename) in cleanup_tempfile_() argument
226 if (*tempfilename != 0) { in cleanup_tempfile_()
227 (void)flac_unlink(*tempfilename); in cleanup_tempfile_()
228 free(*tempfilename); in cleanup_tempfile_()
229 *tempfilename = 0; in cleanup_tempfile_()
[all …]
/external/python/cpython2/Lib/idlelib/
DIOBinding.py480 tempfilename = None
486 (tfd, tempfilename) = tempfile.mkstemp(prefix='IDLE_tmp_')
487 filename = tempfilename
489 if not self.writefile(tempfilename):
490 os.unlink(tempfilename)
517 if tempfilename:
518 os.unlink(tempfilename)