Searched refs:LZ4F_isError (Results 1 – 10 of 10) sorted by relevance
/third_party/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()
|
/third_party/lz4/tests/ |
D | checkFrame.c | 112 if (LZ4F_isError( LZ4F_createDecompressionContext(&(ress->ctx), LZ4F_VERSION) )) { in createCResources() 153 if (LZ4F_isError(nextToLoad)) in frameCheck() 164 …if (LZ4F_isError(nextToLoad)) EXM_THROW(24, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in frameCheck() 180 …if (LZ4F_isError(nextToLoad)) EXM_THROW(24, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in frameCheck()
|
D | frametest.c | 169 #define CHECK_V(v,f) v = f; if (LZ4F_isError(v)) { fprintf(stderr, "%s \n", LZ4F_getErrorName(v)); … 345 if (!LZ4F_isError(decompressError)) goto _output_error; in basicTests() 508 if (!LZ4F_isError(cErr)) goto _output_error; in basicTests() 693 if(!LZ4F_isError(result) || in basicTests() 699 if(!LZ4F_isError(result) || in basicTests() 872 if (LZ4F_isError(moreToFlush)) return moreToFlush; in test_lz4f_decompression_wBuffers() 945 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 947 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 949 CHECK(LZ4F_isError(creationStatus), "Allocation failed (error %i)", (int)creationStatus); } in fuzzerTests() 996 …CHECK(LZ4F_isError(cSize), "LZ4F_compressFrame failed : error %i (%s)", (int)cSize, LZ4F_getErrorN… in fuzzerTests() [all …]
|
D | fullbench.c | 376 assert(!LZ4F_isError(sizeHint)); in local_LZ4F_decompress_followHint() 410 assert(!LZ4F_isError(sizeHint)); in local_LZ4F_decompress_noHint() 439 if (LZ4F_isError(errorCode)) { DISPLAY("dctx allocation issue \n"); return 10; } } in fullSpeedBench() 671 assert(!LZ4F_isError(fcsize)); in fullSpeedBench()
|
/third_party/lz4/programs/ |
D | lz4io.c | 618 …if (LZ4F_isError(errorCode)) EXM_THROW(30, "Allocation error : can't create LZ4F context : %s", LZ… in LZ4IO_createCResources() 641 …if (LZ4F_isError(errorCode)) EXM_THROW(38, "Error : can't free LZ4F context resource : %s", LZ4F_g… in LZ4IO_freeCResources() 696 if (LZ4F_isError(cSize)) in LZ4IO_compressFilename_extRess() 713 …if (LZ4F_isError(headerSize)) EXM_THROW(33, "File header generation failed : %s", LZ4F_getErrorNam… in LZ4IO_compressFilename_extRess() 721 if (LZ4F_isError(outSize)) in LZ4IO_compressFilename_extRess() 739 if (LZ4F_isError(endSize)) in LZ4IO_compressFilename_extRess() 1026 …if (LZ4F_isError(errorCode)) EXM_THROW(60, "Can't create LZ4F context : %s", LZ4F_getErrorName(err… in LZ4IO_createDResources() 1044 …if (LZ4F_isError(errorCode)) EXM_THROW(69, "Error : can't free LZ4F context resource : %s", LZ4F_g… in LZ4IO_freeDResources() 1065 … if (LZ4F_isError(nextToLoad)) EXM_THROW(62, "Header error : %s", LZ4F_getErrorName(nextToLoad)); in LZ4IO_decompressLZ4F() 1084 …if (LZ4F_isError(nextToLoad)) EXM_THROW(66, "Decompression error : %s", LZ4F_getErrorName(nextToLo… in LZ4IO_decompressLZ4F() [all …]
|
/third_party/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() 995 if (LZ4F_isError(flushSize)) return flushSize; in LZ4F_compressEnd() 1272 if (LZ4F_isError(hSize)) { *srcSizePtr=0; return hSize; } in LZ4F_getFrameInfo() 1279 if (LZ4F_isError(decodeResult)) { in LZ4F_getFrameInfo() [all …]
|
D | lz4frame.h | 105 LZ4FLIB_API unsigned LZ4F_isError(LZ4F_errorCode_t code); /**< tells when a function result is…
|
/third_party/lz4/ossfuzz/ |
D | round_trip_frame_fuzzer.c | 33 FUZZ_ASSERT(!LZ4F_isError(dstSize)); in LLVMFuzzerTestOneInput()
|
D | compress_frame_fuzzer.c | 37 if (!LZ4F_isError(dstSize)) { in LLVMFuzzerTestOneInput()
|
D | lz4_helpers.c | 44 FUZZ_ASSERT(!LZ4F_isError(rc)); in FUZZ_decompressFrame()
|