Home
last modified time | relevance | path

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

/netbsd/src/common/dist/zlib/
Ddeflate.h76 ush freq; /* frequency count */
77 ush code; /* bit string */
80 ush dad; /* father node in Huffman tree */
81 ush len; /* length of bit string */
98 typedef ush Pos;
212 ush bl_count[MAX_BITS+1];
268 ush bi_buf;
344 ush dist = (ush)(distance); \
363 ush dist = (ush)(distance); \
Dtrees.c148 put_byte(s, (uch)((ush)(w) >> 8)); \
205 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ in gen_codes()
215 next_code[bits] = (ush)code; in gen_codes()
228 tree[n].Code = (ush)bi_reverse(next_code[len]++, len); in gen_codes()
264 s->bi_buf |= (ush)value << s->bi_valid; in send_bits()
266 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); in send_bits()
269 s->bi_buf |= (ush)value << s->bi_valid; in send_bits()
279 s->bi_buf |= (ush)val << s->bi_valid;\
281 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
284 s->bi_buf |= (ush)(value) << s->bi_valid;\
[all …]
Dzutil.c215 if (*(ush*)&buf != 0) return buf; in zcalloc()
223 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
224 *(ush*)&buf = 0; in zcalloc()
234 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
Dzutil.h47 typedef unsigned short ush; typedef
48 typedef ush FAR ushf;
Ddeflate.c101 ush good_length; /* reduce lazy search above this match length */
102 ush max_lazy; /* do not perform lazy search above this match length */
103 ush nice_length; /* quit search above this match length */
104 ush max_chain;
744 s->bi_buf |= (ush)((value & ((1 << put) - 1)) << s->bi_valid); in deflatePrime()
1370 register ush scan_start = *(ushf*)scan; in longest_match()
1371 register ush scan_end = *(ushf*)(scan + best_len - 1); in longest_match()
DChangeLog659 - Add ush casts in trees.c to avoid pedantic runtime errors
/netbsd/src/external/cddl/osnet/dist/uts/common/zmod/
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); \
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 …]
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()
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 …]
Dzutil.h54 typedef unsigned short ush; typedef
55 typedef ush FAR ushf;
/netbsd/src/sys/net/
Dzlib.c98 typedef unsigned short ush; typedef
99 typedef ush FAR ushf;
338 ush freq; /* frequency count */
339 ush code; /* bit string */
342 ush dad; /* father node in Huffman tree */
343 ush len; /* length of bit string */
360 typedef ush Pos;
473 ush bl_count[MAX_BITS+1];
527 ush bi_buf;
591 ush dist = (distance); \
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/src/
Drint.c211 int ush; in mpfr_rint() local
224 ush = idiff == 0 ? 0 : GMP_NUMB_BITS - idiff; in mpfr_rint()
226 if (rj == 0 && ush < sh) in mpfr_rint()
232 (MPFR_LIMB_ONE << ush))) != 0) in mpfr_rint()
236 sh = ush; in mpfr_rint()
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtfprintf.c158 unsigned short ush = 1; in check_mixed() local
203 check_vfprintf (fout, "a. %hi, b. %*f, c. %Re%hn", ush, 3, f, mpfr, &ush); in check_mixed()
204 check_length (3, ush, 45 + DPLEN, hu); in check_mixed()
Dtprintf.c285 unsigned short ush = 1; in check_mixed() local
324 check_vprintf ("a. %hi, b. %*f, c. %Re%hn", ush, 3, f, mpfr, &ush); in check_mixed()
325 check_length (3, ush, 45 + DPLEN, hu); in check_mixed()
/netbsd/src/external/gpl3/binutils/dist/gas/
DChangeLog-20162325 * testsuite/gas/mips/ush.d: Likewise.
/netbsd/src/external/gpl3/binutils/dist/
Dsha256.sum12132 a9f7966b81abd2c46076a2765a37e3a3c216e16f7ac503691bce970657e8900c gas/testsuite/gas/mips/ush.d
12133 57dfac439a27d9dcf2c7f4b5dbd8819a8deb41177751c0dd4a42bf93dd55b308 gas/testsuite/gas/mips/ush.s
/netbsd/src/share/dict/
Dweb2226665 ush