Lines Matching refs:error
90 static int INIT handle_zstd_error(size_t ret, void (*error)(char *x)) in handle_zstd_error()
103 error("ZSTD decompressor ran out of memory"); in handle_zstd_error()
106 error("Input is not in the ZSTD format (wrong magic bytes)"); in handle_zstd_error()
111 error("ZSTD-compressed data is corrupt"); in handle_zstd_error()
114 error("ZSTD-compressed data is probably corrupt"); in handle_zstd_error()
127 void (*error)(char *x)) in decompress_single()
136 error("Out of memory while allocating zstd_dctx"); in decompress_single()
145 err = handle_zstd_error(ret, error); in decompress_single()
151 err = handle_zstd_error(ret, error); in decompress_single()
170 void (*error)(char *x)) in __unzstd()
197 in_pos, error); in __unzstd()
207 error("Out of memory while allocating input buffer"); in __unzstd()
218 error("ZSTD-compressed data is truncated"); in __unzstd()
230 error("Out of memory while allocating output buffer"); in __unzstd()
250 err = handle_zstd_error(ret, error); in __unzstd()
254 error("ZSTD-compressed data has an incomplete frame header"); in __unzstd()
259 error("ZSTD-compressed data has too large a window size"); in __unzstd()
272 error("Out of memory while allocating ZSTD_DStream"); in __unzstd()
295 error("ZSTD-compressed data is truncated"); in __unzstd()
304 err = handle_zstd_error(ret, error); in __unzstd()
310 error("Failed to flush()"); in __unzstd()
338 void (*error)(char *x)) in unzstd()
340 return __unzstd(buf, len, fill, flush, out_buf, 0, pos, error); in unzstd()
348 void (*error)(char *x)) in __decompress()
350 return __unzstd(buf, len, fill, flush, out_buf, out_len, pos, error); in __decompress()