Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.h68 ush freq; /* frequency count */
69 ush code; /* bit string */
72 ush dad; /* father node in Huffman tree */
73 ush len; /* length of bit string */
90 typedef ush Pos;
204 ush bl_count[MAX_BITS+1];
253 ush bi_buf;
329 ush dist = (ush)(distance); \
H A Dtrees.c176 put_byte(s, (uch)((ush)(w) >> 8)); \
200 s->bi_buf |= (ush)value << s->bi_valid;
202 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
205 s->bi_buf |= (ush)value << s->bi_valid;
215 s->bi_buf |= (ush)val << s->bi_valid;\
217 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
220 s->bi_buf |= (ush)(value) << s->bi_valid;\
241 ush bl_count[MAX_BITS+1]; in tr_static_init()
500 ush f; /* frequency */
514 tree[n].Len = (ush)bits;
[all …]
H A Dzutil.c226 if (*(ush*)&buf != 0) return buf; in zcalloc()
234 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
235 *(ush*)&buf = 0; in zcalloc()
246 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
H A Dzutil.h39 typedef unsigned short ush; typedef
40 typedef ush FAR ushf;
H A Ddeflate.c119 ush good_length; /* reduce lazy search above this match length */
120 ush max_lazy; /* do not perform lazy search above this match length */
121 ush nice_length; /* quit search above this match length */
122 ush max_chain;
597 s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid);
1297 register ush scan_start = *(ushf*)scan;
1298 register ush scan_end = *(ushf*)(scan+best_len-1);
H A DChangeLog619 - Add ush casts in trees.c to avoid pedantic runtime errors
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c99 typedef unsigned short ush; typedef
100 typedef ush FAR ushf;
329 ush freq; /* frequency count */
330 ush code; /* bit string */
333 ush dad; /* father node in Huffman tree */
334 ush len; /* length of bit string */
351 typedef ush Pos;
481 ush bl_count[MAX_BITS+1];
549 ush bi_buf;
614 ush dist = (distance); \
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c598 typedef unsigned short ush; typedef
599 typedef ush FAR ushf;
896 if (*(ush*)&buf != 0) return buf; in zcalloc()
904 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
905 *(ush*)&buf = 0; in zcalloc()
913 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
1274 ush freq; /* frequency count */
1275 ush code; /* bit string */
1278 ush dad; /* father node in Huffman tree */
1279 ush len; /* length of bit string */
[all …]