HomeSort by relevance Sort by last modified time
    Searched refs:EXM_THROW (Results 1 - 3 of 3) sorted by null

  /external/lz4/programs/
lz4io.c 133 #define EXM_THROW(error, ...) \
338 if (finput == NULL) EXM_THROW(20, "%s : open file error ", input_filename);
340 if (foutput == NULL) { fclose(finput); EXM_THROW(20, "%s : open file error ", input_filename); }
345 if (!in_buff || !out_buff) EXM_THROW(21, "Allocation error : not enough memory");
350 if (sizeCheck!=MAGICNUMBER_SIZE) EXM_THROW(22, "Write error : cannot write header"); }
358 if (inSize > LEGACY_BLOCKSIZE) EXM_THROW(23, "Read error : wrong fread() size report "); /* should be impossible */
369 if (sizeCheck!=(size_t)(outSize+4)) EXM_THROW(24, "Write error : cannot write compressed block");
371 if (ferror(finput)) EXM_THROW(25, "Error while reading %s ", input_filename);
412 if (LZ4F_isError(errorCode)) EXM_THROW(30, "Allocation error : can't create LZ4F context : %s", LZ4F_getErrorName(errorCode));
419 if (!ress.srcBuffer || !ress.dstBuffer) EXM_THROW(31, "Allocation error : not enough memory")
    [all...]
bench.c 104 #define EXM_THROW(error, ...) \
175 EXM_THROW(31, "allocation error : not enough memory");
259 if (LZ4_isError(rSize)) EXM_THROW(1, "LZ4_compress() failed");
429 if (f==NULL) EXM_THROW(10, "impossible to open file %s", fileNamesTable[n]);
433 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]);
440 if (totalSize == 0) EXM_THROW(12, "no data to bench");
452 if (!fileSizes) EXM_THROW(12, "not enough memory for fileSizes");
456 if (benchedSize==0) EXM_THROW(12, "not enough memory");
461 if (!srcBuffer) EXM_THROW(12, "not enough memory");
487 if (!srcBuffer) EXM_THROW(21, "not enough memory")
    [all...]
lz4cli.c 86 #define EXM_THROW(error, ...) \

Completed in 64 milliseconds