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.c131 ush max_chain;
202 ush *overlay; in zlib_deflateInit2()
267 overlay = (ush *) mem->overlay_memory; in zlib_deflateInit2()
589 register ush scan_start = *(ush*)scan; in longest_match()
590 register ush scan_end = *(ush*)(scan+best_len-1); in longest_match()
625 *(ush*)match != scan_start) continue; in longest_match()
639 } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
640 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
641 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
642 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
[all …]
H A Ddeftree.c179 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()
544 tree[n].Dad = tree[m].Dad = (ush)node; in build_tree()
921 s->d_buf[s->last_lit] = (ush)dist;
930 Assert((ush)dist < (ush)MAX_DIST(s) &&
931 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
932 (ush)d_code(dist) < (ush)D_CODES, "zlib_tr_tally: bad match");
1046 put_short(s, (ush)len);
[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)); \
248 ush bl_count[MAX_BITS+1]; in tr_static_init()
508 ush f; /* frequency */
522 tree[n].Len = (ush)bits;
566 tree[m].Len = (ush)bits;
1031 s->d_buf[s->last_lit] = (ush)dist;
1040 Assert((ush)dist < (ush)MAX_DIST(s) &&
1041 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
1042 (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match");
1232 put_short(s, (ush)len);
[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 */
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));
972 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
1084 register ush scan_start = *(ushf*)scan;
[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