Lines Matching refs:stdStream
149 static void PrintString(CStdOutStream &stdStream, const AString &s, int size)
152 stdStream << s;
154 stdStream << ' ';
158 static void PrintString(CStdOutStream &stdStream, const UString &s, int size)
161 stdStream << s;
163 stdStream << ' ';
215 CStdOutStream &stdStream = options.StdOutMode ? g_StdErr : g_StdOut;
216 g_StdStream = &stdStream;
219 ShowCopyrightAndHelp(stdStream, false);
249 stdStream << endl << "Formats:" << endl;
259 PrintString(stdStream, s, 2);
263 stdStream << " ";
264 stdStream << ' ';
265 stdStream << (char)(arc.UpdateEnabled ? 'C' : ' ');
266 stdStream << (char)(arc.KeepName ? 'K' : ' ');
267 stdStream << " ";
268 PrintString(stdStream, arc.Name, 6);
269 stdStream << " ";
283 PrintString(stdStream, s, 14);
284 stdStream << " ";
291 stdStream << (char)b;
295 stdStream << GetHex((Byte)((b >> 4) & 0xF));
296 stdStream << GetHex((Byte)(b & 0xF));
298 stdStream << ' ';
300 stdStream << endl;
302 stdStream << endl << "Codecs:" << endl;
314 PrintString(stdStream, s, 2);
317 stdStream << " ";
318 stdStream << ' ';
319 stdStream << (char)(codecs->GetCodecEncoderIsAssigned(j) ? 'C' : ' ');
321 stdStream << " ";
327 PrintString(stdStream, s, 8);
328 stdStream << " ";
329 PrintString(stdStream, codecs->GetCodecName(j), 11);
330 stdStream << endl;
343 HRESULT res = CrcBenchCon((FILE *)stdStream, options.NumIterations, options.NumThreads, options.DictionarySize);
348 stdStream << "\nCRC Error\n";
367 (FILE *)stdStream, options.NumIterations, options.NumThreads, options.DictionarySize);
372 stdStream << "\nDecoding Error\n";
386 ecs->OutStream = &stdStream;
396 openCallback.OutStream = &stdStream;
426 stdStream << endl << "Error: " << errorMessage;
431 stdStream << endl;
433 stdStream << "Archives: " << ecs->NumArchives << endl;
438 stdStream << endl;
440 stdStream << "Archive Errors: " << ecs->NumArchiveErrors << endl;
442 stdStream << "Sub items Errors: " << ecs->NumFileErrors << endl;
451 stdStream << "Folders: " << stat.NumFolders << endl;
453 stdStream << "Files: " << stat.NumFiles << endl;
454 stdStream
461 stdStream << "CRC: " << s << endl;
497 openCallback.OutStream = &stdStream;
515 callback.Init(&stdStream);
528 stdStream << endl;
529 stdStream << "WARNINGS for files:" << endl << endl;
533 stdStream << callback.CantFindFiles[i] << " : ";
534 stdStream << NError::MyFormatMessageW(callback.CantFindCodes[i]) << endl;
536 stdStream << "----------------" << endl;
537 stdStream << "WARNING: Cannot find " << numErrors << " file";
539 stdStream << "s";
540 stdStream << endl;
568 stdStream << L"\nError:\n" << message;
575 stdStream << kEverythingIsOk << endl;
579 stdStream << endl;
580 stdStream << "WARNINGS for files:" << endl << endl;
583 stdStream << callback.FailedFiles[i] << " : ";
584 stdStream << NError::MyFormatMessageW(callback.FailedCodes[i]) << endl;
586 stdStream << "----------------" << endl;
587 stdStream << "WARNING: Cannot open " << numErrors << " file";
589 stdStream << "s";
590 stdStream << endl;
596 PrintHelpAndExit(stdStream);