Home
last modified time | relevance | path

Searched refs:_crc (Results 1 – 14 of 14) sorted by relevance

/external/lzma/CPP/Common/
DXzCrc64Reg.cpp16 UInt64 _crc; member in CXzCrc64Hasher
20 CXzCrc64Hasher(): _crc(CRC64_INIT_VAL) {} in CXzCrc64Hasher()
28 _crc = CRC64_INIT_VAL; in STDMETHODIMP_()
33 _crc = Crc64Update(_crc, data, size); in STDMETHODIMP_()
38 UInt64 val = CRC64_GET_DIGEST(_crc); in STDMETHODIMP_()
DCrcReg.cpp29 UInt32 _crc; member in CCrcHasher
35 CCrcHasher(): _crc(CRC_INIT_VAL) { SetFunctions(0); } in CCrcHasher()
84 _crc = CRC_INIT_VAL; in STDMETHODIMP_()
89 _crc = _updateFunc(_crc, data, size, g_CrcTable); in STDMETHODIMP_()
94 UInt32 val = CRC_GET_DIGEST(_crc); in STDMETHODIMP_()
/external/lzma/CPP/7zip/Archive/Common/
DInStreamWithCRC.h23 UInt32 _crc; variable
31 _crc = CRC_INIT_VAL; in Init()
34 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } in GetCRC()
51 UInt32 _crc; variable
59 _crc = CRC_INIT_VAL; in Init()
62 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } in GetCRC()
DInStreamWithCRC.cpp16 _crc = CrcUpdate(_crc, data, realProcessed); in Read()
33 _crc = CrcUpdate(_crc, data, realProcessed); in Read()
44 _crc = CRC_INIT_VAL; in Seek()
DOutStreamWithCRC.h18 UInt32 _crc; variable
29 _crc = CRC_INIT_VAL;
32 void InitCRC() { _crc = CRC_INIT_VAL; } in InitCRC()
34 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } in GetCRC()
DOutStreamWithCRC.cpp13 _crc = CrcUpdate(_crc, data, size); in Write()
/external/lzma/CPP/7zip/Common/
DInOutTempBuffer.cpp38 _crc = CRC_INIT_VAL; in InitWriting()
54 _crc = CrcUpdate(_crc, data, processed); in WriteToFile()
69 _crc = CrcUpdate(_crc, data, cur); in Write()
111 return (_crc == crc && size == _size) ? S_OK : E_FAIL; in WriteToStream()
DInOutTempBuffer.h18 UInt32 _crc; variable
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp23 _crc = CRC_INIT_VAL; in Init()
33 _crc = CRC_INIT_VAL; in OpenStream()
72 CRCs.Add(CRC_GET_DIGEST(_crc)); in AddFileInfo()
87 _crc = CrcUpdate(_crc, data, processed2); in Read()
99 _crc = CRC_INIT_VAL; in Read()
D7zExtract.cpp30 UInt32 _crc; member in NArchive::N7z::CFolderOutStream
96 _crc = CRC_INIT_VAL; in OpenFile()
130 return CloseFile_and_SetResult((!_calcCrc || fi.Crc == CRC_GET_DIGEST(_crc)) ? in CloseFile()
159 _crc = CrcUpdate(_crc, data, cur); in Write()
D7zOut.cpp149 _crc = CrcUpdate(_crc, data, size); in WriteBytes()
162 _crc = CRC_UPDATE_BYTE(_crc, b); in WriteByte()
818 _crc = CRC_INIT_VAL; in WriteDatabase()
862 headerCRC = CRC_GET_DIGEST(_crc); in WriteDatabase()
D7zFolderInStream.h24 UInt32 _crc; variable
D7zUpdate.cpp1173 UInt32 _crc; member in NArchive::N7z::CRepackStreamBase
1219 _crc = CRC_INIT_VAL; in OpenFile()
1235 if (!_calcCrc || fi.Crc == CRC_GET_DIGEST(_crc)) in CloseFile()
1289 _crc = CrcUpdate(_crc, data, cur); in Write()
1373 _crc = CrcUpdate(_crc, buf, cur); in Read()
D7zOut.h280 UInt32 _crc; variable