Lines Matching refs:file
19 static const char * const kCantReadMessage = "Cannot read input file";
20 static const char * const kCantWriteMessage = "Cannot write output file";
35 "\n" " e: encode file"
36 "\n" " d: decode file"
236 File_Construct(&inStream.file);
240 File_Construct(&outStream.file);
267 const WRes wres = InFile_Open(&inStream.file, args[2]);
269 return PrintError_WRes("Cannot open input file", wres);
276 wres = OutFile_Open(&outStream.file, args[3]);
278 return PrintError_WRes("Cannot open output file", wres);
286 const WRes wres = File_GetLength(&inStream.file, &fileSize);
288 return PrintError_WRes("Cannot get file length", wres);
297 File_Close(&outStream.file);
298 File_Close(&inStream.file);