Home
last modified time | relevance | path

Searched refs:_crc (Results 1 – 16 of 16) 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()
90 _crc = CrcUpdate(_crc, data, cur); in Read()
102 _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()
165 _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()
790 _crc = CRC_INIT_VAL; in WriteDatabase()
834 headerCRC = CRC_GET_DIGEST(_crc); in WriteDatabase()
D7zFolderInStream.h24 UInt32 _crc; variable
D7zUpdate.cpp1180 UInt32 _crc; member in NArchive::N7z::CRepackStreamBase
1226 _crc = CRC_INIT_VAL; in OpenFile()
1242 if (!_calcCrc || fi.Crc == CRC_GET_DIGEST(_crc)) in CloseFile()
1296 _crc = CrcUpdate(_crc, data, cur); in Write()
1380 _crc = CrcUpdate(_crc, buf, cur); in Read()
D7zOut.h294 UInt32 _crc; variable
/external/python/cpython3/Lib/
Dgzip.py410 self._crc = zlib.crc32(b"")
514 self._crc = zlib.crc32(data, self._crc)
523 if crc32 != self._crc:
525 hex(self._crc)))
Dzipfile.py1111 self._crc = 0
1125 self._crc = crc32(data, self._crc)
1145 self._zinfo.CRC = self._crc