Home
last modified time | relevance | path

Searched refs:litlen (Results 1 – 4 of 4) sorted by relevance

/external/zopfli/src/zopfli/
Dsqueeze.c114 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()
Ddeflate.c310 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/toybox/toys/pending/
Dcompress.c338 int i, litlen, distlen, hufflen; in inflate() local
343 litlen = bitbuf_get(bb, 5)+257; // max 288 in inflate()
356 for (i = 0; i < litlen + distlen;) { in inflate()
370 if (i > litlen+distlen) error_exit("bad tree"); in inflate()
372 len2huff(lithuff = h2, bits, litlen); in inflate()
373 len2huff(disthuff = ((struct huff *)toybuf)+2, bits+litlen, distlen); in inflate()
/external/zlib/src/contrib/blast/
Dblast.c295 static const unsigned char litlen[] = { in decomp() local
313 construct(&litcode, litlen, sizeof(litlen)); in decomp()