Home
last modified time | relevance | path

Searched refs:dstCapacity (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/include/linux/
Dzstd.h256 size_t ZSTD_compressCCtx(ZSTD_CCtx *ctx, void *dst, size_t dstCapacity,
299 size_t ZSTD_decompressDCtx(ZSTD_DCtx *ctx, void *dst, size_t dstCapacity,
325 size_t ZSTD_compress_usingDict(ZSTD_CCtx *ctx, void *dst, size_t dstCapacity,
346 size_t ZSTD_decompress_usingDict(ZSTD_DCtx *ctx, void *dst, size_t dstCapacity,
406 size_t ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
458 size_t dstCapacity, const void *src, size_t srcSize,
1015 size_t ZSTD_compressContinue(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1017 size_t ZSTD_compressEnd(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1105 size_t ZSTD_decompressContinue(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity,
1150 size_t ZSTD_compressBlock(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
[all …]
Dlz4.h346 int LZ4_compress_HC(const char *src, char *dst, int srcSize, int dstCapacity,
/Linux-v4.19/lib/zstd/
Dcompress.c434 size_t ZSTD_noCompressBlock(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_noCompressBlock() argument
436 if (srcSize + ZSTD_blockHeaderSize > dstCapacity) in ZSTD_noCompressBlock()
443 static size_t ZSTD_noCompressLiterals(void *dst, size_t dstCapacity, const void *src, size_t srcSiz… in ZSTD_noCompressLiterals() argument
448 if (srcSize + flSize > dstCapacity) in ZSTD_noCompressLiterals()
462 static size_t ZSTD_compressRleLiteralsBlock(void *dst, size_t dstCapacity, const void *src, size_t … in ZSTD_compressRleLiteralsBlock() argument
467 (void)dstCapacity; /* dstCapacity already guaranteed to be >=4, hence large enough */ in ZSTD_compressRleLiteralsBlock()
482 static size_t ZSTD_compressLiterals(ZSTD_CCtx *zc, void *dst, size_t dstCapacity, const void *src, … in ZSTD_compressLiterals() argument
496 return ZSTD_noCompressLiterals(dst, dstCapacity, src, srcSize); in ZSTD_compressLiterals()
499 if (dstCapacity < lhSize + 1) in ZSTD_compressLiterals()
506 …cLitSize = singleStream ? HUF_compress1X_repeat(ostart + lhSize, dstCapacity - lhSize, src, srcSiz… in ZSTD_compressLiterals()
[all …]
Ddecompress.c412 static size_t ZSTD_copyRawBlock(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_copyRawBlock() argument
414 if (srcSize > dstCapacity) in ZSTD_copyRawBlock()
420 static size_t ZSTD_setRleBlock(void *dst, size_t dstCapacity, const void *src, size_t srcSize, size… in ZSTD_setRleBlock() argument
424 if (regenSize > dstCapacity) in ZSTD_setRleBlock()
1445 static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const v… in ZSTD_decompressBlock_internal() argument
1465 return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize); in ZSTD_decompressBlock_internal()
1466 return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize); in ZSTD_decompressBlock_internal()
1479 size_t ZSTD_decompressBlock(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t… in ZSTD_decompressBlock() argument
1483 dSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize); in ZSTD_decompressBlock()
1497 size_t ZSTD_generateNxBytes(void *dst, size_t dstCapacity, BYTE byte, size_t length) in ZSTD_generateNxBytes() argument
[all …]
Dbitstream.h78 ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *dstBuffer, size_t dstCapacity);
162 ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *startPtr, size_t dstCapacity) in BIT_initCStream() argument
168 bitC->endPtr = bitC->startPtr + dstCapacity - sizeof(bitC->ptr); in BIT_initCStream()
169 if (dstCapacity <= sizeof(bitC->ptr)) in BIT_initCStream()
Dfse.h129 FSE_PUBLIC_API size_t FSE_compress_usingCTable(void *dst, size_t dstCapacity, const void *src, size…
197 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void *dst, size_t dstCapacity, const void *cSrc, s…
284 size_t FSE_decompress_wksp(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, unsign…
Dfse_decompress.c294 size_t FSE_decompress_wksp(void *dst, size_t dstCapacity, const void *cSrc, size_t cSrcSize, unsign… in FSE_decompress_wksp() argument
331 …return FSE_decompress_usingDTable(dst, dstCapacity, ip, cSrcSize, dt); /* always return, even if i… in FSE_decompress_wksp()