Lines Matching refs:dict_len
118 lzo_uint dict_len;
185 void swd_initdict(lzo_swd_p s, const lzo_bytep dict, lzo_uint dict_len)
188 s->dict_len = 0;
190 if (!dict || dict_len == 0)
192 if (dict_len > s->swd_n)
194 dict += dict_len - s->swd_n;
195 dict_len = s->swd_n;
199 s->dict_len = dict_len;
200 s->dict_end = dict + dict_len;
201 lzo_memcpy(s_b(s),dict,dict_len);
202 s->ip = dict_len;
241 int swd_init(lzo_swd_p s, const lzo_bytep dict, lzo_uint dict_len)
302 swd_initdict(s,dict,dict_len);
332 if (s->look >= 2 && s->dict_len > 0)
333 swd_insertdict(s,0,s->dict_len);