Lines Matching defs:BHSize
252 static const size_t BHSize = LZ4F_BLOCK_HEADER_SIZE; /* block header : size, and compress flag */
391 size_t const frameEnd = BHSize + (prefsPtr->frameInfo.contentChecksumFlag*BFSize);
393 return ((BHSize + blockCRCSize) * nbBlocks) +
823 * assumption : dst buffer capacity is >= BHSize + srcSize + crcSize
834 cSize = (U32)compress(lz4ctx, (const char*)src, (char*)(cSizePtr+BHSize),
841 memcpy(cSizePtr+BHSize, src, srcSize);
846 U32 const crc32 = XXH32(cSizePtr+BHSize, cSize, 0); /* checksum of compressed data */
847 LZ4F_writeLE32(cSizePtr+BHSize+cSize, crc32);
849 return BHSize + cSize + ((U32)crcFlag)*BFSize;
1114 RETURN_ERROR_IF(dstCapacity < (cctxPtr->tmpInSize + BHSize + BFSize), dstMaxSize_tooSmall);
1458 decodeResult = BHSize; /* block header size */
1612 nextSrcSizeHint = (dctx->tmpInTarget - dctx->tmpInSize) + BHSize; /* rest of header + nextBlockHeader */
1645 if ((size_t)(srcEnd - srcPtr) >= BHSize) {
1647 srcPtr += BHSize;
1657 size_t const wantedData = BHSize - dctx->tmpInSize;
1663 if (dctx->tmpInSize < BHSize) { /* not enough input for cBlockSize */
1664 nextSrcSizeHint = BHSize - dctx->tmpInSize;
1697 nextSrcSizeHint = BHSize + nextCBlockSize + crcSize;
1741 + BHSize /* next header size */;
1804 + BHSize /* next header size */;
1923 nextSrcSizeHint = BHSize;