Lines Matching refs:ZSTD_WINDOW_START_INDEX
196 #define ZSTD_WINDOW_START_INDEX 2 macro
909 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty()
910 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty()
911 (window.nextSrc - window.base) == ZSTD_WINDOW_START_INDEX; in ZSTD_window_isEmpty()
964 + ZSTD_WINDOW_START_INDEX; in ZSTD_window_canOverflowCorrect()
1041 U32 const currentCycleCorrection = currentCycle < ZSTD_WINDOW_START_INDEX in ZSTD_window_correctOverflow()
1042 ? MAX(cycleSize, ZSTD_WINDOW_START_INDEX) in ZSTD_window_correctOverflow()
1062 if (window->lowLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow()
1063 window->lowLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow()
1067 if (window->dictLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow()
1068 window->dictLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow()
1075 assert(newCurrent - maxDist >= ZSTD_WINDOW_START_INDEX); in ZSTD_window_correctOverflow()
1188 …ZSTD_STATIC_ASSERT(ZSTD_DUBT_UNSORTED_MARK < ZSTD_WINDOW_START_INDEX); /* Start above ZSTD_DUBT_UN… in ZSTD_window_init()
1189 … window->dictLimit = ZSTD_WINDOW_START_INDEX; /* start from >0, so that 1st position is valid */ in ZSTD_window_init()
1190 …window->lowLimit = ZSTD_WINDOW_START_INDEX; /* it ensures first and later CCtx usages compress… in ZSTD_window_init()
1191 window->nextSrc = window->base + ZSTD_WINDOW_START_INDEX; /* see issue #1241 */ in ZSTD_window_init()