Home
last modified time | relevance | path

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

/third_party/lzma/C/
H A D7zCrc.h21 UInt32 Z7_FASTCALL CrcCalc(const void *data, size_t size);
H A DXzIn.c101 crc = CrcCalc(buf, size); in Xz_ReadIndex2()
221 if (GetUi32(buf_ptr) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
H A D7zCrc.c50 UInt32 Z7_FASTCALL CrcCalc(const void *data, size_t size) in CrcCalc() function
H A 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()
H A D7zArcIn.c1542 if (CrcCalc(header + 12, 20) != GetUi32(header + 8)) in SzArEx_Open2()
1575 if (CrcCalc(buf.data, nextHeaderSizeT) == nextHeaderCRC) in SzArEx_Open2()
1719 if (CrcCalc(*tempBuf + *offset, *outSizeProcessed) != p->CRCs.Vals[fileIndex]) in SzArEx_Extract()
H A D7zDec.c643 if (CrcCalc(outBuffer, outSize) != p->FolderCRCs.Vals[folderIndex]) in SzAr_DecodeFolder()
H A DXzDec.c791 if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != in Xz_ParseHeader()
800 && GetUi32(buf) == CrcCalc(buf + 4, 6) in Xz_CheckFooter()
846 if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) in XzBlock_Parse()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp55 SetUInt32(buf + 8, CrcCalc(buf + 8 + 4, 20)); in WriteStartHeader()
502 outFolders.FolderUnpackCRCs.Vals.Add(CrcCalc(data, data.Size())); in EncodeStream()
828 headerCRC = CrcCalc(NULL, 0); in WriteDatabase()
H A D7zIn.cpp317 return CrcCalc(p + 12, 20) == Get32(p + 8); in TestStartCrc()
1215 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) in ReadAndDecodePackedStreams()
1629 nextHeaderCRC = CrcCalc(buf + i, (size_t)nextHeaderSize); in ReadDatabase2()
1637 // if (CrcCalc(_header + 12, 20) != crcFromArchive) ThrowIncorrect(); in ReadDatabase2()
1681 if (CrcCalc(buffer2, nextHeaderSize_t) != nextHeaderCRC) in ReadDatabase2()
/third_party/lzma/C/Util/SfxSetup/
H A DSfxSetup.c170 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()
/third_party/lzma/CPP/7zip/UI/Common/
H A DBench.cpp254 // printf("\n CRC = %x\n", CrcCalc(buf, bufSize)); in GenerateLz()
1241 crc = CrcCalc((const Byte *)rg, rg.Size());
1895 crc = CrcCalc(fileData, uncompressedDataSize);
2593 if (CrcCalc1(buf + i, j) != CrcCalc(buf + i, j))

Completed in 18 milliseconds