/third_party/lzma/CPP/Common/ |
H A D | XzCrc64Reg.cpp | 16 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 D | CrcReg.cpp | 29 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 D | InStreamWithCRC.h | 19 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 D | InStreamWithCRC.cpp | 19 _crc = CrcUpdate(_crc, data, realProcessed);
in Read() 44 _crc = CrcUpdate(_crc, data, realProcessed);
in Read() 55 _crc = CRC_INIT_VAL;
in Seek()
|
H A D | OutStreamWithCRC.h | 18 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 D | OutStreamWithCRC.cpp | 13 _crc = CrcUpdate(_crc, data, size);
in Write()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zFolderInStream.cpp | 38 _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 D | 7zExtract.cpp | 31 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 D | 7zOut.cpp | 136 _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 D | 7zFolderInStream.h | 31 UInt32 _crc;
member
|
H A D | 7zUpdate.cpp | 1418 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 D | 7zOut.h | 297 UInt32 _crc;
member in NArchive::N7z::COutArchive
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | InOutTempBuffer.cpp | 37 _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 D | InOutTempBuffer.h | 27 UInt32 _crc;
member in CInOutTempBuffer
|
/third_party/python/Lib/ |
H A D | gzip.py | 464 self._crc = zlib.crc32(b"") 526 self._crc = zlib.crc32(data, self._crc) 535 if crc32 != self._crc: 537 hex(self._crc)))
|
H A D | zipfile.py | 1147 self._crc = 0 1168 self._crc = crc32(data, self._crc) 1188 self._zinfo.CRC = self._crc
|