Searched refs:EXM_THROW (Results 1 – 3 of 3) sorted by relevance
/external/lz4/programs/ |
D | lz4io.c | 130 #define EXM_THROW(error, ...) \ macro 349 if (finput == NULL) EXM_THROW(20, "%s : open file error ", input_filename); in LZ4IO_compressFilename_Legacy() 351 if (foutput == NULL) { fclose(finput); EXM_THROW(20, "%s : open file error ", input_filename); } in LZ4IO_compressFilename_Legacy() 356 if (!in_buff || !out_buff) EXM_THROW(21, "Allocation error : not enough memory"); in LZ4IO_compressFilename_Legacy() 361 if (sizeCheck != MAGICNUMBER_SIZE) EXM_THROW(22, "Write error : cannot write header"); } in LZ4IO_compressFilename_Legacy() 369 …if (inSize > LEGACY_BLOCKSIZE) EXM_THROW(23, "Read error : wrong fread() size report "); /* shou… in LZ4IO_compressFilename_Legacy() 382 EXM_THROW(24, "Write error : cannot write compressed block"); in LZ4IO_compressFilename_Legacy() 384 if (ferror(finput)) EXM_THROW(25, "Error while reading %s ", input_filename); in LZ4IO_compressFilename_Legacy() 431 if (!dictFilename) EXM_THROW(25, "Dictionary error : no filename provided"); in LZ4IO_createDict() 434 if (!circularBuf) EXM_THROW(25, "Allocation error : not enough memory"); in LZ4IO_createDict() [all …]
|
D | bench.c | 109 #define EXM_THROW(error, ...) \ macro 179 EXM_THROW(31, "allocation error : not enough memory"); in BMK_benchMem() 261 if (LZ4_isError(rSize)) EXM_THROW(1, "LZ4_compress() failed"); in BMK_benchMem() 441 if (f==NULL) EXM_THROW(10, "impossible to open file %s", fileNamesTable[n]); in BMK_loadFiles() 448 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 455 if (totalSize == 0) EXM_THROW(12, "no data to bench"); in BMK_loadFiles() 467 if (!fileSizes) EXM_THROW(12, "not enough memory for fileSizes"); in BMK_benchFileTable() 471 if (benchedSize==0) EXM_THROW(12, "not enough memory"); in BMK_benchFileTable() 481 if (!srcBuffer) EXM_THROW(12, "not enough memory"); in BMK_benchFileTable() 507 if (!srcBuffer) EXM_THROW(21, "not enough memory"); in BMK_syntheticTest()
|
D | lz4cli.c | 80 #define EXM_THROW(error, ...) \ macro
|