Lines Matching refs:in_len
125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, in decompress_single() argument
144 ret = zstd_find_frame_compressed_size(in_buf, in_len); in decompress_single()
148 in_len = (long)ret; in decompress_single()
150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single()
156 *in_pos = in_len; in decompress_single()
165 static int INIT __unzstd(unsigned char *in_buf, long in_len, in __unzstd() argument
196 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd()
212 in_len = 0; in __unzstd()
216 in_len = fill(in_buf, ZSTD_IOBUF_SIZE); in __unzstd()
217 if (in_len < 0) { in __unzstd()
225 in.size = in_len; in __unzstd()
293 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1; in __unzstd()
294 if (in_len < 0) { in __unzstd()
300 in.size = in_len; in __unzstd()