Lines Matching refs:in_buf
125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf,
144 ret = zstd_find_frame_compressed_size(in_buf, in_len);
150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len);
165 static int INIT __unzstd(unsigned char *in_buf, long in_len,
196 return decompress_single(in_buf, in_len, out_buf, out_len,
200 * If in_buf is not provided, we must be using fill(), so allocate
204 if (in_buf == NULL) {
211 in_buf = in_allocated;
216 in_len = fill(in_buf, ZSTD_IOBUF_SIZE);
223 in.src = in_buf;
293 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1;