Lines Matching defs:hb
181 HRESULT CHashCallbackConsole::BeforeFirstFile(const CHashBundle &hb)
194 FOR_VECTOR (i, hb.Hashers)
197 const CHasherState &h = hb.Hashers[i];
218 PrintSeparatorLine(hb.Hashers);
307 HRESULT CHashCallbackConsole::SetOperationResult(UInt64 fileSize, const CHashBundle &hb, bool showHash)
320 PrintResultLine(fileSize, hb.Hashers, k_HashCalc_Index_Current, showHash, s);
323 PrintResultLine(fileSize, hb.Hashers, k_HashCalc_Index_Current, showHash);
371 void PrintHashStat(CStdOutStream &so, const CHashBundle &hb)
373 FOR_VECTOR (i, hb.Hashers)
375 const CHasherState &h = hb.Hashers[i];
377 if (hb.NumFiles != 1 || hb.NumDirs != 0)
379 if (hb.NumAltStreams != 0)
394 HRESULT CHashCallbackConsole::AfterLastFile(CHashBundle &hb)
400 PrintSeparatorLine(hb.Hashers);
402 PrintResultLine(hb.FilesSize, hb.Hashers, k_HashCalc_Index_DataSum, true, AString());
406 if (hb.NumFiles != 1 || hb.NumDirs != 0)
408 if (hb.NumDirs != 0)
409 PrintProperty("Folders", hb.NumDirs);
410 PrintProperty("Files", hb.NumFiles);
413 PrintProperty("Size", hb.FilesSize);
415 if (hb.NumAltStreams != 0)
417 PrintProperty("Alternate streams", hb.NumAltStreams);
418 PrintProperty("Alternate streams size", hb.AltStreamsSize);
422 PrintHashStat(*_so, hb);