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.c89 crc = CrcCalc(buf, size); in Xz_ReadIndex2()
205 if (GetUi32(buf) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
D7zCrc.c40 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) in CrcCalc() function
DXzEnc.c63 crc = CrcCalc(header + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE); in Xz_WriteHeader()
94 SetUi32(header + pos, CrcCalc(header, pos)); in XzBlock_WriteHeader()
219 SetUi32(buf + 8, CrcCalc(buf + 8 + 4, 6)); in XzEncIndex_WriteFooter()
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()
DXzDec.c758 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader()
767 && GetUi32(buf) == CrcCalc(buf + 4, 6) in Xz_CheckFooter()
813 if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) in XzBlock_Parse()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp264 return CrcCalc(p + 12, 20) == Get32(p + 8); in TestSignature()
271 if (CrcCalc(p + 12, 20) == Get32(p + 8)) in TestSignature2()
1131 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) in ReadAndDecodePackedStreams()
1545 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()
1590 if (CrcCalc(buffer2, nextHeaderSize_t) != nextHeaderCRC) in ReadDatabase2()
D7zOut.cpp55 SetUInt32(buf, CrcCalc(buf + 4, 20)); in WriteStartHeader()
515 outFolders.FolderUnpackCRCs.Vals.Add(CrcCalc(data, data.Size())); in EncodeStream()
776 headerCRC = CrcCalc(0, 0); in WriteDatabase()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c154 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp854 crc = CrcCalc(rg.Buffer, rg.BufferSize); in Init()
1255 crc = CrcCalc(fileData, uncompressedDataSize); in MethodBench()
1660 if (CrcCalc1(buf + i, j) != CrcCalc(buf + i, j)) in CrcInternalTest()