Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 5 of 5) sorted by relevance

/lib/zstd/
Dzstd_opt.h206 opt[pos].mlen = mlen_; \
441 U32 u, mlen, best_mlen, best_off, litLength; in ZSTD_compressBlock_opt_generic() local
453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
454 if (mlen > sufficient_len || mlen >= ZSTD_OPT_NUM) { in ZSTD_compressBlock_opt_generic()
455 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
464 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic()
465 SET_PRICE(mlen, mlen, i, litlen, price); /* note : macro modifies last_pos */ in ZSTD_compressBlock_opt_generic()
466 mlen--; in ZSTD_compressBlock_opt_generic()
467 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
[all …]
Dzstd_internal.h167 U32 mlen; member
/lib/
Ddigsig.c73 unsigned long mlen, mblen; in digsig_verify_rsa() local
121 mlen = DIV_ROUND_UP(mblen, 8); in digsig_verify_rsa()
123 if (mlen == 0) { in digsig_verify_rsa()
130 out1 = kzalloc(mlen, GFP_KERNEL); in digsig_verify_rsa()
149 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) { in digsig_verify_rsa()
160 len = mlen; in digsig_verify_rsa()
Dbch.c194 unsigned int i, mlen; in encode_bch() local
217 mlen = (len < (4-m)) ? len : 4-m; in encode_bch()
218 encode_bch_unaligned(bch, data, mlen, bch->ecc_buf); in encode_bch()
219 data += mlen; in encode_bch()
220 len -= mlen; in encode_bch()
225 mlen = len/4; in encode_bch()
226 data += 4*mlen; in encode_bch()
227 len -= 4*mlen; in encode_bch()
241 while (mlen--) { in encode_bch()
/lib/lz4/
Dlz4_decompress.c377 size_t const mlen = min(length, (size_t)(oend - op)); in LZ4_decompress_generic() local
378 const BYTE * const matchEnd = match + mlen; in LZ4_decompress_generic()
379 BYTE * const copyEnd = op + mlen; in LZ4_decompress_generic()
386 memcpy(op, match, mlen); in LZ4_decompress_generic()