Lines Matching refs:END_PROCESS
117 #define END_PROCESS(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");
471 if (ferror(finput)) END_PROCESS(24, "Error while reading %s ", input_filename);
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");
653 if (LZ4F_isError(errorCode)) END_PROCESS(35, "Error : can't free LZ4F context resource : %s", LZ4F_getErrorName(errorCode)); }
701 if (ferror(srcFile)) END_PROCESS(40, "Error reading %s ", srcFileName);
709 END_PROCESS(41, "Compression failed : %s", LZ4F_getErrorName(cSize));
716 END_PROCESS(42, "Write error : failed writing single-block compressed frame");
725 if (LZ4F_isError(headerSize)) END_PROCESS(43, "File header generation failed : %s", LZ4F_getErrorName(headerSize));
727 END_PROCESS(44, "Write error : cannot write header");
734 END_PROCESS(45, "Compression failed : %s", LZ4F_getErrorName(outSize));
741 END_PROCESS(46, "Write error : cannot write compressed block");
747 if (ferror(srcFile)) END_PROCESS(47, "Error reading %s ", srcFileName);
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 !"); }
994 if (decodeSize < 0) END_PROCESS(54, "Decoding Failed ! Corrupted input detected !");
999 if (ferror(finput)) END_PROCESS(55, "Read error : ferror");
1032 if (!ress->dictBuffer) END_PROCESS(25, "Dictionary error : could not create dictionary");
1042 if (LZ4F_isError(errorCode)) END_PROCESS(60, "Can't create LZ4F context : %s", LZ4F_getErrorName(errorCode));
1049 if (!ress.srcBuffer || !ress.dstBuffer) END_PROCESS(61, "Allocation error : not enough memory");
1060 if (LZ4F_isError(errorCode)) END_PROCESS(69, "Error : can't free LZ4F context resource : %s", LZ4F_getErrorName(errorCode));
1090 END_PROCESS(62, "Header error : %s", LZ4F_getErrorName(nextToLoad));
1114 END_PROCESS(66, "Decompression error : %s", LZ4F_getErrorName(nextToLoad));
1129 if (ferror(srcFile)) END_PROCESS(67, "Read error");
1132 if (nextToLoad!=0) END_PROCESS(68, "Unfinished stream");
1156 END_PROCESS(50, "Pass-through write error");
1163 if (ferror(finput)) END_PROCESS(51, "Read Error");
1228 END_PROCESS(40, "Unrecognized header : Magic Number unreadable");
1245 END_PROCESS(42, "Stream error : skippable size unreadable");
1250 END_PROCESS(43, "Stream error : cannot skip skippable area");
1260 END_PROCESS(44,"Unrecognized header : file cannot be decoded");
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");
1514 END_PROCESS(37, "impossible to skip backward");
1586 END_PROCESS(40, "Unrecognized header : Magic Number unreadable");
1597 if (!readBytes || ferror(finput)) END_PROCESS(71, "Error reading %s", input_filename);
1604 if (!readBytes || ferror(finput)) END_PROCESS(72, "Error reading %s", input_filename);
1672 END_PROCESS(42, "Stream error : skippable size unreadable");
1677 END_PROCESS(43, "Stream error : cannot skip skippable area");