Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/zlib/
H A Ddeflate.h236 uInt last_lit; /* running index in l_buf */ member
321 s->d_buf[s->last_lit] = 0; \
322 s->l_buf[s->last_lit++] = cc; \
324 flush = (s->last_lit == s->lit_bufsize-1); \
329 s->d_buf[s->last_lit] = dist; \
330 s->l_buf[s->last_lit++] = len; \
334 flush = (s->last_lit == s->lit_bufsize-1); \
H A Dtrees.c427 s->last_lit = s->matches = 0;
964 s->last_lit));
1031 s->d_buf[s->last_lit] = (ush)dist;
1032 s->l_buf[s->last_lit++] = (uch)lc;
1050 if ((s->last_lit & 0x1fff) == 0 && s->level > 2) {
1052 ulg out_length = (ulg)s->last_lit*8L;
1061 s->last_lit, in_length, out_length,
1063 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
1066 return (s->last_lit == s->lit_bufsize-1);
1087 if (s->last_lit != 0) do {
[all …]
/openbmc/linux/lib/zlib_deflate/
H A Ddeftree.c285 s->last_lit = s->matches = 0; in init_block()
841 s->last_lit));
921 s->d_buf[s->last_lit] = (ush)dist;
922 s->l_buf[s->last_lit++] = (uch)lc;
939 if ((s->last_lit & 0xfff) == 0 && s->level > 2) {
941 ulg out_length = (ulg)s->last_lit*8L;
950 s->last_lit, in_length, out_length,
952 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
954 return (s->last_lit == s->lit_bufsize-1);
976 if (s->last_lit != 0) do {
[all …]
H A Ddefutil.h214 uInt last_lit; /* running index in l_buf */ member