Searched refs:LZ4F_isError (Results 1 – 11 of 11) sorted by relevance
/external/lz4/examples/ |
D | frameCompress.c | 72 if (LZ4F_isError(headerSize)) { in compress_file_internal() 92 if (LZ4F_isError(compressedSize)) { in compress_file_internal() 106 if (LZ4F_isError(compressedSize)) { in compress_file_internal() 136 if (!LZ4F_isError(ctxCreation) && src && outbuff) { in compress_file() 204 if (LZ4F_isError(ret)) { in decompress_file_internal() 261 if (LZ4F_isError(fires)) { in decompress_file_allocDst() 295 if (LZ4F_isError(dctxStatus)) { in decompress_file()
|
/external/lz4/tests/ |
D | checkFrame.c | 121 if (LZ4F_isError( LZ4F_createDecompressionContext(&(ress->ctx), LZ4F_VERSION) )) { in createCResources() 162 if (LZ4F_isError(nextToLoad)) in frameCheck() 173 …if (LZ4F_isError(nextToLoad)) EXM_THROW(24, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in frameCheck() 189 …if (LZ4F_isError(nextToLoad)) EXM_THROW(24, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in frameCheck()
|
D | frametest.c | 170 #define CHECK_V(v,f) v = f; if (LZ4F_isError(v)) { fprintf(stderr, "%s \n", LZ4F_getErrorName(v)); … 328 if (!LZ4F_isError(decompressError)) goto _output_error; in basicTests() 491 if (!LZ4F_isError(cErr)) goto _output_error; in basicTests() 676 if(!LZ4F_isError(result) || in basicTests() 682 if(!LZ4F_isError(result) || in basicTests() 849 if (LZ4F_isError(moreToFlush)) return moreToFlush; in test_lz4f_decompression_wBuffers() 921 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 923 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 925 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 972 …CHECK(LZ4F_isError(cSize), "LZ4F_compressFrame failed : error %i (%s)", (int)cSize, LZ4F_getErrorN… in fuzzerTests() [all …]
|
D | fullbench.c | 363 assert(!LZ4F_isError(sizeHint)); in local_LZ4F_decompress_followHint() 393 if (LZ4F_isError(errorCode)) { DISPLAY("dctx allocation issue \n"); return 10; } } in fullSpeedBench() 622 assert(!LZ4F_isError(fcsize)); in fullSpeedBench()
|
/external/lz4/programs/ |
D | lz4io.c | 569 …if (LZ4F_isError(errorCode)) EXM_THROW(30, "Allocation error : can't create LZ4F context : %s", LZ… in LZ4IO_createCResources() 592 …if (LZ4F_isError(errorCode)) EXM_THROW(38, "Error : can't free LZ4F context resource : %s", LZ4F_g… in LZ4IO_freeCResources() 649 if (LZ4F_isError(cSize)) EXM_THROW(31, "Compression failed : %s", LZ4F_getErrorName(cSize)); in LZ4IO_compressFilename_extRess() 665 …if (LZ4F_isError(headerSize)) EXM_THROW(33, "File header generation failed : %s", LZ4F_getErrorNam… in LZ4IO_compressFilename_extRess() 676 … if (LZ4F_isError(outSize)) EXM_THROW(35, "Compression failed : %s", LZ4F_getErrorName(outSize)); in LZ4IO_compressFilename_extRess() 692 …if (LZ4F_isError(headerSize)) EXM_THROW(38, "End of file generation failed : %s", LZ4F_getErrorNam… in LZ4IO_compressFilename_extRess() 973 …if (LZ4F_isError(errorCode)) EXM_THROW(60, "Can't create LZ4F context : %s", LZ4F_getErrorName(err… in LZ4IO_createDResources() 991 …if (LZ4F_isError(errorCode)) EXM_THROW(69, "Error : can't free LZ4F context resource : %s", LZ4F_g… in LZ4IO_freeDResources() 1009 … if (LZ4F_isError(nextToLoad)) EXM_THROW(62, "Header error : %s", LZ4F_getErrorName(nextToLoad)); in LZ4IO_decompressLZ4F() 1028 …if (LZ4F_isError(nextToLoad)) EXM_THROW(66, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in LZ4IO_decompressLZ4F() [all …]
|
/external/lz4/ossfuzz/ |
D | round_trip_frame_fuzzer.c | 30 FUZZ_ASSERT(!LZ4F_isError(dstSize)); in LLVMFuzzerTestOneInput()
|
D | compress_frame_fuzzer.c | 32 if (!LZ4F_isError(dstSize)) { in LLVMFuzzerTestOneInput()
|
D | lz4_helpers.c | 44 FUZZ_ASSERT(!LZ4F_isError(rc)); in FUZZ_decompressFrame()
|
/external/lz4/lib/ |
D | lz4frame.c | 249 unsigned LZ4F_isError(LZ4F_errorCode_t code) in LZ4F_isError() function 257 if (LZ4F_isError(code)) return LZ4F_errorStrings[-(int)(code)]; in LZ4F_getErrorName() 263 if (!LZ4F_isError(functionResult)) return LZ4F_OK_NoError; in LZ4F_getErrorCode() 404 if (LZ4F_isError(headerSize)) return headerSize; in LZ4F_compressFrame_usingCDict() 409 if (LZ4F_isError(cSize)) return cSize; in LZ4F_compressFrame_usingCDict() 414 if (LZ4F_isError(tailSize)) return tailSize; in LZ4F_compressFrame_usingCDict() 437 if (LZ4F_isError(result)) return result; in LZ4F_compressFrame() 992 if (LZ4F_isError(flushSize)) return flushSize; in LZ4F_compressEnd() 1265 if (LZ4F_isError(hSize)) { *srcSizePtr=0; return hSize; } in LZ4F_getFrameInfo() 1272 if (LZ4F_isError(decodeResult)) { in LZ4F_getFrameInfo() [all …]
|
D | lz4frame.h | 100 LZ4FLIB_API unsigned LZ4F_isError(LZ4F_errorCode_t code); /**< tells when a function result is…
|
/external/zstd/programs/ |
D | fileio.c | 1195 if (LZ4F_isError(errorCode)) in FIO_compressLz4Frame() 1215 if (LZ4F_isError(headerSize)) in FIO_compressLz4Frame() 1231 if (LZ4F_isError(outSize)) in FIO_compressLz4Frame() 1259 if (LZ4F_isError(headerSize)) in FIO_compressLz4Frame() 2323 if (LZ4F_isError(errorCode)) { in FIO_decompressLz4Frame() 2333 if (LZ4F_isError(nextToLoad)) { in FIO_decompressLz4Frame() 2356 if (LZ4F_isError(nextToLoad)) { in FIO_decompressLz4Frame()
|