Lines Matching refs:dst
46 static void ZSTD_copy4(void* dst, const void* src) { ZSTD_memcpy(dst, src, 4); } in ZSTD_copy4() argument
71 static void ZSTD_allocateLiteralsBuffer(ZSTD_DCtx* dctx, void* const dst, const size_t dstCapacity,… in ZSTD_allocateLiteralsBuffer() argument
77 dctx->litBuffer = (BYTE*)dst + ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH; in ZSTD_allocateLiteralsBuffer()
86 …dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize + ZSTD_LITBUFFEREXTRASIZE - WILDCOPY_OV… in ZSTD_allocateLiteralsBuffer()
91 dctx->litBuffer = (BYTE*)dst + expectedWriteSize - litSize; in ZSTD_allocateLiteralsBuffer()
92 dctx->litBufferEnd = (BYTE*)dst + expectedWriteSize; in ZSTD_allocateLiteralsBuffer()
108 void* dst, size_t dstCapacity, const streaming_operation streaming);
119 void* dst, size_t dstCapacity, const streaming_operation streaming) in ZSTD_decodeLiteralsBlock() argument
164 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock()
168 … ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 0); in ZSTD_decodeLiteralsBlock()
242 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock()
244 … ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 1); in ZSTD_decodeLiteralsBlock()
288 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock()
291 … ZSTD_allocateLiteralsBuffer(dctx, dst, dstCapacity, litSize, streaming, expectedWriteSize, 1); in ZSTD_decodeLiteralsBlock()
1312 void* dst, size_t maxDstSize, argument
1319 BYTE* const ostart = (BYTE*)dst;
1341 assert(dst != NULL);
1529 void* dst, size_t maxDstSize, argument
1536 BYTE* const ostart = (BYTE*)dst;
1558 assert(dst != NULL);
1617 void* dst, size_t maxDstSize, argument
1622 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1627 void* dst, size_t maxDstSize, argument
1632 …return ZSTD_decompressSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq…
1658 void* dst, size_t maxDstSize, argument
1665 BYTE* const ostart = (BYTE*)dst;
1688 assert(dst != NULL);
1824 void* dst, size_t maxDstSize, argument
1829 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1839 void* dst, size_t maxDstSize, argument
1844 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1849 void* dst, size_t maxDstSize, argument
1854 …return ZSTD_decompressSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq…
1861 void* dst, size_t maxDstSize, argument
1866 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1874 void* dst, size_t maxDstSize,
1881 ZSTD_decompressSequences(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, argument
1889 …return ZSTD_decompressSequences_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1892 …return ZSTD_decompressSequences_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOff…
1895 ZSTD_decompressSequencesSplitLitBuffer(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, argument
1903 …return ZSTD_decompressSequencesSplitLitBuffer_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq…
1906 …return ZSTD_decompressSequencesSplitLitBuffer_default(dctx, dst, maxDstSize, seqStart, seqSize, nb…
1918 void* dst, size_t maxDstSize, argument
1926 …return ZSTD_decompressSequencesLong_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1929 …return ZSTD_decompressSequencesLong_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLon…
1963 void* dst, size_t dstCapacity, argument
1979 …{ size_t const litCSize = ZSTD_decodeLiteralsBlock(dctx, src, srcSize, dst, dstCapacity, streami…
2002 RETURN_ERROR_IF(dst == NULL && nbSeq > 0, dstSize_tooSmall, "NULL not handled");
2022 …return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, fram…
2028 …return ZSTD_decompressSequencesSplitLitBuffer(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOf…
2030 … return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, frame);
2035 void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst, size_t dstSize) argument
2037 if (dst != dctx->previousDstEnd && dstSize > 0) { /* not contiguous */
2039 …dctx->virtualStart = (const char*)dst - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx-…
2040 dctx->prefixStart = dst;
2041 dctx->previousDstEnd = dst;
2046 void* dst, size_t dstCapacity, argument
2050 ZSTD_checkContinuity(dctx, dst, dstCapacity);
2051 …dSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize, /* frame */ 0, not_str…
2052 dctx->previousDstEnd = (char*)dst + dSize;