Home
last modified time | relevance | path

Searched refs:cBlockHeader (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.c61 { U32 const cBlockHeader = MEM_readLE24(src); in ZSTD_getcBlockSize() local
62 U32 const cSize = cBlockHeader >> 3; in ZSTD_getcBlockSize()
63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize()
64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h382 U32 const cBlockHeader = lastBlock + (((U32)bt_rle)<<1) + (U32)(srcSize << 3); in ZSTD_rleCompressBlock() local
384 MEM_writeLE24(op, cBlockHeader); in ZSTD_rleCompressBlock()
H A Dzstd_compress.c2632 U32 const cBlockHeader = cSize == 1 ? in ZSTD_compress_frameChunk() local
2635 MEM_writeLE24(op, cBlockHeader); in ZSTD_compress_frameChunk()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c61 { U32 const cBlockHeader = MEM_readLE24(src); in ZSTD_getcBlockSize() local
62 U32 const cSize = cBlockHeader >> 3; in ZSTD_getcBlockSize()
63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize()
64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h528 U32 const cBlockHeader = lastBlock + (((U32)bt_rle)<<1) + (U32)(srcSize << 3); in ZSTD_rleCompressBlock() local
530 MEM_writeLE24(op, cBlockHeader); in ZSTD_rleCompressBlock()
H A Dzstd_compress.c3041 U32 const cBlockHeader = cSize == 1 ? in writeBlockHeader() local
3044 MEM_writeLE24(op, cBlockHeader); in writeBlockHeader()
3987 U32 const cBlockHeader = cSize == 1 ? in ZSTD_compress_frameChunk() local
3990 MEM_writeLE24(op, cBlockHeader); in ZSTD_compress_frameChunk()
6084 U32 cBlockHeader; in ZSTD_compressSequences_internal() local
6091 cBlockHeader = lastBlock + (((U32)bt_compressed)<<1) + (U32)(compressedSeqsSize << 3); in ZSTD_compressSequences_internal()
6092 MEM_writeLE24(op, cBlockHeader); in ZSTD_compressSequences_internal()