Home
last modified time | relevance | path

Searched refs:ML_MASK (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/lib/
Dlz4.c44 #define ML_MASK ((1U<<ML_BITS)-1) macro
156 length = token & ML_MASK; in LZ4_decompress_generic()
157 if (length == ML_MASK) in LZ4_decompress_generic()
/external/lz4/lib/
Dlz4.c313 #define ML_MASK ((1U<<ML_BITS)-1) macro
897 if (matchCode >= ML_MASK) { in LZ4_compress_generic()
898 *token += ML_MASK; in LZ4_compress_generic()
899 matchCode -= ML_MASK; in LZ4_compress_generic()
1472 length = token & ML_MASK; /* match length */ in LZ4_decompress_generic()
1478 if ( (length != ML_MASK) in LZ4_decompress_generic()
1538 length = token & ML_MASK; in LZ4_decompress_generic()
1548 if (length == ML_MASK) { in LZ4_decompress_generic()
Dlz4hc.c69 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
462 if (length >= ML_MASK) { in LZ4HC_encodeSequence()
463 *token += ML_MASK; in LZ4HC_encodeSequence()
464 length -= ML_MASK; in LZ4HC_encodeSequence()
1118 if (mlen >= (int)(ML_MASK+MINMATCH)) in LZ4HC_sequencePrice()
1119 price += 1 + (mlen-(ML_MASK+MINMATCH))/255; in LZ4HC_sequencePrice()