Lines Matching refs:error

117 #define END_PROCESS(error, ...)                                           \
120 DISPLAYLEVEL(1, "Error %i : ", error); \
123 exit(error); \
151 if (!ret) END_PROCESS(21, "Allocation error : not enough memory");
429 END_PROCESS(20, "%s : open file error ", input_filename);
434 END_PROCESS(20, "%s : open file error ", input_filename);
441 END_PROCESS(21, "Allocation error : not enough memory");
446 END_PROCESS(22, "Write error : cannot write header");
469 END_PROCESS(24, "Write error : cannot write compressed block");
566 if (!circularBuf) END_PROCESS(25, "Allocation error : not enough memory for circular buffer");
567 if (!dictFilename) END_PROCESS(26, "Dictionary error : no filename provided");
570 if (!dictFile) END_PROCESS(27, "Dictionary error : could not open dictionary file");
599 if (!dictBuf) END_PROCESS(28, "Allocation error : not enough memory");
618 if (!dictionaryBuffer) END_PROCESS(29, "Dictionary error : could not create dictionary");
630 if (LZ4F_isError(errorCode)) END_PROCESS(30, "Allocation error : can't create LZ4F context : %s", LZ4F_getErrorName(errorCode));
637 if (!ress.srcBuffer || !ress.dstBuffer) END_PROCESS(31, "Allocation error : not enough memory");
716 END_PROCESS(42, "Write error : failed writing single-block compressed frame");
727 END_PROCESS(44, "Write error : cannot write header");
741 END_PROCESS(46, "Write error : cannot write compressed block");
752 END_PROCESS(48, "End of frame error : %s", LZ4F_getErrorName(endSize));
754 END_PROCESS(49, "Write error : cannot write end of frame");
773 END_PROCESS(50, "Remove error : %s: %s", srcFileName, strerror(errno));
893 if (sizeCheck != bufferSize) END_PROCESS(70, "Write error : cannot write decoded block");
900 if (seekResult != 0) END_PROCESS(71, "1 GB skip error (sparse file support)");
917 if (seekResult) END_PROCESS(72, "Sparse skip error(%d): %s ; try --no-sparse", (int)errno, strerror(errno));
923 if (sizeCheck != seg0SizeT) END_PROCESS(73, "Write error : cannot write decoded block");
937 if (seekResult) END_PROCESS(74, "Sparse skip error ; try --no-sparse");
940 if (sizeCheck != (size_t)(restEnd - restPtr)) END_PROCESS(75, "Write error : cannot write decoded end of block");
952 END_PROCESS(68, "Final skip error (sparse file)\n");
954 END_PROCESS(69, "Write error : cannot write last zero\n");
970 if (!in_buff || !out_buff) END_PROCESS(51, "Allocation error : not enough memory");
979 if (sizeCheck != LZ4IO_LEGACY_BLOCK_HEADER_SIZE) END_PROCESS(52, "Read error : cannot access block size ");
990 if (sizeCheck != blockSize) END_PROCESS(53, "Read error : cannot access compressed block !"); }
999 if (ferror(finput)) END_PROCESS(55, "Read error : ferror");
1032 if (!ress->dictBuffer) END_PROCESS(25, "Dictionary error : could not create dictionary");
1049 if (!ress.srcBuffer || !ress.dstBuffer) END_PROCESS(61, "Allocation error : not enough memory");
1090 END_PROCESS(62, "Header error : %s", LZ4F_getErrorName(nextToLoad));
1114 END_PROCESS(66, "Decompression error : %s", LZ4F_getErrorName(nextToLoad));
1128 /* can be out because readSize == 0, which could be an fread() error */
1129 if (ferror(srcFile)) END_PROCESS(67, "Read error");
1156 END_PROCESS(50, "Pass-through write error");
1180 if (r != tr) return 1; /* error reading f */
1245 END_PROCESS(42, "Stream error : skippable size unreadable");
1250 END_PROCESS(43, "Stream error : cannot skip skippable area");
1300 END_PROCESS(45, "Remove error : %s: %s", input_filename, strerror(errno));
1377 if (outFileName==NULL) END_PROCESS(70, "Memory allocation error");
1394 if (outFileName==NULL) END_PROCESS(71, "Memory allocation error");
1571 LZ4IO_infoResult result = LZ4IO_format_not_known; /* default result (error) */
1584 result = LZ4IO_format_not_known; /* default result (error) */
1672 END_PROCESS(42, "Stream error : skippable size unreadable");
1677 END_PROCESS(43, "Stream error : cannot skip skippable area");