• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/

Lines Matching defs:tempfile_path_prefix

135 static FLAC__bool open_tempfile_(const char *filename, const char *tempfile_path_prefix, FILE **tempfile, char **tempfilename, FLAC__Metadata_SimpleIteratorStatus *status);
347 char *filename, *tempfile_path_prefix;
385 iterator->tempfile_path_prefix = 0;
410 if(0 != iterator->tempfile_path_prefix) {
411 free(iterator->tempfile_path_prefix);
412 iterator->tempfile_path_prefix = 0;
482 * The 'tempfile_path_prefix' allows you to specify a directory where
485 * 'tempfile_path_prefix' is NULL, the temp file will be written in the
490 * 'tempfile_path_prefix'. Note that you should use the forward slash
494 FLAC__bool FLAC__metadata_simple_iterator_init(FLAC__Metadata_SimpleIterator *iterator, const char *filename, FLAC__bool preserve_file_stats, const char *tempfile_path_prefix);
499 const char *tempfile_path_prefix = 0; /*@@@ search for comments near 'rename(...)' for what it will take to finish implementing this */
513 if(0 != tempfile_path_prefix && 0 == (iterator->tempfile_path_prefix = strdup(tempfile_path_prefix))) {
1396 static FLAC__bool chain_rewrite_file_(FLAC__Metadata_Chain *chain, const char *tempfile_path_prefix)
1412 if(!open_tempfile_(chain->filename, tempfile_path_prefix, &tempfile, &tempfilename, &status)) {
1650 const char *tempfile_path_prefix = 0;
1679 if(!chain_rewrite_file_(chain, tempfile_path_prefix))
3040 if(!open_tempfile_(iterator->filename, iterator->tempfile_path_prefix, tempfile, tempfilename, &iterator->status)) {
3215 FLAC__bool open_tempfile_(const char *filename, const char *tempfile_path_prefix, FILE **tempfile, char **tempfilename, FLAC__Metadata_SimpleIteratorStatus *status)
3218 if(0 == tempfile_path_prefix) {
3233 if(0 == (*tempfilename = (char*)safe_malloc_add_4op_(strlen(tempfile_path_prefix), /*+*/strlen(p), /*+*/strlen(tempfile_suffix), /*+*/2))) {
3237 strcpy(*tempfilename, tempfile_path_prefix);
3272 /*@@@ to fully support the tempfile_path_prefix we need to update this piece to actually copy across filesystems instead of just rename(): */