Searched refs:cSize (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_compress_superblock.c | 80 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal() local 82 op += cSize; in ZSTD_compressSubBlock_literal() 83 cLitSize += cSize; in ZSTD_compressSubBlock_literal() 84 if (cSize == 0 || ERR_isError(cSize)) { in ZSTD_compressSubBlock_literal() 85 DEBUGLOG(5, "Failed to write entropy tables %s", ZSTD_getErrorName(cSize)); in ZSTD_compressSubBlock_literal() 99 DEBUGLOG(5, "ZSTD_compressSubBlock_literal (cSize=%zu)", cSize); in ZSTD_compressSubBlock_literal() 295 { size_t cSize = (op-ostart)-ZSTD_blockHeaderSize; in ZSTD_compressSubBlock() local 296 U32 const cBlockHeader24 = lastBlock + (((U32)bt_compressed)<<1) + (U32)(cSize << 3); in ZSTD_compressSubBlock() 487 const size_t cSize = ZSTD_compressSubBlock(&nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi() local 496 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi() [all …]
|
D | huf_compress.c | 120 …{ CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->… in HUF_compressWeights() 121 if (cSize == 0) return 0; /* not enough space for compressed data */ in HUF_compressWeights() 122 op += cSize; in HUF_compressWeights() 1096 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal() 1097 if (cSize == 0 || cSize > 65535) return 0; in HUF_compress4X_usingCTable_internal() 1098 MEM_writeLE16(ostart, (U16)cSize); in HUF_compress4X_usingCTable_internal() 1099 op += cSize; in HUF_compress4X_usingCTable_internal() 1104 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal() 1105 if (cSize == 0 || cSize > 65535) return 0; in HUF_compress4X_usingCTable_internal() 1106 MEM_writeLE16(ostart+2, (U16)cSize); in HUF_compress4X_usingCTable_internal() [all …]
|
D | zstd_compress.c | 2521 size_t const cSize = ZSTD_compressLiterals( in ZSTD_entropyCompressSeqStore_internal() local 2529 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSeqStore_internal() 2530 assert(cSize <= dstCapacity); in ZSTD_entropyCompressSeqStore_internal() 2531 op += cSize; in ZSTD_entropyCompressSeqStore_internal() 2610 size_t const cSize = ZSTD_entropyCompressSeqStore_internal( in ZSTD_entropyCompressSeqStore() local 2614 if (cSize == 0) return 0; in ZSTD_entropyCompressSeqStore() 2618 if ((cSize == ERROR(dstSize_tooSmall)) & (srcSize <= dstCapacity)) in ZSTD_entropyCompressSeqStore() 2620 FORWARD_IF_ERROR(cSize, "ZSTD_entropyCompressSeqStore_internal failed"); in ZSTD_entropyCompressSeqStore() 2624 if (cSize >= maxCSize) return 0; /* block not compressed */ in ZSTD_entropyCompressSeqStore() 2626 DEBUGLOG(4, "ZSTD_entropyCompressSeqStore() cSize: %zu", cSize); in ZSTD_entropyCompressSeqStore() [all …]
|
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_decompress.c | 1946 size_t const cSize = ZSTD_findFrameCompressedSize(istart, (size_t)(iend-istart)); in ZSTD_decompressStream() local 1947 if (cSize <= (size_t)(iend-istart)) { in ZSTD_decompressStream() 1949 …ssedSize = ZSTD_decompress_usingDDict(zds, op, (size_t)(oend-op), istart, cSize, ZSTD_getDDict(zds… in ZSTD_decompressStream() 1952 ip = istart + cSize; in ZSTD_decompressStream()
|
D | zstd_decompress_block.c | 62 U32 const cSize = cBlockHeader >> 3; in ZSTD_getcBlockSize() local 65 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 68 return cSize; in ZSTD_getcBlockSize()
|