Searched refs:extDict (Results 1 - 5 of 5) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_ldm.c221 /* If backwards match is entirely in the extDict or prefix, immediately return */
326 int const extDict = ZSTD_window_hasExtDict(ldmState->window); local
330 /* Prefix and extDict parameters */
332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit;
334 BYTE const* const dictBase = extDict ? ldmState->window.dictBase : NULL;
335 BYTE const* const dictStart = extDict ? dictBase + lowestIndex : NULL;
336 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL;
409 if (extDict) {
424 } else { /* !extDict */
H A Dzstd_double_fast.c559 /* if extDict is invalidated due to maxDistance, switch to "regular" variant */
674 ZSTD_GEN_DFAST_FN(extDict, 4)
675 ZSTD_GEN_DFAST_FN(extDict, 5)
676 ZSTD_GEN_DFAST_FN(extDict, 6)
677 ZSTD_GEN_DFAST_FN(extDict, 7)
H A Dzstd_fast.c578 /* switch to "regular" variant if extDict is invalidated due to maxDistance */
653 ZSTD_GEN_FAST_FN(extDict, 4, 0)
654 ZSTD_GEN_FAST_FN(extDict, 5, 0)
655 ZSTD_GEN_FAST_FN(extDict, 6, 0)
656 ZSTD_GEN_FAST_FN(extDict, 7, 0)
H A Dzstd_opt.c381 Assumption : always within prefix (i.e. not within extDict) */
415 U32 const mls, const int extDict)
484 if (!extDict || (matchIndex+matchLength >= dictLimit)) {
485 assert(matchIndex+matchLength >= dictLimit); /* might be wrong if actually extDict */
696 assert(matchIndex+matchLength >= dictLimit); /* ensure the condition is correct when !extDict */
840 GEN_ZSTD_BT_GET_ALL_MATCHES(extDict)
856 ZSTD_BT_GET_ALL_MATCHES_ARRAY(extDict),
1444 /* note : no btultra2 variant for extDict nor dictMatchState,
411 ZSTD_insertBt1( const ZSTD_matchState_t* ms, const BYTE* const ip, const BYTE* const iend, U32 const target, U32 const mls, const int extDict) argument
H A Dzstd_lazy.c106 || (curr < dictLimit) /* both in extDict */) {
110 assert( (matchIndex+matchLength >= dictLimit) /* might be wrong if extDict is incorrectly set to 0 */
616 Assumption : always within prefix (i.e. not within extDict) */
1315 * able to avoid force inlining it, and we can join the extDict loop with
1374 X(__VA_ARGS__, extDict) \
1461 ZSTD_SWITCH_SEARCH_METHOD(extDict)

Completed in 183 milliseconds