Home
last modified time | relevance | path

Searched refs:LZ4_compressBound (Results 1 – 16 of 16) sorted by relevance

/external/lz4/tests/
Dfullbench.c182 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)); in local_LZ4_compress_default_large()
187 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_default_small()
192 return LZ4_compress_destSize(in, out, &inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_destSize()
197 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast0()
202 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 1); in local_LZ4_compress_fast1()
207 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 2); in local_LZ4_compress_fast2()
212 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 17); in local_LZ4_compress_fast17()
217 return LZ4_compress_fast_extState(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_extState0()
222 return LZ4_compress_fast_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_continue0()
259 return LZ4_compress_HC(in, out, inSize, LZ4_compressBound(inSize), 9); in local_LZ4_compress_HC()
[all …]
DroundTripTest.c129 size_t const cBuffSize = LZ4_compressBound((int)srcSize); in roundTripCheck()
Dfuzzer.c323 size_t const compressedBufferSize = (size_t)LZ4_compressBound(FUZ_MAX_BLOCK_SIZE); in FUZ_test()
1308 …_continue(&sHC, testInput + segStart, testCompressed, (int)segSize, LZ4_compressBound((int)segSize… in FUZ_unitTests()
/external/lz4/ossfuzz/
Dround_trip_hc_fuzzer.c18 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
Dround_trip_fuzzer.c17 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
Dcompress_fuzzer.c18 size_t const dstCapacity = FUZZ_rand32(&seed, 0, LZ4_compressBound(size)); in LLVMFuzzerTestOneInput()
Dcompress_hc_fuzzer.c19 size_t const dstCapacity = FUZZ_rand32(&seed, 0, LZ4_compressBound(size)); in LLVMFuzzerTestOneInput()
Dround_trip_stream_fuzzer.c69 state.compressed = cursor_create(1024 + 2 * LZ4_compressBound(size)); in state_create()
/external/lz4/examples/
Dsimple_buffer.c45 const int max_dst_size = LZ4_compressBound(src_size); in main()
Dcompress_functions.c249 const size_t max_dst_size = LZ4_compressBound(src_size); in main()
/external/lz4/lib/
Dlz4hc.c907 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC_fastReset()
1111 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_continue()
1153 …har* dst, int srcSize) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC()
1155 …t srcSize, int cLevel) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2()
1157 …ize) { return LZ4_compress_HC_extStateHC (state, src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC_withStateHC()
1159 …evel) { return LZ4_compress_HC_extStateHC(state, src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2_withStateHC()
1161 … srcSize) { return LZ4_compress_HC_continue (ctx, src, dst, srcSize, LZ4_compressBound(srcSize)); } in LZ4_compressHC_continue()
Dlz4.c607 int LZ4_compressBound(int isize) { return LZ4_COMPRESSBOUND(isize); } in LZ4_compressBound() function
1185 if (maxOutputSize >= LZ4_compressBound(inputSize)) { in LZ4_compress_fast_extState()
1216 if (dstCapacity >= LZ4_compressBound(srcSize)) { in LZ4_compress_fast_extState_fastReset()
1297 if (targetDstSize >= LZ4_compressBound(*srcSizePtr)) { /* compression success is guaranteed */ in LZ4_compress_destSize_extState()
2341 return LZ4_compress_default(src, dest, srcSize, LZ4_compressBound(srcSize)); in LZ4_compress()
2349 return LZ4_compress_fast_extState(state, src, dst, srcSize, LZ4_compressBound(srcSize), 1); in LZ4_compress_withState()
2357 …return LZ4_compress_fast_continue(LZ4_stream, source, dest, inputSize, LZ4_compressBound(inputSize… in LZ4_compress_continue()
Dlz4.h182 LZ4LIB_API int LZ4_compressBound(int inputSize);
/external/lz4/programs/
Dbench.c170 …size_t const maxCompressedSize = LZ4_compressBound((int)srcSize) + (maxNbBlocks * 1024); /* add … in BMK_benchMem()
212 blockTable[nbBlocks].cRoom = (size_t)LZ4_compressBound((int)thisBlockSize); in BMK_benchMem()
Dlz4io.c402 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
901 char* const in_buff = (char*)malloc((size_t)LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
/external/lz4/
DNEWS268 lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green)