Searched refs:litlen (Results 1 – 9 of 9) sorted by relevance
/external/zstd/lib/compress/ |
D | zstd_opt.c | 909 return sol.litlen + sol.mlen; in ZSTD_totalLen() 972 { U32 const litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic() local 973 U32 const ll0 = !litlen; in ZSTD_compressBlock_opt_generic() 982 opt[0].litlen = litlen; in ZSTD_compressBlock_opt_generic() 988 opt[0].price = ZSTD_litLengthPrice(litlen, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() 997 lastSequence.litlen = litlen; in ZSTD_compressBlock_opt_generic() 1024 opt[pos].litlen = litlen; in ZSTD_compressBlock_opt_generic() 1038 { U32 const litlen = (opt[cur-1].mlen == 0) ? opt[cur-1].litlen + 1 : 1; in ZSTD_compressBlock_opt_generic() local 1041 + ZSTD_litLengthPrice(litlen, optStatePtr, optLevel) in ZSTD_compressBlock_opt_generic() 1042 - ZSTD_litLengthPrice(litlen-1, optStatePtr, optLevel); in ZSTD_compressBlock_opt_generic() [all …]
|
D | zstd_compress_internal.h | 110 U32 litlen; member
|
/external/zopfli/src/zopfli/ |
D | squeeze.c | 114 typedef double CostModelFun(unsigned litlen, unsigned dist, void* context); 120 static double GetCostFixed(unsigned litlen, unsigned dist, void* unused) { in GetCostFixed() argument 123 if (litlen <= 143) return 8; in GetCostFixed() 127 int lbits = ZopfliGetLengthExtraBits(litlen); in GetCostFixed() 128 int lsym = ZopfliGetLengthSymbol(litlen); in GetCostFixed() 141 static double GetCostStat(unsigned litlen, unsigned dist, void* context) { in GetCostStat() argument 144 return stats->ll_symbols[litlen]; in GetCostStat() 146 int lsym = ZopfliGetLengthSymbol(litlen); in GetCostStat() 147 int lbits = ZopfliGetLengthExtraBits(litlen); in GetCostStat()
|
D | deflate.c | 310 unsigned litlen = litlens[i]; in AddLZ77Data() local 312 assert(litlen < 256); in AddLZ77Data() 313 assert(ll_lengths[litlen] > 0); in AddLZ77Data() 314 AddHuffmanBits(ll_symbols[litlen], ll_lengths[litlen], bp, out, outsize); in AddLZ77Data() 317 unsigned lls = ZopfliGetLengthSymbol(litlen); in AddLZ77Data() 319 assert(litlen >= 3 && litlen <= 288); in AddLZ77Data() 323 AddBits(ZopfliGetLengthExtraBitsValue(litlen), in AddLZ77Data() 324 ZopfliGetLengthExtraBits(litlen), in AddLZ77Data() 330 testlength += litlen; in AddLZ77Data()
|
/external/lz4/lib/ |
D | lz4hc.c | 1220 int litlen; member 1224 LZ4_FORCE_INLINE int LZ4HC_literalsPrice(int const litlen) in LZ4HC_literalsPrice() argument 1226 int price = litlen; in LZ4HC_literalsPrice() 1227 assert(litlen >= 0); in LZ4HC_literalsPrice() 1228 if (litlen >= (int)RUN_MASK) in LZ4HC_literalsPrice() 1229 price += 1 + ((litlen-(int)RUN_MASK) / 255); in LZ4HC_literalsPrice() 1235 LZ4_FORCE_INLINE int LZ4HC_sequencePrice(int litlen, int mlen) in LZ4HC_sequencePrice() argument 1238 assert(litlen >= 0); in LZ4HC_sequencePrice() 1241 price += LZ4HC_literalsPrice(litlen); in LZ4HC_sequencePrice() 1334 opt[rPos].litlen = llen + rPos; in LZ4HC_compress_optimal() [all …]
|
/external/toybox/lib/ |
D | deflate.c | 236 int i, litlen, distlen, hufflen; in inflate() local 241 litlen = bitbuf_get(bb, 5)+257; // max 288 in inflate() 254 for (i = 0; i < litlen + distlen;) { in inflate() 268 if (i > litlen+distlen) error_exit("bad tree"); in inflate() 270 len2huff(lithuff = h2, bits, litlen); in inflate() 271 len2huff(disthuff = ((struct huff *)libbuf)+2, bits+litlen, distlen); in inflate()
|
/external/rust/crates/libz-sys/src/zlib/contrib/blast/ |
D | blast.c | 299 static const unsigned char litlen[] = { in decomp() local 317 construct(&litcode, litlen, sizeof(litlen)); in decomp()
|
/external/zstd/lib/legacy/ |
D | zstd_v06.c | 571 U32 litlen; member
|
D | zstd_v07.c | 2806 U32 litlen; member
|