/external/lzma/CPP/Common/ |
D | XzCrc64Reg.cpp | 16 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_()
|
D | CrcReg.cpp | 29 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/ |
D | InStreamWithCRC.h | 23 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()
|
D | InStreamWithCRC.cpp | 16 _crc = CrcUpdate(_crc, data, realProcessed); in Read() 33 _crc = CrcUpdate(_crc, data, realProcessed); in Read() 44 _crc = CRC_INIT_VAL; in Seek()
|
D | OutStreamWithCRC.h | 18 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()
|
D | OutStreamWithCRC.cpp | 13 _crc = CrcUpdate(_crc, data, size); in Write()
|
/external/lzma/CPP/7zip/Common/ |
D | InOutTempBuffer.cpp | 38 _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()
|
D | InOutTempBuffer.h | 18 UInt32 _crc; variable
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zFolderInStream.cpp | 23 _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()
|
D | 7zExtract.cpp | 30 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()
|
D | 7zOut.cpp | 149 _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()
|
D | 7zFolderInStream.h | 24 UInt32 _crc; variable
|
D | 7zUpdate.cpp | 1180 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()
|
D | 7zOut.h | 294 UInt32 _crc; variable
|
/external/python/cpython3/Lib/ |
D | gzip.py | 410 self._crc = zlib.crc32(b"") 514 self._crc = zlib.crc32(data, self._crc) 523 if crc32 != self._crc: 525 hex(self._crc)))
|
D | zipfile.py | 1111 self._crc = 0 1125 self._crc = crc32(data, self._crc) 1145 self._zinfo.CRC = self._crc
|