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)); \
241 ush bl_count[MAX_BITS+1]; in tr_static_init()
500 ush f; /* frequency */
514 tree[n].Len = (ush)bits;
557 tree[m].Len = (ush)bits;
587 next_code[bits] = (ush)code;
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
1030 Assert((ush)dist < (ush)MAX_DIST(s) &&
1031 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
[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;
351 typedef ush Pos;
549 ush bi_buf;
760 ush max_chain;
2668 ush f; /* frequency */
3317 Assert((ush)dist < (ush)MAX_DIST(s) &&
3318 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
3319 (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match");
5970 *((ush *)&buf+1) += ((ush)((uch *)buf-0) + 15) >> 4; in zcalloc()
[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;
208 typedef ush Pos;
321 ush bl_count[MAX_BITS+1];
375 ush bi_buf;
501 ush max_chain;
1677 ush bl_count[MAX_BITS+1]; in ct_static_init()
2417 Assert((ush)dist < (ush)MAX_DIST(s) &&
2418 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
2419 (ush)d_code(dist) < (ush)D_CODES, "ct_tally: bad match");
[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()
1275 ush code; /* bit string */
1296 typedef ush Pos;
1410 ush bl_count[MAX_BITS+1];
1464 ush bi_buf;
[all …]