Searched refs:CrcCalc (Results 1 – 10 of 10) sorted by relevance
/external/lzma/C/ |
D | 7zCrc.h | 21 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
|
D | XzEnc.c | 48 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader() 75 SetUi32(header + pos, CrcCalc(header, pos)); in XzBlock_WriteHeader() 118 SetUi32(buf, CrcCalc(buf + 4, 6)); in Xz_WriteFooter()
|
D | 7zCrc.c | 44 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) in CrcCalc() function
|
D | XzIn.c | 80 crc = CrcCalc(buf, size); in Xz_ReadIndex2() 195 if (GetUi32(buf) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
|
D | 7zIn.c | 1186 if (CrcCalc(outBuffer->data, (size_t)unpackSize) != folder->UnpackCRC) in SzReadAndDecodePackedStreams2() 1244 if (CrcCalc(header + 12, 20) != GetUi32(header + 8)) in SzArEx_Open2() 1274 if (CrcCalc(buffer.data, nextHeaderSizeT) == nextHeaderCRC) in SzArEx_Open2() 1381 if (CrcCalc(*outBuffer, unpackSize) != folder->UnpackCRC) in SzArEx_Extract() 1398 if (fileItem->CrcDefined && CrcCalc(*outBuffer + *offset, *outSizeProcessed) != fileItem->Crc) in SzArEx_Extract()
|
D | XzDec.c | 485 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader() 495 (GetUi32(buf) == CrcCalc(buf + 4, 6) && in Xz_CheckFooter() 511 if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) in XzBlock_Parse()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.cpp | 288 return CrcCalc(p + 12, 20) == GetUi32(p + 8); in TestSignature() 298 if (CrcCalc(p + 12, 20) == GetUi32(p + 8)) in TestSignature2() 851 if (CrcCalc(data, unpackSize) != folder.UnpackCRC) in ReadAndDecodePackedStreams() 1157 UInt32 crc = CrcCalc(_header + 0xC, 20); in ReadDatabase2() 1182 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2() 1212 if (CrcCalc(buffer2, (UInt32)nextHeaderSize) != nextHeaderCRC) in ReadDatabase2()
|
D | 7zOut.cpp | 75 SetUInt32(buf, CrcCalc(buf + 4, 20)); in WriteStartHeader() 554 folderItem.UnpackCRC = CrcCalc(data, data.GetCapacity()); in EncodeStream() 758 headerCRC = CrcCalc(0, 0); in WriteDatabase()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 561 crc = CrcCalc(rg.Buffer, rg.BufferSize); in Init() 878 if (CrcCalc(data, size) != crcBase) in CrcBig() 964 if (CrcCalc1(buf + i, j) != CrcCalc(buf + i, j)) in CrcInternalTest()
|
/external/lzma/C/Util/SfxSetup/ |
D | SfxSetup.c | 153 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()
|