Lines Matching full:output_filename
226 static int get_fileHandle(char* input_filename, char* output_filename, FILE** pfinput, FILE** pfoutput)
240 if (!strcmp (output_filename, stdoutmark))
250 if (output_filename != nulmark) *pfoutput = fopen( output_filename, "rb" );
257 DISPLAYLEVEL(2, "Warning : %s already exists\n", output_filename);
259 if (displayLevel <= 1) EXM_THROW(11, "Operation aborted : %s already exists", output_filename); /* No interaction possible */
261 if ((ch!='Y') && (ch!='y')) EXM_THROW(11, "Operation aborted : %s already exists", output_filename);
264 *pfoutput = fopen( output_filename, "wb" );
268 if ( *pfoutput==0) EXM_THROW(13, "Pb opening %s", output_filename);
293 int LZ4IO_compressFilename_Legacy(char* input_filename, char* output_filename, int compressionlevel)
310 get_fileHandle(input_filename, output_filename, &finput, &foutput);
367 int LZ4IO_compressFilename(char* input_filename, char* output_filename, int compressionLevel)
388 get_fileHandle(input_filename, output_filename, &finput, &foutput);
633 int LZ4IO_decompressFilename(char* input_filename, char* output_filename)
643 get_fileHandle(input_filename, output_filename, &finput, &foutput);