Home
last modified time | relevance | path

Searched refs:iend (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/contrib/mandoc/
H A Droff_escape.c41 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/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c30 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTableForCDict() local
37 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCDict()
68 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTableForCCtx() local
75 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCCtx()
122 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_doubleFast_noDict_generic() local
123 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_doubleFast_noDict_generic()
192 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
194 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
208 mLength = ZSTD_count(ip+8, matchl0+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic()
252 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_noDict_generic()
[all …]
H A Dzstd_fast.c27 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTableForCDict() local
37 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTableForCDict()
64 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTableForCCtx() local
74 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTableForCCtx()
207 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_noDict_generic() local
208 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_fast_noDict_generic()
376 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic()
397 mLength += ZSTD_count(ip0 + mLength, match0 + mLength, iend); in ZSTD_compressBlock_fast_noDict_generic()
399 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
414 size_t const rLength = ZSTD_count(ip0+4, ip0+4-rep_offset2, iend) + 4; in ZSTD_compressBlock_fast_noDict_generic()
[all …]
H A Dzstd_ldm.c255 const BYTE* const iend = (const BYTE*)end; in ZSTD_ldm_fillFastTables() local
260 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast, ZSTD_tfp_forCCtx); in ZSTD_ldm_fillFastTables()
265 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast, ZSTD_tfp_forCCtx); in ZSTD_ldm_fillFastTables()
288 const BYTE* iend, ldmParams_t const* params) in ZSTD_ldm_fillHashTable() argument
302 while (ip < iend) { in ZSTD_ldm_fillHashTable()
307 hashed = ZSTD_ldm_gear_feed(&hashState, ip, (size_t)(iend - ip), splits, &numSplits); in ZSTD_ldm_fillHashTable()
362 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal() local
363 BYTE const* const ilimit = iend - HASH_READ_SIZE; in ZSTD_ldm_generateSequences_internal()
375 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
436 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal()
[all …]
H A Dzstd_lazy.c31 const BYTE* ip, const BYTE* iend, in ZSTD_updateDUBT() argument
49 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */ in ZSTD_updateDUBT()
50 (void)iend; in ZSTD_updateDUBT()
89 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() local
105 assert(ip < iend); /* condition for ZSTD_count */ in ZSTD_insertDUBT1()
124 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertDUBT1()
127 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1()
135 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertDUBT1()
167 const BYTE* const ip, const BYTE* const iend, in ZSTD_DUBT_findBetterDictMatch() argument
204 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch()
[all …]
H A Dzstd_opt.c445 const BYTE* const ip, const BYTE* const iend, in ZSTD_insertBt1() argument
486 assert(ip <= iend-8); /* required for h calculation */ in ZSTD_insertBt1()
519 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertBt1()
522 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1()
533 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertBt1()
565 const BYTE* const ip, const BYTE* const iend, in ZSTD_updateTree_internal() argument
575 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
580 assert((size_t)(iend - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal()
584 void ZSTD_updateTree(ZSTD_MatchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() argument
585 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
[all …]
H A Dhist.c84 const BYTE* const iend = ip+sourceSize; in HIST_count_parallel_wksp() local
103 while (ip < iend-15) { in HIST_count_parallel_wksp()
129 while (ip<iend) Counting1[*ip++]++; in HIST_count_parallel_wksp()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c29 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTableForCDict() local
36 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCDict()
67 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillDoubleHashTableForCCtx() local
74 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCCtx()
121 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_doubleFast_noDict_generic() local
122 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_doubleFast_noDict_generic()
191 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic()
193 … ZSTD_storeSeq(seqStore, (size_t)(ip-anchor), anchor, iend, REPCODE1_TO_OFFBASE, mLength); in ZSTD_compressBlock_doubleFast_noDict_generic()
207 mLength = ZSTD_count(ip+8, matchl0+8, iend) + 8; in ZSTD_compressBlock_doubleFast_noDict_generic()
251 return (size_t)(iend - anchor); in ZSTD_compressBlock_doubleFast_noDict_generic()
[all …]
H A Dzstd_fast.c26 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTableForCDict() local
36 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTableForCDict()
63 const BYTE* const iend = ((const BYTE*)end) - HASH_READ_SIZE; in ZSTD_fillHashTableForCCtx() local
73 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTableForCCtx()
206 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_fast_noDict_generic() local
207 const BYTE* const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_fast_noDict_generic()
375 return (size_t)(iend - anchor); in ZSTD_compressBlock_fast_noDict_generic()
396 mLength += ZSTD_count(ip0 + mLength, match0 + mLength, iend); in ZSTD_compressBlock_fast_noDict_generic()
398 ZSTD_storeSeq(seqStore, (size_t)(ip0 - anchor), anchor, iend, offcode, mLength); in ZSTD_compressBlock_fast_noDict_generic()
413 size_t const rLength = ZSTD_count(ip0+4, ip0+4-rep_offset2, iend) + 4; in ZSTD_compressBlock_fast_noDict_generic()
[all …]
H A Dzstd_ldm.c254 const BYTE* const iend = (const BYTE*)end; in ZSTD_ldm_fillFastTables() local
259 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast, ZSTD_tfp_forCCtx); in ZSTD_ldm_fillFastTables()
264 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast, ZSTD_tfp_forCCtx); in ZSTD_ldm_fillFastTables()
287 const BYTE* iend, ldmParams_t const* params) in ZSTD_ldm_fillHashTable() argument
301 while (ip < iend) { in ZSTD_ldm_fillHashTable()
306 hashed = ZSTD_ldm_gear_feed(&hashState, ip, (size_t)(iend - ip), splits, &numSplits); in ZSTD_ldm_fillHashTable()
361 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal() local
362 BYTE const* const ilimit = iend - HASH_READ_SIZE; in ZSTD_ldm_generateSequences_internal()
374 return iend - anchor; in ZSTD_ldm_generateSequences_internal()
435 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal()
[all …]
H A Dzstd_lazy.c30 const BYTE* ip, const BYTE* iend, in ZSTD_updateDUBT() argument
48 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */ in ZSTD_updateDUBT()
49 (void)iend; in ZSTD_updateDUBT()
88 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() local
104 assert(ip < iend); /* condition for ZSTD_count */ in ZSTD_insertDUBT1()
123 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertDUBT1()
126 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1()
134 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertDUBT1()
166 const BYTE* const ip, const BYTE* const iend, in ZSTD_DUBT_findBetterDictMatch() argument
203 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch()
[all …]
H A Dzstd_opt.c444 const BYTE* const ip, const BYTE* const iend, in ZSTD_insertBt1() argument
485 assert(ip <= iend-8); /* required for h calculation */ in ZSTD_insertBt1()
518 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend); in ZSTD_insertBt1()
521 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1()
532 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */ in ZSTD_insertBt1()
564 const BYTE* const ip, const BYTE* const iend, in ZSTD_updateTree_internal() argument
574 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
579 assert((size_t)(iend - base) <= (size_t)(U32)(-1)); in ZSTD_updateTree_internal()
583 void ZSTD_updateTree(ZSTD_MatchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() argument
584 ZSTD_updateTree_internal(ms, ip, iend, ms->cParams.minMatch, ZSTD_noDict); in ZSTD_updateTree()
[all …]
H A Dhist.c83 const BYTE* const iend = ip+sourceSize; in HIST_count_parallel_wksp() local
102 while (ip < iend-15) { in HIST_count_parallel_wksp()
128 while (ip<iend) Counting1[*ip++]++; in HIST_count_parallel_wksp()
/freebsd/sys/contrib/zstd/lib/common/
H A Dentropy_common.c46 const BYTE* const iend = istart + hbSize; in FSE_readNCount_body() local
91 if (LIKELY(ip <= iend-7)) { in FSE_readNCount_body()
94 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
96 ip = iend - 4; in FSE_readNCount_body()
120 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
125 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
127 ip = iend - 4; in FSE_readNCount_body()
169 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
173 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
175 ip = iend - 4; in FSE_readNCount_body()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c47 const BYTE* const iend = istart + hbSize; in FSE_readNCount_body() local
92 if (LIKELY(ip <= iend-7)) { in FSE_readNCount_body()
95 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
97 ip = iend - 4; in FSE_readNCount_body()
121 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
126 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
128 ip = iend - 4; in FSE_readNCount_body()
170 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
174 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
176 ip = iend - 4; in FSE_readNCount_body()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c548 const BYTE* const iend = ip + srcSize; in LZ4_decompress_generic() local
561 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
593 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic()
597 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
602 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
611 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; } in LZ4_decompress_generic()
624 … if (ip > iend-(16 + 1/*max lit + offset + nextToken*/)) { goto safe_literal_copy; } in LZ4_decompress_generic()
647 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
726 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
772 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
[all …]
H A Dlz4_zfs.c494 const BYTE *const iend = ip + isize; in LZ4_compressCtx() local
496 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compressCtx()
497 #define matchlimit (iend - LASTLITERALS) in LZ4_compressCtx()
643 int lastRun = iend - anchor; in LZ4_compressCtx()
656 (void) memcpy(op, anchor, iend - anchor); in LZ4_compressCtx()
657 op += iend - anchor; in LZ4_compressCtx()
684 const BYTE *const iend = ip + isize; in LZ4_compress64kCtx() local
686 const BYTE *const mflimit = iend - MFLIMIT; in LZ4_compress64kCtx()
687 #define matchlimit (iend - LASTLITERALS) in LZ4_compress64kCtx()
831 int lastRun = iend - anchor; in LZ4_compress64kCtx()
[all …]
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/
H A Dlz4.c486 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 Dkmp_gsupport.cpp2212 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 Dlr0.c164 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/legacy/
H A Dzstd_v01.c444 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
473 if (ip < iend-5) in FSE_readNCount()
494 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
530 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
537 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
538 ip = iend - 4; in FSE_readNCount()
1540 const BYTE* const iend = istart + srcSize; in ZSTDv01_decodeSeqHeaders() local
1570 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTDv01_decodeSeqHeaders()
1588 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1599 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog … in ZSTDv01_decodeSeqHeaders()
[all …]
H A Dzstd_v04.c1104 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
1133 if (ip < iend-5) in FSE_readNCount()
1154 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1190 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1197 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
1198 ip = iend - 4; in FSE_readNCount()
2637 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
2667 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders()
2685 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2696 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders()
[all …]
H A Dzstd_v05.c1234 const BYTE* const iend = istart + hbSize; in FSEv05_readNCount() local
1260 if (ip < iend-5) { in FSEv05_readNCount()
1276 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount()
1306 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount()
1310 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv05_readNCount()
1311 ip = iend - 4; in FSEv05_readNCount()
2951 const BYTE* const iend = istart + srcSize; in ZSTDv05_decodeSeqHeaders() local
2964 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
2968 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
2973 if (ip+3 > iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
[all …]
H A Dzstd_v03.c1121 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
1150 if (ip < iend-5) in FSE_readNCount()
1171 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1207 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1214 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
1215 ip = iend - 4; in FSE_readNCount()
2505 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
2535 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders()
2553 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2564 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders()
[all …]
H A Dzstd_v06.c1211 const BYTE* const iend = istart + hbSize; in FSEv06_readNCount() local
1237 if (ip < iend-5) { in FSEv06_readNCount()
1253 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv06_readNCount()
1282 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv06_readNCount()
1286 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv06_readNCount()
1287 ip = iend - 4; in FSEv06_readNCount()
3167 const BYTE* const iend = istart + srcSize; in ZSTDv06_decodeSeqHeaders() local
3178 if (ip+2 > iend) return ERROR(srcSize_wrong); in ZSTDv06_decodeSeqHeaders()
3181 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv06_decodeSeqHeaders()
3189 …if (ip + 4 > iend) return ERROR(srcSize_wrong); /* min : header byte + all 3 are "raw", hence no h… in ZSTDv06_decodeSeqHeaders()
[all …]

123