/third_party/lz4/tests/ |
D | fullbench.c | 190 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)); in local_LZ4_compress_default_large() 195 return LZ4_compress_default(in, out, inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_default_small() 200 return LZ4_compress_destSize(in, out, &inSize, LZ4_compressBound(inSize)-1); in local_LZ4_compress_destSize() 205 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast0() 210 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 1); in local_LZ4_compress_fast1() 215 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 2); in local_LZ4_compress_fast2() 220 return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 17); in local_LZ4_compress_fast17() 225 return LZ4_compress_fast_extState(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_extState0() 230 return LZ4_compress_fast_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_continue0() 267 return LZ4_compress_HC(in, out, inSize, LZ4_compressBound(inSize), 9); in local_LZ4_compress_HC() [all …]
|
D | fuzzer.c | 324 size_t const compressedBufferSize = (size_t)LZ4_compressBound(FUZ_MAX_BLOCK_SIZE); in FUZ_test() 1111 { int const maxCSize = LZ4_compressBound(0); in FUZ_unitTests() 1459 …_continue(&sHC, testInput + segStart, testCompressed, (int)segSize, LZ4_compressBound((int)segSize… in FUZ_unitTests()
|
/third_party/lz4/ossfuzz/ |
D | round_trip_hc_fuzzer.c | 23 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
|
D | round_trip_frame_fuzzer.c | 23 size_t const dstCapacity = LZ4F_compressFrameBound(LZ4_compressBound(size), &prefs); in LLVMFuzzerTestOneInput()
|
D | compress_fuzzer.c | 22 size_t const compressBound = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
|
D | round_trip_fuzzer.c | 22 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
|
D | round_trip_frame_uncompressed_fuzzer.c | 61 LZ4F_compressFrameBound(LZ4_compressBound(size), &prefs) + in compress_round_trip()
|
D | round_trip_stream_fuzzer.c | 69 state.compressed = cursor_create(1024 + 2 * LZ4_compressBound(size)); in state_create()
|
/third_party/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()
|
/third_party/lz4/lib/ |
D | lz4hc.c | 945 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_extStateHC_fastReset() 1153 if (dstCapacity < LZ4_compressBound(srcSize)) in LZ4_compress_HC_continue() 1203 …har* dst, int srcSize) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC() 1205 …t srcSize, int cLevel) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2() 1207 …ize) { return LZ4_compress_HC_extStateHC (state, src, dst, srcSize, LZ4_compressBound(srcSize), 0)… in LZ4_compressHC_withStateHC() 1209 …evel) { return LZ4_compress_HC_extStateHC(state, src, dst, srcSize, LZ4_compressBound(srcSize), cL… in LZ4_compressHC2_withStateHC() 1211 … srcSize) { return LZ4_compress_HC_continue (ctx, src, dst, srcSize, LZ4_compressBound(srcSize)); } in LZ4_compressHC_continue()
|
D | lz4.c | 730 int LZ4_compressBound(int isize) { return LZ4_COMPRESSBOUND(isize); } in LZ4_compressBound() function 1352 if (maxOutputSize >= LZ4_compressBound(inputSize)) { in LZ4_compress_fast_extState() 1384 if (dstCapacity >= LZ4_compressBound(srcSize)) { in LZ4_compress_fast_extState_fastReset() 1449 if (targetDstSize >= LZ4_compressBound(*srcSizePtr)) { /* compression success is guaranteed */ in LZ4_compress_destSize_extState() 2663 return LZ4_compress_default(src, dest, srcSize, LZ4_compressBound(srcSize)); in LZ4_compress() 2671 return LZ4_compress_fast_extState(state, src, dst, srcSize, LZ4_compressBound(srcSize), 1); in LZ4_compress_withState() 2679 …return LZ4_compress_fast_continue(LZ4_stream, source, dest, inputSize, LZ4_compressBound(inputSize… in LZ4_compress_continue()
|
D | lz4.h | 223 LZ4LIB_API int LZ4_compressBound(int inputSize);
|
/third_party/lz4/programs/ |
D | bench.c | 364 …size_t const maxCompressedSize = (size_t)LZ4_compressBound((int)srcSize) + (maxNbBlocks * 1024); … in BMK_benchMem() 405 blockTable[nbBlocks].cRoom = (size_t)LZ4_compressBound((int)thisBlockSize); in BMK_benchMem()
|
D | lz4io.c | 421 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy() 968 char* const in_buff = (char*)malloc((size_t)LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
|
/third_party/lz4/ |
D | NEWS | 46 …ough input and when providing an output smaller than recommended (< LZ4_compressBound(inputSize)),… 325 lz4.h : LZ4_compressBound() : unified macro and inline definitions (Shay Green)
|