Lines Matching refs:ret
88 static int INIT handle_zstd_error(size_t ret, void (*error)(char *x)) in handle_zstd_error() argument
90 const zstd_error_code err = zstd_get_error_code(ret); in handle_zstd_error()
92 if (!zstd_is_error(ret)) in handle_zstd_error()
131 size_t ret; in decompress_single() local
142 ret = zstd_find_frame_compressed_size(in_buf, in_len); in decompress_single()
143 err = handle_zstd_error(ret, error); in decompress_single()
146 in_len = (long)ret; in decompress_single()
148 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single()
149 err = handle_zstd_error(ret, error); in decompress_single()
179 size_t ret; in __unzstd() local
247 ret = zstd_get_frame_header(&header, in.src, in.size); in __unzstd()
248 err = handle_zstd_error(ret, error); in __unzstd()
251 if (ret != 0) { in __unzstd()
301 ret = zstd_decompress_stream(dstream, &out, &in); in __unzstd()
302 err = handle_zstd_error(ret, error); in __unzstd()
314 } while (ret != 0); in __unzstd()