Lines Matching refs:input
35 /* Open the input and output files. */
38 /* Create the input and output buffers.
63 /* This loop reads from the input file, compresses that entire chunk,
77 /* Set the input buffer to what we just read.
78 * We compress until the input buffer is empty, each time flushing the
81 ZSTD_inBuffer input = { buffIn, read, 0 };
88 size_t const remaining = ZSTD_compressStream2(cctx, &output , &input, mode);
92 * which means its consumed all the input AND finished the frame.
93 * Otherwise, we're finished when we've consumed all the input.
95 finished = lastChunk ? (remaining == 0) : (input.pos == input.size);
97 CHECK(input.pos == input.size,
98 "Impossible: zstd only returns 0 when the input is completely consumed!");