Searched refs:nextCBlockSize (Results 1 – 2 of 2) sorted by relevance
1465 { const unsigned long nextCBlockSize = LZ4IO_readLE32(&blockInfo) & 0x7FFFFFFFU; in LZ4IO_skipBlocksData() local1466 … const unsigned long nextBlock = nextCBlockSize + (blockChecksumFlag * LZ4F_BLOCK_CHECKSUM_SIZE); in LZ4IO_skipBlocksData()1467 if (nextCBlockSize == 0) { in LZ4IO_skipBlocksData()1508 { const unsigned int nextCBlockSize = LZ4IO_readLE32(&blockInfo); in LZ4IO_skipLegacyBlocksData() local1509 if ( nextCBlockSize == LEGACY_MAGICNUMBER in LZ4IO_skipLegacyBlocksData()1510 || nextCBlockSize == LZ4IO_MAGICNUMBER in LZ4IO_skipLegacyBlocksData()1511 || LZ4IO_isSkippableMagicNumber(nextCBlockSize) ) { in LZ4IO_skipLegacyBlocksData()1518 if (nextCBlockSize > LZ4IO_LEGACY_BLOCK_SIZE_MAX) { in LZ4IO_skipLegacyBlocksData()1522 totalBlocksSize += LZ4IO_LEGACY_BLOCK_HEADER_SIZE + nextCBlockSize; in LZ4IO_skipLegacyBlocksData()1525 if (UTIL_fseek(finput, nextCBlockSize, SEEK_CUR) != 0) { in LZ4IO_skipLegacyBlocksData()
1673 size_t const nextCBlockSize = blockHeader & 0x7FFFFFFFU; in LZ4F_decompress() local1680 if (nextCBlockSize > dctx->maxBlockSize) { in LZ4F_decompress()1685 dctx->tmpInTarget = nextCBlockSize; in LZ4F_decompress()1686 DEBUGLOG(5, "next block is uncompressed (size %u)", (U32)nextCBlockSize); in LZ4F_decompress()1694 dctx->tmpInTarget = nextCBlockSize + crcSize; in LZ4F_decompress()1697 nextSrcSizeHint = BHSize + nextCBlockSize + crcSize; in LZ4F_decompress()