• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/

Lines Matching defs:repIndex

17501         const U32 repIndex = current + 1 - offset_1;
17503 && repIndex < prefixLowestIndex) ?
17504 dictBase + (repIndex - dictIndexDelta) :
17505 base + repIndex;
17510 && ((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */)
17512 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
17769 const U32 repIndex = current + 1 - offset_1; /* offset_1 expected <= current +1 */
17770 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base;
17771 const BYTE* const repMatch = repBase + repIndex;
17775 if ((((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex doesn't overlap dict + prefix */
17776 & (repIndex > dictStartIndex))
17778 const BYTE* repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend;
18151 const U32 repIndex = current + 1 - offset_1;
18152 const BYTE* repMatch = (repIndex < prefixStartIndex) ?
18153 dictBase + (repIndex - dictIndexDelta) :
18154 base + repIndex;
18157 if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn't overlapping dict + prefix */
18159 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend;
18301 const U32 repIndex = current + 1 - offset_1;
18302 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base;
18303 const BYTE* const repMatch = repBase + repIndex;
18306 assert(offset_1 <= current +1); /* check repIndex */
18308 if ( (((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > dictStartIndex))
18310 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend;
19082 const U32 repIndex = (U32)(ip - base) + 1 - offset_1;
19084 && repIndex < prefixLowestIndex) ?
19085 dictBase + (repIndex - dictIndexDelta) :
19086 base + repIndex;
19087 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */)
19089 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
19125 const U32 repIndex = (U32)(ip - base) - offset_1;
19126 const BYTE* repMatch = repIndex < prefixLowestIndex ?
19127 dictBase + (repIndex - dictIndexDelta) :
19128 base + repIndex;
19129 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */)
19131 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
19160 const U32 repIndex = (U32)(ip - base) - offset_1;
19161 const BYTE* repMatch = repIndex < prefixLowestIndex ?
19162 dictBase + (repIndex - dictIndexDelta) :
19163 base + repIndex;
19164 if (((U32)((prefixLowestIndex-1) - repIndex) >= 3 /* intentional underflow */)
19166 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend;
19216 U32 const repIndex = current2 - offset_2;
19218 && repIndex < prefixLowestIndex ?
19219 dictBase - dictIndexDelta + repIndex :
19220 base + repIndex;
19221 if ( ((U32)((prefixLowestIndex-1) - (U32)repIndex) >= 3 /* intentional overflow */)
19223 const BYTE* const repEnd2 = repIndex < prefixLowestIndex ? dictEnd : iend;
19360 const U32 repIndex = (U32)(current+1 - offset_1);
19361 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base;
19362 const BYTE* const repMatch = repBase + repIndex;
19363 if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > windowLow)) /* intentional overflow */
19366 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
19391 const U32 repIndex = (U32)(current - offset_1);
19392 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base;
19393 const BYTE* const repMatch = repBase + repIndex;
19394 if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > windowLow)) /* intentional overflow */
19397 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
19422 const U32 repIndex = (U32)(current - offset_1);
19423 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base;
19424 const BYTE* const repMatch = repBase + repIndex;
19425 if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > windowLow)) /* intentional overflow */
19428 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
19468 const U32 repIndex = repCurrent - offset_2;
19469 const BYTE* const repBase = repIndex < dictLimit ? dictBase : base;
19470 const BYTE* const repMatch = repBase + repIndex;
19471 if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > windowLow)) /* intentional overflow */
19474 const BYTE* const repEnd = repIndex < dictLimit ? dictEnd : iend;
20714 U32 const repIndex = current - repOffset;
20717 if (repOffset-1 /* intentional overflow, discards 0 and -1 */ < current-dictLimit) { /* equivalent to `current > repIndex >= dictLimit` */
20721 if ((repIndex >= windowLow) & (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repOffset, minMatch))) {
20724 } else { /* repIndex < dictLimit || repIndex >= current */
20726 dmsBase + repIndex - dmsIndexDelta :
20727 dictBase + repIndex;
20730 && ( ((repOffset-1) /*intentional overflow*/ < current - windowLow) /* equivalent to `current > repIndex >= windowLow` */
20731 & (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */)
20736 && ( ((repOffset-1) /*intentional overflow*/ < current - (dmsLowLimit + dmsIndexDelta)) /* equivalent to `current > repIndex >= dmsLowLimit` */
20737 & ((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overlapping 2 memory segments */