Lines Matching defs:output

44  *  (defined as: no byte read from input, and no byte flushed to output)
1050 * output, and avoid copying the input.
1757 /* space is needed to store the litbuffer after the output of a given block without stomping the extDict of a previous run, as well as to cover both windows against wildcopy*/
1807 /* Checks that the output buffer hasn't changed if ZSTD_obm_stable is used. */
1808 static size_t ZSTD_checkOutBuffer(ZSTD_DStream const* zds, ZSTD_outBuffer const* output)
1820 if (expect.dst == output->dst && expect.pos == output->pos && expect.size == output->size)
1822 RETURN_ERROR(dstBuffer_wrong, "ZSTD_d_stableOutBuffer enabled but output differs!");
1826 * and updates the stage and the output buffer state. This call is extracted so it can be
1846 /* Write directly into the output buffer */
1859 size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inBuffer* input)
1865 char* const dst = (char*)output->dst;
1866 char* const ostart = output->pos != 0 ? dst + output->pos : dst;
1867 char* const oend = output->size != 0 ? dst + output->size : dst;
1878 output->pos > output->size,
1881 (U32)output->pos, (U32)output->size);
1883 FORWARD_IF_ERROR(ZSTD_checkOutBuffer(zds, output), "");
1893 zds->expectedOutBuffer = *output;
1941 /* Check output buffer is large enough for ZSTD_odm_stable. */
2078 output->pos = (size_t)(op - (char*)(output->dst));
2080 /* Update the expected output buffer for ZSTD_obm_stable. */
2081 zds->expectedOutBuffer = *output;
2095 if (zds->outEnd == zds->outStart) { /* output fully flushed */
2106 if (!zds->hostageByte) { /* output not fully flushed; keep last byte as hostage; will be released when all output is flushed */
2124 ZSTD_outBuffer output = { dst, dstCapacity, *dstPos };
2127 size_t const cErr = ZSTD_decompressStream(dctx, &output, &input);
2128 *dstPos = output.pos;