/external/lz4/tests/ |
D | fullbench.c | 182 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 …]
|
D | roundTripTest.c | 129 size_t const cBuffSize = LZ4_compressBound((int)srcSize); in roundTripCheck()
|
D | fuzzer.c | 323 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/ |
D | round_trip_hc_fuzzer.c | 18 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
|
D | round_trip_fuzzer.c | 17 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
|
D | compress_fuzzer.c | 18 size_t const dstCapacity = FUZZ_rand32(&seed, 0, LZ4_compressBound(size)); in LLVMFuzzerTestOneInput()
|
D | compress_hc_fuzzer.c | 19 size_t const dstCapacity = FUZZ_rand32(&seed, 0, LZ4_compressBound(size)); in LLVMFuzzerTestOneInput()
|
D | round_trip_stream_fuzzer.c | 69 state.compressed = cursor_create(1024 + 2 * LZ4_compressBound(size)); in state_create()
|
/external/lz4/examples/ |
D | simple_buffer.c | 45 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 | 907 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()
|
D | lz4.c | 607 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()
|
D | lz4.h | 182 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 = (size_t)LZ4_compressBound((int)thisBlockSize); in BMK_benchMem()
|
D | lz4io.c | 402 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/ |
D | NEWS | 268 lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green)
|