Home
last modified time | relevance | path

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

/Linux-v5.4/lib/zstd/
Dentropy_common.c62 const BYTE *const iend = istart + hbSize; in FSE_readNCount() local
90 if (ip < iend - 5) { in FSE_readNCount()
109 if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) { in FSE_readNCount()
140 if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) { in FSE_readNCount()
144 bitCount -= (int)(8 * (iend - 4 - ip)); in FSE_readNCount()
145 ip = iend - 4; in FSE_readNCount()
Dcompress.c998 const BYTE *const iend = ((const BYTE *)end) - HASH_READ_SIZE; in ZSTD_fillHashTable() local
1001 while (ip <= iend) { in ZSTD_fillHashTable()
1019 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_fast_generic() local
1020 const BYTE *const ilimit = iend - HASH_READ_SIZE; in ZSTD_compressBlock_fast_generic()
1044 mLength = ZSTD_count(ip + 1 + 4, ip + 1 + 4 - offset_1, iend) + 4; in ZSTD_compressBlock_fast_generic()
1053 mLength = ZSTD_count(ip + 4, match + 4, iend) + 4; in ZSTD_compressBlock_fast_generic()
1077 size_t const rLength = ZSTD_count(ip + 4, ip + 4 - offset_2, iend) + 4; in ZSTD_compressBlock_fast_generic()
1098 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_fast_generic()
1131 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_fast_extDict_generic() local
1132 const BYTE *const ilimit = iend - 8; in ZSTD_compressBlock_fast_extDict_generic()
[all …]
Dzstd_opt.h413 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_generic() local
414 const BYTE *const ilimit = iend - 8; in ZSTD_compressBlock_opt_generic()
453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
472 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, ip, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_generic()
557 mlen = (U32)ZSTD_count(inr + minMatch, inr + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
591 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, inr, iend, maxSearches, mls, matches, best_mlen); in ZSTD_compressBlock_opt_generic()
693 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_opt_generic()
706 const BYTE *const iend = istart + srcSize; in ZSTD_compressBlock_opt_extDict_generic() local
707 const BYTE *const ilimit = iend - 8; in ZSTD_compressBlock_opt_extDict_generic()
757 const BYTE *const repEnd = repIndex < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_opt_extDict_generic()
[all …]
Ddecompress.c797 const BYTE *const iend = istart + srcSize; in ZSTD_decodeSeqHeaders() local
813 if (ip + 2 > iend) in ZSTD_decodeSeqHeaders()
817 if (ip >= iend) in ZSTD_decodeSeqHeaders()
826 if (ip + 4 > iend) in ZSTD_decodeSeqHeaders()
836 … = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr, LLtype, MaxLL, LLFSELog, ip, iend - ip, in ZSTD_decodeSeqHeaders()
843 … ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr, OFtype, MaxOff, OffFSELog, ip, iend - ip, in ZSTD_decodeSeqHeaders()
850 … = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr, MLtype, MaxML, MLFSELog, ip, iend - ip, in ZSTD_decodeSeqHeaders()
1096 const BYTE *const iend = ip + seqSize; in ZSTD_decompressSequences() local
1124 CHECK_E(BIT_initDStream(&seqState.DStream, ip, iend - ip), corruption_detected); in ZSTD_decompressSequences()
1351 const BYTE *const iend = ip + seqSize; in ZSTD_decompressSequencesLong() local
[all …]
Dfse_compress.c361 const BYTE *const iend = ip + sourceSize; in FSE_count_parallel_wksp() local
384 while (ip < iend - 15) { in FSE_count_parallel_wksp()
418 while (ip < iend) in FSE_count_parallel_wksp()
727 const BYTE *const iend = istart + srcSize; in FSE_compress_usingCTable_generic() local
728 const BYTE *ip = iend; in FSE_compress_usingCTable_generic()
Dhuf_compress.c585 const BYTE *const iend = ip + srcSize; in HUF_compress4X_usingCTable() local
624 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, iend - ip, CTable)); in HUF_compress4X_usingCTable()
/Linux-v5.4/arch/arm64/kernel/
Dhead.S209 .macro compute_indices, vstart, vend, shift, ptrs, istart, iend, count
210 lsr \iend, \vend, \shift
213 and \iend, \iend, \istart // iend = (vend >> shift) & (ptrs - 1)
216 add \iend, \iend, \istart // iend += (count - 1) * ptrs
224 sub \count, \iend, \istart
244 .macro map_memory, tbl, rtbl, vstart, vend, flags, phys, pgds, istart, iend, tmp, count, sv
248 compute_indices \vstart, \vend, #PGDIR_SHIFT, \pgds, \istart, \iend, \count
249 populate_entries \tbl, \rtbl, \istart, \iend, #PMD_TYPE_TABLE, #PAGE_SIZE, \tmp
254 compute_indices \vstart, \vend, #PUD_SHIFT, #PTRS_PER_PUD, \istart, \iend, \count
255 populate_entries \tbl, \rtbl, \istart, \iend, #PMD_TYPE_TABLE, #PAGE_SIZE, \tmp
[all …]
/Linux-v5.4/lib/lz4/
Dlz4_decompress.c84 const BYTE * const iend = ip + srcSize; in LZ4_decompress_generic() local
98 const BYTE *const shortiend = iend - in LZ4_decompress_generic()
131 assert(!endOnInput || ip <= iend); in LZ4_decompress_generic()
192 if (unlikely(endOnInput ? ip >= iend - RUN_MASK : 0)) { in LZ4_decompress_generic()
200 ? ip < iend - RUN_MASK in LZ4_decompress_generic()
222 || (ip + length > iend - (2 + 1 + LASTLITERALS)))) in LZ4_decompress_generic()
234 && (ip + length > iend)) { in LZ4_decompress_generic()
253 && ((ip + length != iend) in LZ4_decompress_generic()
309 if ((endOnInput) && (ip > iend - LASTLITERALS)) in LZ4_decompress_generic()
Dlz4_compress.c196 const BYTE * const iend = ip + inputSize; in LZ4_compress_generic() local
197 const BYTE * const mflimit = iend - MFLIMIT; in LZ4_compress_generic()
198 const BYTE * const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()
431 size_t const lastRun = (size_t)(iend - anchor); in LZ4_compress_generic()
534 const BYTE * const iend = ip + *srcSizePtr; in LZ4_compress_destSize_generic() local
535 const BYTE * const mflimit = iend - MFLIMIT; in LZ4_compress_destSize_generic()
536 const BYTE * const matchlimit = iend - LASTLITERALS; in LZ4_compress_destSize_generic()
690 size_t lastRunSize = (size_t)(iend - anchor); in LZ4_compress_destSize_generic()
Dlz4hc_compress.c350 const BYTE * const iend = ip + inputSize; in LZ4HC_compress_generic() local
351 const BYTE * const mflimit = iend - MFLIMIT; in LZ4HC_compress_generic()
352 const BYTE * const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_generic()
556 int lastRun = (int)(iend - anchor); in LZ4HC_compress_generic()
573 memcpy(op, anchor, iend - anchor); in LZ4HC_compress_generic()
574 op += iend - anchor; in LZ4HC_compress_generic()
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_ctrl.c2239 const struct uvc_control_info *iend = info + ARRAY_SIZE(uvc_ctrls); in uvc_ctrl_init_ctrl() local
2252 for (; info < iend; ++info) { in uvc_ctrl_init_ctrl()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_sup.c3071 uint32_t istart, iend, iter, vend; in qla2x00_get_fcode_version() local
3080 iend = istart + 0x100; in qla2x00_get_fcode_version()
3085 while ((iter < iend) && !do_next) { in qla2x00_get_fcode_version()