Searched refs:CrcCalc (Results 1 – 11 of 11) sorted by relevance
/external/lzma/C/ |
D | 7zCrc.h | 21 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
|
D | XzIn.c | 89 crc = CrcCalc(buf, size); in Xz_ReadIndex2() 205 if (GetUi32(buf) != CrcCalc(buf + 4, 6)) in Xz_ReadBackward()
|
D | 7zCrc.c | 40 UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size) in CrcCalc() function
|
D | XzEnc.c | 63 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()
|
D | 7zArcIn.c | 1531 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()
|
D | 7zDec.c | 586 if (CrcCalc(outBuffer, outSize) != p->FolderCRCs.Vals[folderIndex]) in SzAr_DecodeFolder()
|
D | XzDec.c | 758 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/ |
D | 7zIn.cpp | 264 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()
|
D | 7zOut.cpp | 55 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/ |
D | SfxSetup.c | 154 if (CrcCalc(buf + pos + 12, 20) == GetUi32(buf + pos + 8)) in FindSignature()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 854 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()
|