Searched refs:MINMATCH (Results 1 – 16 of 16) sorted by relevance
/external/lz4/lib/ |
D | lz4hc.c | 75 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH) 82 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG)) 291 … matchLength = MINMATCH + (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch() 306 matchLength = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch() 322 int const end = longest - MINMATCH + 1; in LZ4HC_InsertAndGetWiderMatch() 432 mlt = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch() 461 …return LZ4HC_InsertAndGetWiderMatch(hc4, ip, ip, iLimit, MINMATCH-1, matchpos, &uselessPtr, maxNbA… in LZ4HC_InsertAndFindBestMatch() 527 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence() 528 length = (size_t)matchLength - MINMATCH; in LZ4HC_encodeSequence() 594 if (ml<MINMATCH) { ip++; continue; } in LZ4HC_compress_hashChain() [all …]
|
D | lz4.c | 240 #define MINMATCH 4 macro 245 #define MATCH_SAFEGUARD_DISTANCE ((2*WILDCOPYLENGTH) - MINMATCH) /* ensure it's possible to writ… 518 assert(dstEnd >= dstPtr + MINMATCH); in LZ4_memcpy_using_offset() 759 return ((sequence * 2654435761U) >> ((MINMATCH*8)-(LZ4_HASHLOG+1))); in LZ4_hash4() 761 return ((sequence * 2654435761U) >> ((MINMATCH*8)-LZ4_HASHLOG)); in LZ4_hash4() 1047 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated() 1090 …+ litLength /* literals */ + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last liter… in LZ4_compress_generic_validated() 1119 …(op + 2 /* offset */ + 1 /* token */ + MFLIMIT - MINMATCH /* min last literals so last match is <=… in LZ4_compress_generic_validated() 1144 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic_validated() 1145 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic_validated() [all …]
|
/external/zstd/lib/common/ |
D | zstd_internal.h | 103 #define MINMATCH 3 macro 331 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
|
/external/zstd/lib/compress/ |
D | zstd_opt.c | 305 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 306 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 355 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() 969 || candidateMatchLength < MINMATCH) { in ZSTD_optLdm_maybeAddMatch()
|
D | zstd_compress_sequences.c | 342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
D | zstd_compress_internal.h | 646 assert(matchLength >= MINMATCH); in ZSTD_storeSeq() 647 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeq()
|
D | zstd_lazy.c | 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 370 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|
D | zstd_compress.c | 2915 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3388 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 5774 RETURN_ERROR_IF(matchLength < MINMATCH, corruption_detected, "Matchlength too small"); in ZSTD_validateSequence()
|
/external/zstd/contrib/match_finders/ |
D | zstd_edist.c | 426 if (combinedMatches[nbCombinedMatches - 1].matchLength < MINMATCH) { in ZSTD_eDist_combineMatches()
|
/external/zstd/lib/legacy/ |
D | zstd_v01.c | 1325 #define MINMATCH 4 macro 1744 matchLength += MINMATCH; in ZSTD_decodeSequence() 1813 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
D | zstd_v04.c | 365 #define MINMATCH 4 macro 2855 matchLength += MINMATCH; in ZSTD_decodeSequence() 2908 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTD_execSequence() 2932 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
D | zstd_v05.c | 466 #define MINMATCH 4 macro 3204 matchLength += MINMATCH; in ZSTDv05_decodeSequence() 3264 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv05_execSequence() 3287 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
|
D | zstd_v06.c | 491 #define MINMATCH 3 macro 3346 …seq->matchLength = ML_base[mlCode] + MINMATCH + ((mlCode>31) ? BITv06_readBits(&(seqState->DStream… in ZSTDv06_decodeSequence() 3398 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv06_execSequence() 3423 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
|
D | zstd_v03.c | 2360 #define MINMATCH 4 macro 2734 matchLength += MINMATCH; in ZSTD_decodeSequence() 2794 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
D | zstd_v02.c | 2719 #define MINMATCH 4 macro 3093 matchLength += MINMATCH; in ZSTD_decodeSequence() 3153 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
D | zstd_v07.c | 2725 #define MINMATCH 3 macro 3625 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence() 3650 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
|