Searched refs:LZ4_compressBound (Results 1 – 12 of 12) sorted by relevance
/external/lz4/tests/ |
D | fullbench.c | 179 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)); in local_LZ4_compress_default_large() 184 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_default_small() 189 return LZ4_compress_destSize(in, out, &inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_destSize() 194 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast0() 199 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 1); in local_LZ4_compress_fast1() 204 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 2); in local_LZ4_compress_fast2() 209 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 17); in local_LZ4_compress_fast17() 214 return LZ4_compress_fast_extState(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_extState0() 219 return LZ4_compress_fast_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_continue0() 256 return LZ4_compress_HC(in, out, inSize, LZ4_compressBound(inSize), 9); in local_LZ4_compress_HC() [all …]
|
D | roundTripTest.c | 129 size_t const cBuffSize = LZ4_compressBound((int)srcSize); in roundTripCheck()
|
D | fuzzer.c | 311 size_t const compressedBufferSize = LZ4_compressBound(FUZ_MAX_BLOCK_SIZE); in FUZ_test() 1137 …press_HC_continue(&sHC, testInput + segStart, testCompressed, segSize, LZ4_compressBound(segSize)); in FUZ_unitTests()
|
/external/lz4/lib/dll/ |
D | liblz4.def | 20 LZ4_compressBound
|
/external/lz4/examples/ |
D | simple_buffer.c | 46 const int max_dst_size = LZ4_compressBound(src_size); in main()
|
D | compress_functions.c | 249 const size_t max_dst_size = LZ4_compressBound(src_size); in main()
|
/external/lz4/lib/ |
D | lz4hc.c | 828 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC_fastReset() 992 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_continue() 1032 …har* dst, int srcSize) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC() 1034 …t srcSize, int cLevel) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2() 1036 …ize) { return LZ4_compress_HC_extStateHC (state, src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC_withStateHC() 1038 …evel) { return LZ4_compress_HC_extStateHC(state, src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2_withStateHC() 1040 … srcSize) { return LZ4_compress_HC_continue (ctx, src, dst, srcSize, LZ4_compressBound(srcSize)); } in LZ4_compressHC_continue()
|
D | lz4.c | 493 int LZ4_compressBound(int isize) { return LZ4_COMPRESSBOUND(isize); } in LZ4_compressBound() function 1015 if (maxOutputSize >= LZ4_compressBound(inputSize)) { in LZ4_compress_fast_extState() 1046 if (dstCapacity >= LZ4_compressBound(srcSize)) { in LZ4_compress_fast_extState_fastReset() 1124 if (targetDstSize >= LZ4_compressBound(*srcSizePtr)) { /* compression success is guaranteed */ in LZ4_compress_destSize_extState() 1912 return LZ4_compress_default(source, dest, inputSize, LZ4_compressBound(inputSize)); in LZ4_compress() 1920 return LZ4_compress_fast_extState(state, src, dst, srcSize, LZ4_compressBound(srcSize), 1); in LZ4_compress_withState() 1928 …return LZ4_compress_fast_continue(LZ4_stream, source, dest, inputSize, LZ4_compressBound(inputSize… in LZ4_compress_continue()
|
D | lz4.h | 168 LZ4LIB_API int LZ4_compressBound(int inputSize);
|
/external/lz4/programs/ |
D | bench.c | 170 …size_t const maxCompressedSize = LZ4_compressBound((int)srcSize) + (maxNbBlocks * 1024); /* add … in BMK_benchMem() 212 blockTable[nbBlocks].cRoom = LZ4_compressBound((int)thisBlockSize); in BMK_benchMem()
|
D | lz4io.c | 339 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy() 808 char* const in_buff = (char*)malloc(LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
|
/external/lz4/ |
D | NEWS | 248 lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green)
|