Lines Matching refs:dst
52 static void ZSTD_copy4(void *dst, const void *src) { memcpy(dst, src, 4); } in ZSTD_copy4() argument
412 static size_t ZSTD_copyRawBlock(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_copyRawBlock() argument
416 memcpy(dst, src, srcSize); 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
426 memset(dst, *(const BYTE *)src, regenSize); in ZSTD_setRleBlock()
1093 static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *s… in ZSTD_decompressSequences() argument
1097 BYTE *const ostart = (BYTE * const)dst; in ZSTD_decompressSequences()
1348 static size_t ZSTD_decompressSequencesLong(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const voi… in ZSTD_decompressSequencesLong() argument
1352 BYTE *const ostart = (BYTE * const)dst; in ZSTD_decompressSequencesLong()
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()
1469 static void ZSTD_checkContinuity(ZSTD_DCtx *dctx, const void *dst) in ZSTD_checkContinuity() argument
1471 if (dst != dctx->previousDstEnd) { /* not contiguous */ in ZSTD_checkContinuity()
1473 …dctx->vBase = (const char *)dst - ((const char *)(dctx->previousDstEnd) - (const char *)(dctx->bas… in ZSTD_checkContinuity()
1474 dctx->base = dst; in ZSTD_checkContinuity()
1475 dctx->previousDstEnd = dst; in ZSTD_checkContinuity()
1479 size_t ZSTD_decompressBlock(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t… in ZSTD_decompressBlock() argument
1482 ZSTD_checkContinuity(dctx, dst); in ZSTD_decompressBlock()
1483 dSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize); in ZSTD_decompressBlock()
1484 dctx->previousDstEnd = (char *)dst + dSize; in ZSTD_decompressBlock()
1497 size_t ZSTD_generateNxBytes(void *dst, size_t dstCapacity, BYTE byte, size_t length) in ZSTD_generateNxBytes() argument
1501 memset(dst, byte, length); in ZSTD_generateNxBytes()
1566 static size_t ZSTD_decompressFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void **src… in ZSTD_decompressFrame() argument
1569 BYTE *const ostart = (BYTE * const)dst; in ZSTD_decompressFrame()
1643 static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void … in ZSTD_decompressMultiFrame() argument
1646 void *const dststart = dst; in ZSTD_decompressMultiFrame()
1688 ZSTD_checkContinuity(dctx, dst); in ZSTD_decompressMultiFrame()
1691 const size_t res = ZSTD_decompressFrame(dctx, dst, dstCapacity, &src, &srcSize); in ZSTD_decompressMultiFrame()
1696 dst = (BYTE *)dst + res; in ZSTD_decompressMultiFrame()
1704 return (BYTE *)dst - (BYTE *)dststart; 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
1749 ZSTD_checkContinuity(dctx, dst); in ZSTD_decompressContinue()
1811 …case bt_compressed: rSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize); b… in ZSTD_decompressContinue()
1812 case bt_raw: rSize = ZSTD_copyRawBlock(dst, dstCapacity, src, srcSize); break; in ZSTD_decompressContinue()
1813 case bt_rle: rSize = ZSTD_setRleBlock(dst, dstCapacity, src, srcSize, dctx->rleSize); break; in ZSTD_decompressContinue()
1820 xxh64_update(&dctx->xxhState, dst, rSize); in ZSTD_decompressContinue()
1833 dctx->previousDstEnd = (char *)dst + rSize; in ZSTD_decompressContinue()
2147 size_t ZSTD_decompress_usingDDict(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, … in ZSTD_decompress_usingDDict() argument
2150 return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize, NULL, 0, ddict); in ZSTD_decompress_usingDDict()
2291 ZSTD_STATIC size_t ZSTD_limitCopy(void *dst, size_t dstCapacity, const void *src, size_t srcSize) in ZSTD_limitCopy() argument
2294 memcpy(dst, src, length); in ZSTD_limitCopy()
2303 char *const ostart = (char *)(output->dst) + output->pos; in ZSTD_decompressStream()
2304 char *const oend = (char *)(output->dst) + output->size; in ZSTD_decompressStream()