Searched refs:cSize (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/lib/zstd/compress/ |
D | huf_compress.c | 98 …{ CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->… in HUF_compressWeights() 99 if (cSize == 0) return 0; /* not enough space for compressed data */ in HUF_compressWeights() 100 op += cSize; in HUF_compressWeights() 691 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal() 692 if (cSize==0) return 0; in HUF_compress4X_usingCTable_internal() 693 assert(cSize <= 65535); in HUF_compress4X_usingCTable_internal() 694 MEM_writeLE16(ostart, (U16)cSize); in HUF_compress4X_usingCTable_internal() 695 op += cSize; in HUF_compress4X_usingCTable_internal() 700 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal() 701 if (cSize==0) return 0; in HUF_compress4X_usingCTable_internal() [all …]
|
D | zstd_compress_superblock.c | 359 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal() local 361 op += cSize; in ZSTD_compressSubBlock_literal() 362 cLitSize += cSize; in ZSTD_compressSubBlock_literal() 363 if (cSize == 0 || ERR_isError(cSize)) { in ZSTD_compressSubBlock_literal() 364 DEBUGLOG(5, "Failed to write entropy tables %s", ZSTD_getErrorName(cSize)); in ZSTD_compressSubBlock_literal() 378 DEBUGLOG(5, "ZSTD_compressSubBlock_literal (cSize=%zu)", cSize); in ZSTD_compressSubBlock_literal() 575 { size_t cSize = (op-ostart)-ZSTD_blockHeaderSize; in ZSTD_compressSubBlock() local 576 U32 const cBlockHeader24 = lastBlock + (((U32)bt_compressed)<<1) + (U32)(cSize << 3); in ZSTD_compressSubBlock() 766 const size_t cSize = ZSTD_compressSubBlock(&nextCBlock->entropy, entropyMetadata, in ZSTD_compressSubBlock_multi() local 775 FORWARD_IF_ERROR(cSize, "ZSTD_compressSubBlock failed"); in ZSTD_compressSubBlock_multi() [all …]
|
D | zstd_compress.c | 2135 size_t const cSize = ZSTD_compressLiterals( in ZSTD_entropyCompressSequences_internal() local 2143 FORWARD_IF_ERROR(cSize, "ZSTD_compressLiterals failed"); in ZSTD_entropyCompressSequences_internal() 2144 assert(cSize <= dstCapacity); in ZSTD_entropyCompressSequences_internal() 2145 op += cSize; in ZSTD_entropyCompressSequences_internal() 2299 size_t const cSize = ZSTD_entropyCompressSequences_internal( in ZSTD_entropyCompressSequences() local 2303 if (cSize == 0) return 0; in ZSTD_entropyCompressSequences() 2307 if ((cSize == ERROR(dstSize_tooSmall)) & (srcSize <= dstCapacity)) in ZSTD_entropyCompressSequences() 2309 FORWARD_IF_ERROR(cSize, "ZSTD_entropyCompressSequences_internal failed"); in ZSTD_entropyCompressSequences() 2313 if (cSize >= maxCSize) return 0; /* block not compressed */ in ZSTD_entropyCompressSequences() 2315 DEBUGLOG(4, "ZSTD_entropyCompressSequences() cSize: %zu\n", cSize); in ZSTD_entropyCompressSequences() [all …]
|
/linux-6.1.9/lib/zstd/decompress/ |
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()
|
D | zstd_decompress.c | 1881 size_t const cSize = ZSTD_findFrameCompressedSize(istart, (size_t)(iend-istart)); in ZSTD_decompressStream() local 1882 if (cSize <= (size_t)(iend-istart)) { in ZSTD_decompressStream() 1884 …ssedSize = ZSTD_decompress_usingDDict(zds, op, (size_t)(oend-op), istart, cSize, ZSTD_getDDict(zds… in ZSTD_decompressStream() 1887 ip = istart + cSize; in ZSTD_decompressStream()
|