/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 26 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTable() local 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 67 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_doubleFast_noDict_generic() local 68 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_doubleFast_noDict_generic() 132 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic() 134 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, STORE_REPCODE_1, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic() 143 mLength = ZSTD_count(ip+8, matchl0+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic() 183 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_noDict_generic() 191 mLength = ZSTD_count(ip+8, matchl1+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic() 199 mLength = ZSTD_count(ip+4, matchs0+4, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic() [all …]
|
H A D | zstd_fast.c | 25 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTable() local 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTable() 108 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_noDict_generic() local 109 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_fast_noDict_generic() 262 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic() 283 mLength += ZSTD_count(ip0 + mLength, match0 + mLength, iend); in ZSTD_compressBlock_fast_noDict_generic() 285 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic() 305 size_t const rLength = ZSTD_count(ip0+4, ip0+4-rep_offset2, iend) + 4; in ZSTD_compressBlock_fast_noDict_generic() 309 ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, STORE_REPCODE_1, rLength); in ZSTD_compressBlock_fast_noDict_generic() 387 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_dictMatchState_generic() local [all …]
|
H A D | zstd_ldm.c | 240 const BYTE* const iend = (const BYTE*)end; in ZSTD_ldm_fillFastTables() local 245 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 249 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 269 const BYTE* iend, ldmParams_t const* params) in ZSTD_ldm_fillHashTable() argument 282 while (ip < iend) { in ZSTD_ldm_fillHashTable() 287 hashed = ZSTD_ldm_gear_feed(&hashState, ip, iend - ip, splits, &numSplits); in ZSTD_ldm_fillHashTable() 340 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal() local 341 BYTE const* const ilimit = iend - HASH_READ_SIZE; in ZSTD_ldm_generateSequences_internal() 353 return iend - anchor; in ZSTD_ldm_generateSequences_internal() 414 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal() [all …]
|
H A D | zstd_lazy.c | 21 const BYTE* ip, const BYTE* iend, in ZSTD_updateDUBT() argument 39 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */ in ZSTD_updateDUBT() 40 (void)iend; in ZSTD_updateDUBT() 78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() local 94 assert(ip < iend); /* condition for ZSTD_count */ in ZSTD_insertDUBT1() 113 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertDUBT1() 116 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1() 124 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertDUBT1() 155 const BYTE* const ip, const BYTE* const iend, in ZSTD_DUBT_findBetterDictMatch() argument 192 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch() [all …]
|
H A D | zstd_opt.c | 413 const BYTE* const ip, const BYTE* const iend, in ZSTD_insertBt1() argument 454 assert(ip <= iend-8); /* required for h calculation */ in ZSTD_insertBt1() 487 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertBt1() 490 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1() 501 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertBt1() 532 const BYTE* const ip, const BYTE* const iend, in ZSTD_updateTree_internal() argument 542 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal() 547 assert((size_t)(iend - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal() 551 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() argument 552 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree() [all …]
|
H A D | hist.c | 73 const BYTE* const iend = ip+sourceSize; in HIST_count_parallel_wksp() local 92 while (ip < iend-15) { in HIST_count_parallel_wksp() 118 while (ip<iend) Counting1[*ip++]++; in HIST_count_parallel_wksp()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 26 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTable() local 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 69 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_doubleFast_generic() local 70 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_doubleFast_generic() 148 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_generic() 149 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_generic() 151 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic() 160 ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, 0, mLength-MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 167 mLength = ZSTD_count(ip+8, matchLong+8, iend) + 8; in ZSTD_compressBlock_doubleFast_generic() [all …]
|
H A D | zstd_fast.c | 25 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTable() local 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTable() 66 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_generic() local 67 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_fast_generic() 151 mLength += ZSTD_count(ip0+mLength, match0+mLength, iend); in ZSTD_compressBlock_fast_generic() 152 ZSTD_storeSeq(seqStore, (size_t)(ip0-anchor), anchor, iend, offcode, mLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 166 size_t const rLength = ZSTD_count(ip0+4, ip0+4-offset_2, iend) + 4; in ZSTD_compressBlock_fast_generic() 170 … ZSTD_storeSeq(seqStore, 0 /*litLen*/, anchor, iend, 0 /*offCode*/, rLength-MINMATCH); in ZSTD_compressBlock_fast_generic() 182 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_generic() 222 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_dictMatchState_generic() local [all …]
|
H A D | zstd_ldm.c | 174 const BYTE* const iend = (const BYTE*)end; in ZSTD_ldm_fillFastTables() local 179 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 183 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables() 209 const BYTE* iend, const BYTE* base, in ZSTD_ldm_fillLdmHashTable() argument 215 while (cur < iend) { in ZSTD_ldm_fillLdmHashTable() 229 const BYTE* iend, ldmParams_t const* params) in ZSTD_ldm_fillHashTable() argument 232 if ((size_t)(iend - ip) >= params->minMatchLength) { in ZSTD_ldm_fillHashTable() 235 state, startingHash, ip, iend - params->minMatchLength, state->window.base, in ZSTD_ldm_fillHashTable() 278 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal() local 279 BYTE const* const ilimit = iend - MAX(minMatchLength, HASH_READ_SIZE); in ZSTD_ldm_generateSequences_internal() [all …]
|
H A D | zstd_lazy.c | 21 const BYTE* ip, const BYTE* iend, in ZSTD_updateDUBT() argument 39 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */ in ZSTD_updateDUBT() 40 (void)iend; in ZSTD_updateDUBT() 78 const BYTE* const iend = (current>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() local 94 assert(ip < iend); /* condition for ZSTD_count */ in ZSTD_insertDUBT1() 113 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertDUBT1() 116 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1() 124 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertDUBT1() 155 const BYTE* const ip, const BYTE* const iend, in ZSTD_DUBT_findBetterDictMatch() argument 192 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch() [all …]
|
H A D | zstd_opt.c | 371 const BYTE* const ip, const BYTE* const iend, in ZSTD_insertBt1() argument 407 assert(ip <= iend-8); /* required for h calculation */ in ZSTD_insertBt1() 440 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertBt1() 443 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1() 454 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertBt1() 485 const BYTE* const ip, const BYTE* const iend, in ZSTD_updateTree_internal() argument 495 U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal() 500 assert((size_t)(iend - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal() 504 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() argument 505 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree() [all …]
|
H A D | hist.c | 73 const BYTE* const iend = ip+sourceSize; in HIST_count_parallel_wksp() local 93 while (ip < iend-15) { in HIST_count_parallel_wksp() 119 while (ip<iend) Counting1[*ip++]++; in HIST_count_parallel_wksp()
|
/freebsd/contrib/mandoc/ |
H A D | roff_escape.c | 41 int iarg, iendarg, iend; in mandoc_escape() local 45 NULL, NULL, &iarg, &iendarg, &iend); in mandoc_escape() 51 *rendarg += iend; in mandoc_escape() 73 int iend; /* index right after the sequence */ in roff_escape() local 100 iarg = iendarg = iend = inam + 1; in roff_escape() 131 iendarg = --iend; in roff_escape() 183 iendarg = iend = --iarg; in roff_escape() 264 iendarg = iend = iarg; in roff_escape() 287 iend = send; in roff_escape() 300 iendarg = iend = iarg + 1; in roff_escape() [all …]
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | entropy_common.c | 74 const BYTE* const iend = istart + hbSize; in FSE_readNCount_body() local 119 if (LIKELY(ip <= iend-7)) { in FSE_readNCount_body() 122 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body() 124 ip = iend - 4; in FSE_readNCount_body() 148 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body() 153 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body() 155 ip = iend - 4; in FSE_readNCount_body() 197 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body() 201 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body() 203 ip = iend - 4; in FSE_readNCount_body()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | entropy_common.c | 45 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local 85 if (ip < iend-5) { in FSE_readNCount() 101 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount() 130 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount() 134 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount() 135 ip = iend - 4; in FSE_readNCount()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | lz4.c | 547 const BYTE* const iend = ip + srcSize; in LZ4_decompress_generic() local 560 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic() 592 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic() 596 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic() 601 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic() 610 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; } in LZ4_decompress_generic() 623 … if (ip > iend-(16 + 1/*max lit + offset + nextToken*/)) { goto safe_literal_copy; } in LZ4_decompress_generic() 646 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic() 725 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic() 771 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic() [all …]
|
H A D | lz4_zfs.c | 486 const BYTE *const iend = ip + isize; in LZ4_compressCtx() local 488 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compressCtx() 489 #define matchlimit (iend - LASTLITERALS) in LZ4_compressCtx() 635 int lastRun = iend - anchor; in LZ4_compressCtx() 648 (void) memcpy(op, anchor, iend - anchor); in LZ4_compressCtx() 649 op += iend - anchor; in LZ4_compressCtx() 676 const BYTE *const iend = ip + isize; in LZ4_compress64kCtx() local 678 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compress64kCtx() 679 #define matchlimit (iend - LASTLITERALS) in LZ4_compress64kCtx() 823 int lastRun = iend - anchor; in LZ4_compress64kCtx() [all …]
|
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/ |
H A D | lz4.c | 486 const BYTE *const iend = ip + isize; in LZ4_compressCtx() local 488 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compressCtx() 489 #define matchlimit (iend - LASTLITERALS) in LZ4_compressCtx() 635 int lastRun = iend - anchor; in LZ4_compressCtx() 648 (void) memcpy(op, anchor, iend - anchor); in LZ4_compressCtx() 649 op += iend - anchor; in LZ4_compressCtx() 681 const BYTE *const iend = ip + isize; in LZ4_compress64kCtx() local 683 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compress64kCtx() 684 #define matchlimit (iend - LASTLITERALS) in LZ4_compress64kCtx() 828 int lastRun = iend - anchor; in LZ4_compress64kCtx() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_gsupport.cpp | 2212 long *iend, uintptr_t *reductions, void **mem) { in KMP_EXPAND_NAME() 2228 start, end, incr, istart, iend); in KMP_EXPAND_NAME() 2232 start, end, incr, istart, iend); in KMP_EXPAND_NAME() 2235 start, end, incr, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2239 start, end, incr, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2243 start, end, incr, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2247 start, end, incr, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2251 start, end, incr, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2254 start, end, incr, istart, iend); in KMP_EXPAND_NAME() 2264 unsigned long long *istart, unsigned long long *iend, uintptr_t *reductions, in KMP_EXPAND_NAME() [all …]
|
/freebsd/contrib/byacc/ |
H A D | lr0.c | 164 Value_t *iend; in get_state() local 173 iend = kernel_end[symbol]; in get_state() 174 n = (int)(iend - isp1); in get_state() 193 while (found && isp1 < iend) in get_state() 291 Value_t *iend; in new_state() local 301 iend = kernel_end[symbol]; in new_state() 302 n = (unsigned)(iend - isp1); in new_state() 310 while (isp1 < iend) in new_state()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | huf_decompress.c | 157 BYTE const* iend[4]; member 197 args->iend[0] = istart + 6; /* jumpTable */ in HUF_DecompressAsmArgs_init() 198 args->iend[1] = args->iend[0] + length1; in HUF_DecompressAsmArgs_init() 199 args->iend[2] = args->iend[1] + length2; in HUF_DecompressAsmArgs_init() 200 args->iend[3] = args->iend[2] + length3; in HUF_DecompressAsmArgs_init() 212 args->ip[0] = args->iend[1] - sizeof(U64); in HUF_DecompressAsmArgs_init() 213 args->ip[1] = args->iend[2] - sizeof(U64); in HUF_DecompressAsmArgs_init() 214 args->ip[2] = args->iend[3] - sizeof(U64); in HUF_DecompressAsmArgs_init() 261 if (args->ip[stream] < args->iend[stream] - 8) in HUF_initRemainingDStream() 267 bit->start = (const char*)args->iend[0]; in HUF_initRemainingDStream() [all …]
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v01.c | 482 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local 511 if (ip < iend-5) in FSE_readNCount() 532 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount() 568 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount() 575 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount() 576 ip = iend - 4; in FSE_readNCount() 1578 const BYTE* const iend = istart + srcSize; in ZSTDv01_decodeSeqHeaders() local 1608 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTDv01_decodeSeqHeaders() 1626 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders() 1637 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog … in ZSTDv01_decodeSeqHeaders() [all …]
|
H A D | zstd_v04.c | 1160 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local 1189 if (ip < iend-5) in FSE_readNCount() 1210 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount() 1246 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount() 1253 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount() 1254 ip = iend - 4; in FSE_readNCount() 2693 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local 2723 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders() 2741 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2752 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders() [all …]
|
H A D | zstd_v05.c | 1286 const BYTE* const iend = istart + hbSize; in FSEv05_readNCount() local 1312 if (ip < iend-5) { in FSEv05_readNCount() 1328 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount() 1358 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount() 1362 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv05_readNCount() 1363 ip = iend - 4; in FSEv05_readNCount() 3003 const BYTE* const iend = istart + srcSize; in ZSTDv05_decodeSeqHeaders() local 3016 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders() 3020 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders() 3025 if (ip+3 > iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress_block.c | 484 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local 501 RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders() 504 RETURN_ERROR_IF(ip >= iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders() 511 …RETURN_ERROR_IF(ip+1 > iend, srcSize_wrong, ""); /* minimum possible size: 1 byte for symbol encod… in ZSTD_decodeSeqHeaders() 520 ip, iend-ip, in ZSTD_decodeSeqHeaders() 530 ip, iend-ip, in ZSTD_decodeSeqHeaders() 540 ip, iend-ip, in ZSTD_decodeSeqHeaders() 989 const BYTE* const iend = ip + seqSize; in ZSTD_decompressSequences_body() local 1008 ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend-ip)), in ZSTD_decompressSequences_body() 1141 const BYTE* const iend = ip + seqSize; in ZSTD_decompressSequencesLong_body() local [all …]
|