Lines Matching defs:loadedDictEnd

204     U32 loadedDictEnd;      /* index of end of dictionary, within context's referential.
205 * When loadedDictEnd != 0, a dictionary is in use, and still valid.
206 * This relies on a mechanism to set loadedDictEnd=0 when dictionary is no longer within distance.
209 * loadedDictEnd == dictSize, since referential starts from zero.
256 U32 loadedDictEnd;
957 U32 loadedDictEnd,
979 U32 const dictionaryInvalidated = curr > maxDist + loadedDictEnd;
992 U32 loadedDictEnd,
998 if (ZSTD_window_canOverflowCorrect(window, cycleLog, maxDist, loadedDictEnd, src)) {
1090 * (srcEnd - base) - lowLimit == maxDist + loadedDictEnd
1095 * loadedDictEnd is only defined if a dictionary is in use for current compression.
1096 * As the name implies, loadedDictEnd represents the index at end of dictionary.
1099 * If loadedDictEndPtr is NULL, no dictionary is in use, and we use loadedDictEnd == 0.
1118 U32 const loadedDictEnd = (loadedDictEndPtr != NULL) ? *loadedDictEndPtr : 0;
1119 DEBUGLOG(5, "ZSTD_window_enforceMaxDist: blockEndIdx=%u, maxDist=%u, loadedDictEnd=%u",
1120 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd);
1122 /* - When there is no dictionary : loadedDictEnd == 0.
1128 In which case, loadedDictEnd == dictSize,
1132 loadedDictEnd is expressed within the referential of the context,
1135 if (blockEndIdx > maxDist + loadedDictEnd) {
1153 * loadedDictEnd uses same referential as window->base
1165 U32 const loadedDictEnd = *loadedDictEndPtr;
1166 DEBUGLOG(5, "ZSTD_checkDictValidity: blockEndIdx=%u, maxDist=%u, loadedDictEnd=%u",
1167 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd);
1168 assert(blockEndIdx >= loadedDictEnd);
1170 if (blockEndIdx > loadedDictEnd + maxDist) {
1247 U32 const isDictionary = (ms->loadedDictEnd != 0);
1249 * is within the window. We invalidate the dictionary (and set loadedDictEnd to 0) when it isn't
1264 U32 const isDictionary = (ms->loadedDictEnd != 0);