Home
last modified time | relevance | path

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

/openbmc/linux/lib/zlib_deflate/
H A Ddefutil.h44 ush freq; /* frequency count */
45 ush code; /* bit string */
48 ush dad; /* father node in Huffman tree */
49 ush len; /* length of bit string */
66 typedef ush Pos;
178 ush bl_count[MAX_BITS+1];
216 ush *d_buf;
232 ush bi_buf;
255 ((1 << ((memLevel)+6)) * (sizeof(ush)+2))
290 put_byte(s, (uch)((ush)(w) >> 8)); \
[all …]
H A Ddeflate.c128 ush good_length; /* reduce lazy search above this match length */
129 ush max_lazy; /* do not perform lazy search above this match length */
130 ush nice_length; /* quit search above this match length */
131 ush max_chain;
202 ush *overlay; in zlib_deflateInit2()
267 overlay = (ush *) mem->overlay_memory; in zlib_deflateInit2()
269 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L); in zlib_deflateInit2()
271 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); in zlib_deflateInit2()
272 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize; in zlib_deflateInit2()
589 register ush scan_start = *(ush*)scan; in longest_match()
[all …]
H A Ddeftree.c135 static void gen_codes (ct_data *tree, int max_code, ush *bl_count);
179 ush bl_count[MAX_BITS+1]; in tr_static_init()
368 ush f; /* frequency */ in gen_bitlen()
382 tree[n].Len = (ush)bits; in gen_bitlen()
426 tree[m].Len = (ush)bits; in gen_bitlen()
444 ush *bl_count /* number of codes at each bit length */ in gen_codes()
447 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ in gen_codes()
448 ush code = 0; /* running code value */ in gen_codes()
544 tree[n].Dad = tree[m].Dad = (ush)node; in build_tree()
587 tree[max_code+1].Len = (ush)0xffff; /* guard */ in scan_tree()
[all …]
/openbmc/u-boot/lib/zlib/
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;
328 ush dist = (distance); \
H A Dtrees.c183 put_byte(s, (uch)((ush)(w) >> 8)); \
207 s->bi_buf |= (ush)value << s->bi_valid;
209 s->bi_buf = (ush)value >> (Buf_size - s->bi_valid);
212 s->bi_buf |= (ush)value << s->bi_valid;
222 s->bi_buf |= (ush)val << s->bi_valid;\
224 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\
227 s->bi_buf |= (ush)(value) << s->bi_valid;\
248 ush bl_count[MAX_BITS+1]; in tr_static_init()
508 ush f; /* frequency */
522 tree[n].Len = (ush)bits;
[all …]
H A Dzutil.h49 typedef unsigned short ush; typedef
50 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;
289 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
291 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
300 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
301 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
407 strm->state->bi_buf = (ush)(value & ((1 << bits) - 1));
957 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
[all …]
/openbmc/linux/block/partitions/
H A Dsun.c26 __be16 *ush; in sun_partition() local
83 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
84 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
85 csum ^= *ush--; in sun_partition()
/openbmc/linux/lib/
H A Dinflate.c143 ush n; /* literal, length base, or distance base */
151 const ush *, const ush *, struct huft **, int *));
176 static const ush cplens[] = { /* Copy lengths for literal codes 257..285 */
180 static const ush cplext[] = { /* Extra bits for literal codes 257..285 */
183 static const ush cpdist[] = { /* Copy offsets for distance codes 0..29 */
187 static const ush cpdext[] = { /* Extra bits for distance codes */
227 STATIC const ush mask_bits[] = {
326 const ush *d, /* list of base values for non-simple codes */ in huft_build()
327 const ush *e, /* list of extra bits for non-simple codes */ in huft_build()
524 r.v.n = (ush)(*p); /* simple code is just the value */ in huft_build()
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A D19-cve-2016-9844-zipinfo-buffer-overflow.patch14 ush dnum=(ush)((G.crec.general_purpose_bit_flag>>1) & 3);
H A DCVE-2015-7696.patch31 + if ((b = NEXTBYTE) == (ush)EOF)
H A Dcve-2014-9636.patch29 + ush method;
H A DCVE-2019-13232_p3.patch105 ush zipfile_comment_length;
/openbmc/linux/include/linux/
H A Dzutil.h21 typedef unsigned short ush; typedef
/openbmc/linux/arch/alpha/boot/
H A Dmisc.c39 typedef unsigned short ush; typedef
/openbmc/linux/arch/nios2/boot/compressed/
H A Dmisc.c30 typedef unsigned short ush; typedef