Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
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); \
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()
243 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
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.h57 typedef unsigned short ush; typedef
58 typedef ush FAR ushf;
Ddeflate.c124 ush good_length; /* reduce lazy search above this match length */
125 ush max_lazy; /* do not perform lazy search above this match length */
126 ush nice_length; /* quit search above this match length */
127 ush max_chain;
293 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
295 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
304 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
305 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
411 strm->state->bi_buf = (ush)(value & ((1 << bits) - 1));
923 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
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); \
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]; in tr_static_init()
502 ush f; /* frequency */
516 tree[n].Len = (ush)bits;
[all …]
Dzutil.c230 if (*(ush*)&buf != 0) return buf; in zcalloc()
238 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
239 *(ush*)&buf = 0; in zcalloc()
247 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
Dzutil.h43 typedef unsigned short ush; typedef
44 typedef ush FAR ushf;
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)+2);
[all …]
DChangeLog513 - Add ush casts in trees.c to avoid pedantic runtime errors
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
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()
Dzutil.h45 typedef unsigned short ush; typedef
46 typedef ush FAR ushf;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/zlib/
Dzutil.h57 typedef unsigned short ush; typedef
58 typedef ush FAR ushf;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/
Dzutil.h46 typedef unsigned short ush; typedef
47 typedef ush FAR ushf;