Lines Matching refs:EXM_THROW

143 #define EXM_THROW(error, ...)                                             \  macro
259 …if (displayLevel <= 1) EXM_THROW(11, "Operation aborted : %s already exists", output_filename); … in get_fileHandle()
261 …if ((ch!='Y') && (ch!='y')) EXM_THROW(11, "Operation aborted : %s already exists", output_filename… in get_fileHandle()
267 if ( *pfinput==0 ) EXM_THROW(12, "Pb opening %s", input_filename); in get_fileHandle()
268 if ( *pfoutput==0) EXM_THROW(13, "Pb opening %s", output_filename); in get_fileHandle()
316 if (!in_buff || !out_buff) EXM_THROW(21, "Allocation error : not enough memory"); in LZ4IO_compressFilename_Legacy()
321 if (sizeCheck!=MAGICNUMBER_SIZE) EXM_THROW(22, "Write error : cannot write header"); in LZ4IO_compressFilename_Legacy()
340 … if (sizeCheck!=(size_t)(outSize+4)) EXM_THROW(23, "Write error : cannot write compressed block"); in LZ4IO_compressFilename_Legacy()
387 …if (LZ4F_isError(errorCode)) EXM_THROW(30, "Allocation error : can't create LZ4F context : %s", LZ… in LZ4IO_compressFilename()
402 if (!in_buff || !out_buff) EXM_THROW(31, "Allocation error : not enough memory"); in LZ4IO_compressFilename()
406 …if (LZ4F_isError(headerSize)) EXM_THROW(32, "File header generation failed : %s", LZ4F_getErrorNam… in LZ4IO_compressFilename()
408 if (sizeCheck!=headerSize) EXM_THROW(33, "Write error : cannot write header"); in LZ4IO_compressFilename()
422 … if (LZ4F_isError(outSize)) EXM_THROW(34, "Compression failed : %s", LZ4F_getErrorName(outSize)); in LZ4IO_compressFilename()
428 if (sizeCheck!=outSize) EXM_THROW(35, "Write error : cannot write compressed block"); in LZ4IO_compressFilename()
437 …if (LZ4F_isError(headerSize)) EXM_THROW(36, "End of file generation failed : %s", LZ4F_getErrorNam… in LZ4IO_compressFilename()
440 if (sizeCheck!=headerSize) EXM_THROW(37, "Write error : cannot write end of stream"); in LZ4IO_compressFilename()
449 …if (LZ4F_isError(errorCode)) EXM_THROW(38, "Error : can't free LZ4F context resource : %s", LZ4F_g… in LZ4IO_compressFilename()
488 if (!in_buff || !out_buff) EXM_THROW(51, "Allocation error : not enough memory"); in decodeLegacyStream()
512 if (decodeSize < 0) EXM_THROW(52, "Decoding Failed ! Corrupted input detected !"); in decodeLegacyStream()
517 …if (sizeCheck != (size_t)decodeSize) EXM_THROW(53, "Write error : cannot write decoded block into … in decodeLegacyStream()
542 …if (LZ4F_isError(errorCode)) EXM_THROW(60, "Allocation error : can't create context : %s", LZ4F_ge… in decodeLZ4S()
548 …if (LZ4F_isError(nextToRead)) EXM_THROW(61, "Decompression error : %s", LZ4F_getErrorName(nextToRe… in decodeLZ4S()
549 … if (nextToRead > HEADERMAX) EXM_THROW(62, "Header too large (%i>%i)", (int)nextToRead, HEADERMAX); in decodeLZ4S()
551 if (sizeCheck!=nextToRead) EXM_THROW(63, "Read error "); in decodeLZ4S()
554 …if (LZ4F_isError(errorCode)) EXM_THROW(64, "can't decode frame header : %s", LZ4F_getErrorName(err… in decodeLZ4S()
561 if (!inBuff || !outBuff) EXM_THROW(65, "Allocation error : not enough memory"); in decodeLZ4S()
570 if (sizeCheck!=nextToRead) EXM_THROW(66, "Read error "); in decodeLZ4S()
574 …if (LZ4F_isError(errorCode)) EXM_THROW(67, "Decompression error : %s", LZ4F_getErrorName(errorCode… in decodeLZ4S()
575 if (sizeCheck!=nextToRead) EXM_THROW(67, "Synchronization error"); in decodeLZ4S()
581 if (sizeCheck != decodedBytes) EXM_THROW(68, "Write error : cannot write decoded block\n"); in decodeLZ4S()
588 …if (LZ4F_isError(errorCode)) EXM_THROW(69, "Error : can't free LZ4F context resource : %s", LZ4F_g… in decodeLZ4S()
605 …if (nbReadBytes != MAGICNUMBER_SIZE) EXM_THROW(40, "Unrecognized header : Magic Number unreadable"… in selectDecoder()
619 if (nbReadBytes != 4) EXM_THROW(42, "Stream error : skippable size unreadable"); in selectDecoder()
622 if (errorNb != 0) EXM_THROW(43, "Stream error : cannot skip skippable area"); in selectDecoder()
626 …if (ftell(finput) == MAGICNUMBER_SIZE) EXM_THROW(44,"Unrecognized header : file cannot be decoded"… in selectDecoder()