Lines Matching refs:dstCapacity
412 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
1499 if (length > dstCapacity) in ZSTD_generateNxBytes()
1566 static size_t ZSTD_decompressFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void **src… in ZSTD_decompressFrame() argument
1570 BYTE *const oend = ostart + dstCapacity; in ZSTD_decompressFrame()
1643 static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void … in ZSTD_decompressMultiFrame() argument
1691 const size_t res = ZSTD_decompressFrame(dctx, dst, dstCapacity, &src, &srcSize); in ZSTD_decompressMultiFrame()
1697 dstCapacity -= res; in ZSTD_decompressMultiFrame()
1707 size_t ZSTD_decompress_usingDict(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, s… in ZSTD_decompress_usingDict() argument
1709 return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize, dict, dictSize, NULL); in ZSTD_decompress_usingDict()
1712 size_t ZSTD_decompressDCtx(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t … in ZSTD_decompressDCtx() argument
1714 return ZSTD_decompress_usingDict(dctx, dst, dstCapacity, src, srcSize, NULL, 0); in ZSTD_decompressDCtx()
1743 size_t ZSTD_decompressContinue(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, siz… in ZSTD_decompressContinue() argument
1748 if (dstCapacity) in ZSTD_decompressContinue()
1810 …case bt_compressed: rSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize); b… in ZSTD_decompressContinue()
1811 case bt_raw: rSize = ZSTD_copyRawBlock(dst, dstCapacity, src, srcSize); break; in ZSTD_decompressContinue()
1812 case bt_rle: rSize = ZSTD_setRleBlock(dst, dstCapacity, src, srcSize, dctx->rleSize); break; in ZSTD_decompressContinue()
2146 size_t ZSTD_decompress_usingDDict(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, … in ZSTD_decompress_usingDDict() argument
2149 return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize, NULL, 0, ddict); in ZSTD_decompress_usingDDict()
2290 ZSTD_STATIC size_t ZSTD_limitCopy(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_limitCopy() argument
2292 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy()