Searched refs:consumedSize (Results 1 – 2 of 2) sorted by relevance
/external/lz4/examples/ |
D | frameCompress.c | 258 size_t consumedSize = readSize; in decompress_file_allocDst() local 259 { size_t const fires = LZ4F_getFrameInfo(dctx, &info, src, &consumedSize); in decompress_file_allocDst() 275 src, srcCapacity, readSize-consumedSize, consumedSize, in decompress_file_allocDst()
|
/external/lz4/tests/ |
D | fuzzer.c | 899 int consumedSize = blockSize; in FUZ_test() local 903 …4_compress_HC_continue_destSize(&LZ4dictHC, block, compressedBuffer, &consumedSize, availableSpace… in FUZ_test() 904 …_continue_destSize : compressed %6i/%6i into %6i/%6i at cLevel=%i\n", consumedSize, blockSize, blo… in FUZ_test() 907 … FUZ_CHECKTEST(consumedSize > blockSize, "LZ4_compress_HC_continue_destSize read overflow"); in FUZ_test() 910 decodedBuffer[consumedSize] = 0; in FUZ_test() 911 …ingDict(compressedBuffer, decodedBuffer, blockContinueCompressedSize, consumedSize, dict, dictSize… in FUZ_test() 912 …FUZ_CHECKTEST(ret!=consumedSize, "LZ4_decompress_safe_usingDict did not regenerate original data"); in FUZ_test() 913 …FUZ_CHECKTEST(decodedBuffer[consumedSize], "LZ4_decompress_safe_usingDict overrun specified output… in FUZ_test() 914 { U32 const crcSrc = XXH32(block, consumedSize, 0); in FUZ_test() 915 U32 const crcDst = XXH32(decodedBuffer, consumedSize, 0); in FUZ_test()
|