Home
last modified time | relevance | path

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

/external/lzma/C/
D7zCrc.h21 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
DXzIn.c82 crc = CrcCalc(buf, size); in Xz_ReadIndex2()
199 if (GetUi32(buf) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
DXzEnc.c45 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader()
76 SetUi32(header + pos, CrcCalc(header, pos)); in XzBlock_WriteHeader()
123 SetUi32(buf, CrcCalc(buf + 4, 6)); in Xz_WriteFooter()
D7zCrc.c40 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) in CrcCalc() function
DXzDec.c500 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader()
510 (GetUi32(buf) == CrcCalc(buf + 4, 6) && in Xz_CheckFooter()
526 if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) in XzBlock_Parse()
D7zArcIn.c1531 if (CrcCalc(header + 12, 20) != GetUi32(header + 8)) in SzArEx_Open2()
1562 if (CrcCalc(buf.data, nextHeaderSizeT) == nextHeaderCRC) in SzArEx_Open2()
1704 if (CrcCalc(*tempBuf + *offset, *outSizeProcessed) != p->CRCs.Vals[fileIndex]) in SzArEx_Extract()
D7zDec.c586 if (CrcCalc(outBuffer, outSize) != p->FolderCRCs.Vals[folderIndex]) in SzAr_DecodeFolder()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp248 return CrcCalc(p + 12, 20) == Get32(p + 8); in TestSignature()
255 if (CrcCalc(p + 12, 20) == Get32(p + 8)) in TestSignature2()
1097 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) in ReadAndDecodePackedStreams()
1523 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()
1568 if (CrcCalc(buffer2, nextHeaderSize_t) != nextHeaderCRC) in ReadDatabase2()
D7zOut.cpp55 SetUInt32(buf, CrcCalc(buf + 4, 20)); in WriteStartHeader()
520 outFolders.FolderUnpackCRCs.Vals.Add(CrcCalc(data, data.Size())); in EncodeStream()
804 headerCRC = CrcCalc(0, 0); in WriteDatabase()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c152 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp857 crc = CrcCalc(rg.Buffer, rg.BufferSize); in Init()
1257 crc = CrcCalc(fileData, uncompressedDataSize); in MethodBench()
1662 if (CrcCalc1(buf + i, j) != CrcCalc(buf + i, j)) in CrcInternalTest()