Lines Matching defs:fileDataOut
272 bool CAICHHashTree::CreatePartRecoveryData(uint64 nStartPos, uint64 nSize, CFileDataIO* fileDataOut, uint32 wHashIdent, bool b32BitIdent)
280 return WriteLowestLevelHashs(fileDataOut, wHashIdent, false, b32BitIdent);
301 m_pRightTree->WriteHash(fileDataOut, wHashIdent, b32BitIdent);
302 return m_pLeftTree->CreatePartRecoveryData(nStartPos, nSize, fileDataOut, wHashIdent, b32BitIdent);
309 m_pLeftTree->WriteHash(fileDataOut, wHashIdent, b32BitIdent);
310 return m_pRightTree->CreatePartRecoveryData(nStartPos, nSize, fileDataOut, wHashIdent, b32BitIdent);
317 void CAICHHashTree::WriteHash(CFileDataIO* fileDataOut, uint32 wHashIdent, bool b32BitIdent) const
325 fileDataOut->WriteUInt16((uint16)wHashIdent);
327 fileDataOut->WriteUInt32(wHashIdent);
330 m_Hash.Write(fileDataOut);
335 bool CAICHHashTree::WriteLowestLevelHashs(CFileDataIO* fileDataOut, uint32 wHashIdent, bool bNoIdent, bool b32BitIdent) const
343 fileDataOut->WriteUInt16((uint16)wHashIdent);
345 fileDataOut->WriteUInt32(wHashIdent);
348 m_Hash.Write(fileDataOut);
358 return m_pLeftTree->WriteLowestLevelHashs(fileDataOut, wHashIdent, bNoIdent, b32BitIdent)
359 && m_pRightTree->WriteLowestLevelHashs(fileDataOut, wHashIdent, bNoIdent, b32BitIdent);
471 bool CAICHHashSet::CreatePartRecoveryData(uint64 nPartStartPos, CFileDataIO* fileDataOut, bool bDbgDontLoad)
498 fileDataOut->WriteUInt16(0); // no 16bit hashs to write
501 fileDataOut->WriteUInt16(nHashsToWrite);
502 uint64 nCheckFilePos = fileDataOut->GetPosition();
503 if (m_pHashTree.CreatePartRecoveryData(nPartStartPos, nPartSize, fileDataOut, 0, bUse32BitIdentifier)) {
504 if (nHashsToWrite*(HASHSIZE+(bUse32BitIdentifier? 4u:2u)) != fileDataOut->GetPosition() - nCheckFilePos) {
520 fileDataOut->WriteUInt16(0); // no 32bit hashs to write