Home
last modified time | relevance | path

Searched refs:CrcCalc (Results 1 – 10 of 10) sorted by relevance

/external/lzma/C/
D7zCrc.h21 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
DXzEnc.c48 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()
D7zCrc.c44 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) in CrcCalc() function
DXzIn.c80 crc = CrcCalc(buf, size); in Xz_ReadIndex2()
195 if (GetUi32(buf) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
D7zIn.c1186 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()
DXzDec.c485 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/
D7zIn.cpp288 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()
D7zOut.cpp75 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/
DBench.cpp561 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/
DSfxSetup.c153 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()