Home
last modified time | relevance | path

Searched refs:ush (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/uts/common/zmod/
H A Ddeflate.h64 ush freq; /* frequency count */
65 ush code; /* bit string */
68 ush dad; /* father node in Huffman tree */
69 ush len; /* length of bit string */
86 typedef ush Pos;
200 ush bl_count[MAX_BITS+1];
254 ush bi_buf;
317 ush dist = (distance); \
H A Dzutil.c232 if (*(ush*)&buf != 0) return buf; in zcalloc()
240 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
241 *(ush*)&buf = 0; in zcalloc()
249 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
H A Dtrees.c182 put_byte(s, (uch)((ush)(w) >> 8)); \
208 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
223 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
247 ush bl_count[MAX_BITS+1]; in tr_static_init()
504 ush f; /* frequency */
518 tree[n].Len = (ush)bits;
562 tree[m].Len = (ush)bits;
582 ush next_code[MAX_BITS+1]; /* next code value for each bit length */
583 ush code = 0; /* running code value */
679 tree[n].Dad = tree[m].Dad = (ush)node;
[all …]
H A Ddeflate.c129 ush good_length; /* reduce lazy search above this match length */
130 ush max_lazy; /* do not perform lazy search above this match length */
131 ush nice_length; /* quit search above this match length */
132 ush max_chain;
299 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
301 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
310 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
311 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
417 strm->state->bi_buf = (ush)(value & ((1 << bits) - 1));
929 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
[all …]
H A Dzutil.h54 typedef unsigned short ush; typedef
55 typedef ush FAR ushf;
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Dgunzip.c260 typedef unsigned short ush; typedef
351 ush n; /* literal, length base, or distance base */
379 static ush cplens[] =
384 static ush cplext[] =
388 static ush cpdist[] =
393 static ush cpdext[] =
478 static ush mask_bits[] =
530 static int huft_build (unsigned *, unsigned, unsigned, ush *, ush *,
545 ush * d, /* list of base values for non-simple codes */ in huft_build()
546 ush * e, /* list of extra bits for non-simple codes */ in huft_build()
[all …]
/titanic_50/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c101 typedef unsigned short ush; typedef
102 typedef ush FAR ushf;
331 ush freq; /* frequency count */
332 ush code; /* bit string */
335 ush dad; /* father node in Huffman tree */
336 ush len; /* length of bit string */
353 typedef ush Pos;
483 ush bl_count[MAX_BITS+1];
551 ush bi_buf;
616 ush dist = (distance); \
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c48 typedef unsigned short ush; typedef
49 typedef ush FAR ushf;
186 ush freq; /* frequency count */
187 ush code; /* bit string */
190 ush dad; /* father node in Huffman tree */
191 ush len; /* length of bit string */
208 typedef ush Pos;
321 ush bl_count[MAX_BITS+1];
375 ush bi_buf;
498 ush good_length; /* reduce lazy search above this match length */
[all …]