Home
last modified time | relevance | path

Searched refs:prefsPtr (Results 1 – 3 of 3) sorted by relevance

/third_party/lz4/lib/
Dlz4frame.h280 const LZ4F_preferences_t* prefsPtr);
297 LZ4FLIB_API size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* prefsPtr);
605 const LZ4F_preferences_t* prefsPtr);
Dlz4frame.c331 …{ const LZ4F_preferences_t* const prefsPtr = (preferencesPtr==NULL) ? &prefsNull : preferencesPt… in LZ4F_compressBound_internal() local
332 U32 const flush = prefsPtr->autoFlush | (srcSize==0); in LZ4F_compressBound_internal()
333 LZ4F_blockSizeID_t const blockID = prefsPtr->frameInfo.blockSizeID; in LZ4F_compressBound_internal()
343 size_t const blockCRCSize = BFSize * prefsPtr->frameInfo.blockChecksumFlag; in LZ4F_compressBound_internal()
344 size_t const frameEnd = BHSize + (prefsPtr->frameInfo.contentChecksumFlag*BFSize); in LZ4F_compressBound_internal()
/third_party/lz4/tests/
Dframetest.c971 const LZ4F_preferences_t* prefsPtr = &prefs; in fuzzerTests() local
983 if ((FUZ_rand(&randState) & 0xF) == 1) prefsPtr = NULL; in fuzzerTests()
995 …ssFrame(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), srcStart, srcSize, prefsPtr); in fuzzerTests()
1002 …BYTE* const oend = op + (neverFlush ? LZ4F_compressFrameBound(srcSize, prefsPtr) : compressedBuffe… in fuzzerTests()
1006 { size_t const fhSize = LZ4F_compressBegin(cCtx, op, (size_t)(oend-op), prefsPtr); in fuzzerTests()
1015 size_t const oSize = LZ4F_compressBound(iSize, prefsPtr); in fuzzerTests()
1038 if ((prefsPtr!= NULL) && prefsPtr->frameInfo.blockChecksumFlag) { in fuzzerTests()
1048 { size_t const dstEndSafeSize = LZ4F_compressBound(0, prefsPtr); in fuzzerTests()