Searched refs:ush (Results 1 - 14 of 14) sorted by relevance

/freebsd-10.0-release/lib/libz/
H A Ddeflate.h67 ush freq; /* frequency count */
68 ush code; /* bit string */
71 ush dad; /* father node in Huffman tree */
72 ush len; /* length of bit string */
89 typedef ush Pos;
203 ush bl_count[MAX_BITS+1];
257 ush bi_buf;
332 ush dist = (distance); \
H A Dtrees.c178 put_byte(s, (uch)((ush)(w) >> 8)); \
202 s->bi_buf |= (ush)value << s->bi_valid;
204 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
207 s->bi_buf |= (ush)value << s->bi_valid;
217 s->bi_buf |= (ush)val << s->bi_valid;\
219 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
222 s->bi_buf |= (ush)(value) << s->bi_valid;\
243 ush bl_count[MAX_BITS+1];
502 ush f; /* frequency */
516 tree[n].Len = (ush)bit
[all...]
H A Dzutil.c230 if (*(ush*)&buf != 0) return buf;
238 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
239 *(ush*)&buf = 0;
247 if (*(ush*)&ptr != 0) { /* object < 64K */
H A Dzutil.h43 typedef unsigned short ush; typedef
44 typedef ush FAR ushf;
H A Ddeflate.c118 ush good_length; /* reduce lazy search above this match length */
119 ush max_lazy; /* do not perform lazy search above this match length */
120 ush nice_length; /* quit search above this match length */
121 ush max_chain;
301 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
303 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
312 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
313 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
480 s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid);
1043 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/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;
240 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
241 *(ush*)&buf = 0;
249 if (*(ush*)&ptr != 0) { /* object < 64K */
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];
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)nod
[all...]
H A Dzutil.h54 typedef unsigned short ush; typedef
55 typedef ush FAR ushf;
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)
[all...]
/freebsd-10.0-release/sys/kern/
H A Dinflate.c28 #define ush u_short macro
107 c10 17 Oct 92 G. Roelofs changed ULONG/UWORD/byte to ulg/ush/uch,
247 typedef unsigned short ush;
268 ush n; /* literal, length base, or distance
276 static int huft_build(struct inflate *, unsigned *, unsigned, unsigned, const ush *, const ush *, struct huft **, int *);
301 static const ush cplens[] = { /* Copy lengths for literal codes 257..285 */
306 static const ush cplext[] = { /* Extra bits for literal codes 257..285 */
310 static const ush cpdist[] = { /* Copy offsets for distance codes 0..29 */
315 static const ush cpdex
[all...]
/freebsd-10.0-release/sys/net/
H A Dzlib.c100 typedef unsigned short ush; typedef
101 typedef ush FAR ushf;
322 ush freq; /* frequency count */
323 ush code; /* bit string */
326 ush dad; /* father node in Huffman tree */
327 ush len; /* length of bit string */
344 typedef ush Pos;
457 ush bl_count[MAX_BITS+1];
511 ush bi_buf;
669 ush good_lengt
[all...]
H A Dzutil.h67 typedef unsigned short ush; typedef
68 typedef ush FAR ushf;
/freebsd-10.0-release/sys/vm/
H A Duma_core.c3237 struct uma_stream_header ush; local
3264 bzero(&ush, sizeof(ush));
3265 ush.ush_version = UMA_STREAM_VERSION;
3266 ush.ush_maxcpus = (mp_maxid + 1);
3267 ush.ush_count = count;
3268 (void)sbuf_bcat(&sbuf, &ush, sizeof(ush));

Completed in 204 milliseconds