Home
last modified time | relevance | path

Searched refs:_crc (Results 1 - 16 of 16) sorted by relevance

/third_party/lzma/CPP/Common/
H A DXzCrc64Reg.cpp16 UInt64 _crc; variable
20 CXzCrc64Hasher(): _crc(CRC64_INIT_VAL) {} in CXzCrc64Hasher()
25 _crc = CRC64_INIT_VAL;
30 _crc = Crc64Update(_crc, data, size);
35 const UInt64 val = CRC64_GET_DIGEST(_crc);
H A DCrcReg.cpp29 UInt32 _crc; variable
38 CCrcHasher(): _crc(CRC_INIT_VAL) { SetFunctions(0); } in CCrcHasher()
78 _crc = CRC_INIT_VAL;
83 _crc = _updateFunc(_crc, data, size, g_CrcTable);
88 const UInt32 val = CRC_GET_DIGEST(_crc);
/third_party/lzma/CPP/7zip/Archive/Common/
H A DInStreamWithCRC.h19 UInt32 _crc; variable
33 _crc = CRC_INIT_VAL; in Init()
37 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } in GetCRC()
51 UInt32 _crc;
59 _crc = CRC_INIT_VAL;
62 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); }
H A DInStreamWithCRC.cpp19 _crc = CrcUpdate(_crc, data, realProcessed); in Read()
44 _crc = CrcUpdate(_crc, data, realProcessed); in Read()
55 _crc = CRC_INIT_VAL; in Seek()
H A DOutStreamWithCRC.h18 UInt32 _crc; variable
27 _crc = CRC_INIT_VAL; in Init()
30 void InitCRC() { _crc = CRC_INIT_VAL; } in InitCRC()
32 UInt32 GetCRC() const { return CRC_GET_DIGEST(_crc); } in GetCRC()
H A DOutStreamWithCRC.cpp13 _crc = CrcUpdate(_crc, data, size); in Write()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zFolderInStream.cpp38 _crc = CRC_INIT_VAL; in ClearFileInfo()
126 CRCs.AddInReserved(CRC_GET_DIGEST(_crc)); in AddFileInfo()
177 _crc = CrcUpdate(_crc, data, cur); in Read()
231 _crc = _crcStream_Spec->GetCRC() ^ CRC_INIT_VAL; // change it
H A D7zExtract.cpp31 UInt32 _crc; member
94 _crc = CRC_INIT_VAL; in OpenFile()
128 return CloseFile_and_SetResult((!_calcCrc || fi.Crc == CRC_GET_DIGEST(_crc)) ? in CloseFile()
163 _crc = CrcUpdate(_crc, data, cur); in Write()
H A D7zOut.cpp136 _crc = CrcUpdate(_crc, data, size); in WriteBytes()
149 _crc = CRC_UPDATE_BYTE(_crc, b); in WriteByte()
842 _crc = CRC_INIT_VAL; in WriteDatabase()
886 headerCRC = CRC_GET_DIGEST(_crc); in WriteDatabase()
H A D7zFolderInStream.h31 UInt32 _crc; member
H A D7zUpdate.cpp1418 UInt32 _crc; member in NArchive::CRepackStreamBase
1464 _crc = CRC_INIT_VAL; in OpenFile()
1480 if (!_calcCrc || fi.Crc == CRC_GET_DIGEST(_crc)) in CloseFile()
1532 _crc = CrcUpdate(_crc, data, cur); in Write()
1616 _crc = CrcUpdate(_crc, buf, cur); in Read()
H A D7zOut.h297 UInt32 _crc; member in NArchive::N7z::COutArchive
/third_party/lzma/CPP/7zip/Common/
H A DInOutTempBuffer.cpp37 _crc = CRC_INIT_VAL; in CInOutTempBuffer()
141 _crc = CrcUpdate(_crc, data, size); in Write_HRESULT()
210 hres = (_crc == crc ? S_OK : E_FAIL); in WriteToStream()
H A DInOutTempBuffer.h27 UInt32 _crc; member in CInOutTempBuffer
/third_party/python/Lib/
H A Dgzip.py464 self._crc = zlib.crc32(b"")
526 self._crc = zlib.crc32(data, self._crc)
535 if crc32 != self._crc:
537 hex(self._crc)))
H A Dzipfile.py1147 self._crc = 0
1168 self._crc = crc32(data, self._crc)
1188 self._zinfo.CRC = self._crc

Completed in 14 milliseconds