Searched refs:LZ4F_compressBound (Results 1 – 6 of 6) sorted by relevance
/third_party/lz4/tests/ |
D | frametest.c | 245 { size_t const cBound = LZ4F_compressBound(0, NULL); in basicTests() 256 cBound = LZ4F_compressBound(1 KB, &autoFlushPrefs); in basicTests() 263 { size_t const cBound = LZ4F_compressBound(1 KB, &prefs); in basicTests() 533 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests() 543 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests() 553 …CHECK_V(cErr, LZ4F_compressUpdate(cctx, op, LZ4F_compressBound(testSize, &prefs), CNBuffer, testSi… in basicTests() 1077 size_t const oSize = LZ4F_compressBound(iSize, prefsPtr); in fuzzerTests() 1124 { size_t const dstEndSafeSize = LZ4F_compressBound(0, prefsPtr); in fuzzerTests()
|
/third_party/lz4/examples/ |
D | frameCompress.c | 70 assert(outCapacity >= LZ4F_compressBound(inChunkSize, &kPrefs)); in compress_file_internal() 161 …size_t const outbufCapacity = LZ4F_compressBound(IN_CHUNK_SIZE, &kPrefs); /* large enough for an… in compress_file()
|
/third_party/lz4/lib/ |
D | lz4file.c | 216 (*lz4fWrite)->dstBufMaxSize = LZ4F_compressBound((*lz4fWrite)->maxWriteSize, prefsPtr); in LZ4F_writeOpen()
|
D | lz4frame.h | 304 LZ4FLIB_API size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* prefsPtr);
|
D | lz4frame.c | 809 size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr) in LZ4F_compressBound() function
|
/third_party/lz4/ |
D | NEWS | 29 api : improved LZ4F_compressBound() with automatic flushing, by Christopher Harvie 228 Fixed : LZ4F_compressBound() using null preferencesPtr
|