Home
last modified time | relevance | path

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

12

/external/zstd/lib/compress/
Dzstd_double_fast.c26 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 …]
Dzstd_fast.c25 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 …]
Dzstd_ldm.c188 const BYTE* const iend = (const BYTE*)end; in ZSTD_ldm_fillFastTables() local
193 ZSTD_fillHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables()
197 ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast); in ZSTD_ldm_fillFastTables()
223 const BYTE* iend, const BYTE* base, in ZSTD_ldm_fillLdmHashTable() argument
229 while (cur < iend) { in ZSTD_ldm_fillLdmHashTable()
243 const BYTE* iend, ldmParams_t const* params) in ZSTD_ldm_fillHashTable() argument
246 if ((size_t)(iend - ip) >= params->minMatchLength) { in ZSTD_ldm_fillHashTable()
249 state, startingHash, ip, iend - params->minMatchLength, state->window.base, in ZSTD_ldm_fillHashTable()
292 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal() local
293 BYTE const* const ilimit = iend - MAX(minMatchLength, HASH_READ_SIZE); in ZSTD_ldm_generateSequences_internal()
[all …]
Dzstd_lazy.c21 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 …]
Dzstd_opt.c371 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 …]
Dhist.c73 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()
Dzstd_ldm.h29 const BYTE* iend, ldmParams_t const* params);
Dzstd_opt.h21 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend);
/external/libkmsxx/kms++util/src/
Dopts.cpp25 auto iend = str.end(); in parse() local
26 if (*(iend - 1) == '=') { in parse()
27 iend--; in parse()
29 } else if (*(iend - 1) == '?') { in parse()
30 iend--; in parse()
36 auto isplit = find(str.begin(), iend, '|'); in parse()
43 if (isplit != iend) in parse()
44 m_long = string(isplit + 1, iend); in parse()
/external/zstd/lib/common/
Dentropy_common.c68 const BYTE* const iend = istart + hbSize; in FSE_readNCount_body() local
113 if (LIKELY(ip <= iend-7)) { in FSE_readNCount_body()
116 bitCount -= (int)(8 * (iend - 7 - ip)); in FSE_readNCount_body()
118 ip = iend - 4; in FSE_readNCount_body()
142 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
147 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
149 ip = iend - 4; in FSE_readNCount_body()
191 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount_body()
195 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount_body()
197 ip = iend - 4; in FSE_readNCount_body()
/external/lz4/tests/
Dframetest.c341 const BYTE* const iend = ip + cSize; in basicTests() local
342 while (ip < iend) { in basicTests()
380 const BYTE* const iend = (const BYTE*)compressedBuffer + cSize; in basicTests() local
383 while (ip < iend) { in basicTests()
387 if (iSize > (size_t)(iend-ip)) iSize = (size_t)(iend-ip); in basicTests()
694 BYTE* iend = (BYTE*)compressedBuffer + cSize + 8; in basicTests() local
703 while (ip < iend) { in basicTests()
707 if (iSize > (size_t)(iend-ip)) iSize = (size_t)(iend-ip); in basicTests()
720 iend = ip+8; in basicTests()
722 while (ip < iend) { in basicTests()
[all …]
/external/zstd/contrib/linux-kernel/test/
Dtest.c69 char const *iend = ip + size; in test_btrfs() local
80 in.size = MIN(4096, iend - ip); in test_btrfs()
92 if (ip != iend || in.pos < in.size) { in test_btrfs()
106 iend = op; in test_btrfs()
117 in.size = MIN(4096, iend - ip); in test_btrfs()
/external/llvm-project/clang/test/OpenMP/
Dnvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp26 const int iend = (ib + 1) * 4; in complex_reduction() local
29 for (int i = istart; i < iend; i++) in complex_reduction()
/external/zstd/lib/legacy/
Dzstd_v01.c486 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
515 if (ip < iend-5) in FSE_readNCount()
536 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
572 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
579 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
580 ip = iend - 4; in FSE_readNCount()
1582 const BYTE* const iend = istart + srcSize; in ZSTDv01_decodeSeqHeaders() local
1612 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTDv01_decodeSeqHeaders()
1630 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders()
1641 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLog … in ZSTDv01_decodeSeqHeaders()
[all …]
Dzstd_v04.c1164 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
1193 if (ip < iend-5) in FSE_readNCount()
1214 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1250 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1257 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
1258 ip = iend - 4; in FSE_readNCount()
2697 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
2727 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders()
2745 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2756 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders()
[all …]
Dzstd_v05.c1290 const BYTE* const iend = istart + hbSize; in FSEv05_readNCount() local
1316 if (ip < iend-5) { in FSEv05_readNCount()
1332 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount()
1362 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv05_readNCount()
1366 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv05_readNCount()
1367 ip = iend - 4; in FSEv05_readNCount()
3007 const BYTE* const iend = istart + srcSize; in ZSTDv05_decodeSeqHeaders() local
3020 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
3024 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
3029 if (ip+3 > iend) return ERROR(srcSize_wrong); in ZSTDv05_decodeSeqHeaders()
[all …]
Dzstd_v03.c1187 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
1216 if (ip < iend-5) in FSE_readNCount()
1237 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1273 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1280 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
1281 ip = iend - 4; in FSE_readNCount()
2571 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
2601 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders()
2619 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2630 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders()
[all …]
Dzstd_v06.c1271 const BYTE* const iend = istart + hbSize; in FSEv06_readNCount() local
1297 if (ip < iend-5) { in FSEv06_readNCount()
1313 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv06_readNCount()
1342 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv06_readNCount()
1346 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv06_readNCount()
1347 ip = iend - 4; in FSEv06_readNCount()
3227 const BYTE* const iend = istart + srcSize; in ZSTDv06_decodeSeqHeaders() local
3238 if (ip+2 > iend) return ERROR(srcSize_wrong); in ZSTDv06_decodeSeqHeaders()
3241 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv06_decodeSeqHeaders()
3249 …if (ip + 4 > iend) return ERROR(srcSize_wrong); /* min : header byte + all 3 are "raw", hence no h… in ZSTDv06_decodeSeqHeaders()
[all …]
Dzstd_v07.c1215 const BYTE* const iend = istart + hbSize; in FSEv07_readNCount() local
1241 if (ip < iend-5) { in FSEv07_readNCount()
1257 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv07_readNCount()
1286 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSEv07_readNCount()
1290 bitCount -= (int)(8 * (iend - 4 - ip)); in FSEv07_readNCount()
1291 ip = iend - 4; in FSEv07_readNCount()
3457 const BYTE* const iend = istart + srcSize; in ZSTDv07_decodeSeqHeaders() local
3468 if (ip+2 > iend) return ERROR(srcSize_wrong); in ZSTDv07_decodeSeqHeaders()
3471 if (ip >= iend) return ERROR(srcSize_wrong); in ZSTDv07_decodeSeqHeaders()
3479 …if (ip + 4 > iend) return ERROR(srcSize_wrong); /* min : header byte + all 3 are "raw", hence no h… in ZSTDv07_decodeSeqHeaders()
[all …]
Dzstd_v02.c1186 const BYTE* const iend = istart + hbSize; in FSE_readNCount() local
1215 if (ip < iend-5) in FSE_readNCount()
1236 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1272 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) in FSE_readNCount()
1279 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
1280 ip = iend - 4; in FSE_readNCount()
2930 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
2960 …if (ip > iend-3) return ERROR(srcSize_wrong); /* min : all 3 are "raw", hence no header, but at le… in ZSTD_decodeSeqHeaders()
2978 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders()
2989 …if (ip > iend-2) return ERROR(srcSize_wrong); /* min : "raw", hence no header, but at least xxLo… in ZSTD_decodeSeqHeaders()
[all …]
/external/lz4/lib/
Dlz4.c820 const BYTE* const iend = ip + inputSize; in LZ4_compress_generic() local
821 const BYTE* const mflimitPlusOne = iend - MFLIMIT + 1; in LZ4_compress_generic()
822 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()
1144 { size_t lastRun = (size_t)(iend - anchor); in LZ4_compress_generic()
1671 const BYTE* const iend = ip + srcSize; in LZ4_decompress_generic() local
1684 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
1716 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic()
1720 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
1725 length += read_variable_length(&ip, iend-RUN_MASK, endOnInput, endOnInput, &error); in LZ4_decompress_generic()
1734 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; } in LZ4_decompress_generic()
[all …]
/external/zstd/tests/
Dfullbench.c384 const BYTE* const iend = ip + g_cSize; in local_ZSTD_decompressContinue() local
390 while (ip < iend) { in local_ZSTD_decompressContinue()
559 const BYTE* iend; in benchMem() local
574 iend = ip + ZSTD_blockHeaderSize + cBlockSize; /* End of first block */ in benchMem()
578 CONTROL(iend > ip); in benchMem()
579 … ip += ZSTD_decodeLiteralsBlock(g_zdc, ip, (size_t)(iend-ip)); /* skip literal segment */ in benchMem()
580 g_cSize = (size_t)(iend-ip); in benchMem()
/external/zstd/lib/decompress/
Dzstd_decompress_block.c581 const BYTE* const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
598 RETURN_ERROR_IF(ip+2 > iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
602 RETURN_ERROR_IF(ip >= iend, srcSize_wrong, ""); in ZSTD_decodeSeqHeaders()
609 …RETURN_ERROR_IF(ip+1 > iend, srcSize_wrong, ""); /* minimum possible size: 1 byte for symbol encod… in ZSTD_decodeSeqHeaders()
618 ip, iend-ip, in ZSTD_decodeSeqHeaders()
630 ip, iend-ip, in ZSTD_decodeSeqHeaders()
642 ip, iend-ip, in ZSTD_decodeSeqHeaders()
1110 const BYTE* const iend = ip + seqSize; in ZSTD_decompressSequences_body() local
1129 ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend-ip)), in ZSTD_decompressSequences_body()
1244 const BYTE* const iend = ip + seqSize; in ZSTD_decompressSequencesLong_body() local
[all …]
Dzstd_decompress.c1637 const char* const iend = input->size != 0 ? src + input->size : src; in ZSTD_decompressStream() local
1672 DEBUGLOG(5, "stage zdss_loadHeader (srcSize : %u)", (U32)(iend - ip)); in ZSTD_decompressStream()
1686 U32 const legacyVersion = ZSTD_isLegacy(istart, iend-istart); in ZSTD_decompressStream()
1707 size_t const remainingInput = (size_t)(iend-ip); in ZSTD_decompressStream()
1708 assert(iend >= ip); in ZSTD_decompressStream()
1726 size_t const cSize = ZSTD_findFrameCompressedSize(istart, (size_t)(iend-istart)); in ZSTD_decompressStream()
1727 if (cSize <= (size_t)(iend-istart)) { in ZSTD_decompressStream()
1808 … size_t const neededInSize = ZSTD_nextSrcSizeToDecompressWithInputSize(zds, (size_t)(iend - ip)); in ZSTD_decompressStream()
1815 if ((size_t)(iend-ip) >= neededInSize) { /* decode directly from src */ in ZSTD_decompressStream()
1821 if (ip==iend) { someMoreWork = 0; break; } /* no more input */ in ZSTD_decompressStream()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp243 for(SDNodeIterator i = SDNodeIterator::begin(N), iend = SDNodeIterator::end(N); in setSubgraphColorHelper() local
244 i != iend; in setSubgraphColorHelper()

12