Lines Matching refs:in_buf
123 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf,
142 ret = ZSTD_findFrameCompressedSize(in_buf, in_len);
148 ret = ZSTD_decompressDCtx(dctx, out_buf, out_len, in_buf, in_len);
163 static int INIT __unzstd(unsigned char *in_buf, long in_len,
194 return decompress_single(in_buf, in_len, out_buf, out_len,
198 * If in_buf is not provided, we must be using fill(), so allocate
202 if (in_buf == NULL) {
209 in_buf = in_allocated;
214 in_len = fill(in_buf, ZSTD_IOBUF_SIZE);
221 in.src = in_buf;
291 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1;