Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Ddeflate.h70 ush freq; /* frequency count */
71 ush code; /* bit string */
74 ush dad; /* father node in Huffman tree */
75 ush len; /* length of bit string */
92 typedef ush Pos;
206 ush bl_count[MAX_BITS+1];
260 ush bi_buf;
335 ush dist = (ush)(distance); \
A Dtrees.c176 put_byte(s, (uch)((ush)(w) >> 8)); \
241 ush bl_count[MAX_BITS+1]; in tr_static_init()
500 ush f; /* frequency */
514 tree[n].Len = (ush)bits;
587 next_code[bits] = (ush)code;
871 put_short(s, (ush)stored_len);
872 put_short(s, (ush)~stored_len);
1019 s->d_buf[s->last_lit] = (ush)dist;
1028 Assert((ush)dist < (ush)MAX_DIST(s) &&
1029 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
[all …]
A 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()
250 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
A Dzutil.h45 typedef unsigned short ush; typedef
46 typedef ush FAR ushf;
A Ddeflate.c121 ush good_length; /* reduce lazy search above this match length */
123 ush nice_length; /* quit search above this match length */
124 ush max_chain;
329 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
331 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
340 s->d_buf = overlay + s->lit_bufsize/sizeof(ush);
341 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
1146 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
1147 ds->l_buf = ds->pending_buf + (1+sizeof(ush))*ds->lit_bufsize;
1259 register ush scan_start = *(ushf*)scan;
[all …]
A DChangeLog556 - Add ush casts in trees.c to avoid pedantic runtime errors
/AliOS-Things-master/components/py_engine/external/unzip/internal/
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); \
A Dzutil.h39 typedef unsigned short ush; typedef
40 typedef ush FAR ushf;
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Drpng-x.c110 ush temp = ((ush)(fg)*(ush)(alpha) + \
111 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
787 ush red, green, blue; in rpng_x_display_image()
794 red = ((ush)(*src) << 8); in rpng_x_display_image()
796 green = ((ush)(*src) << 8); in rpng_x_display_image()
814 red = ((ush)r << 8); in rpng_x_display_image()
815 green = ((ush)g << 8); in rpng_x_display_image()
816 blue = ((ush)b << 8); in rpng_x_display_image()
828 red = ((ush)r << 8); in rpng_x_display_image()
829 green = ((ush)g << 8); in rpng_x_display_image()
[all …]
A Drpng2-x.c170 ush temp = ((ush)(fg)*(ush)(alpha) + \
171 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
264 ush type;
1346 ush red, green, blue; in rpng2_x_load_bg_image()
1508 ush red, green, blue; in rpng2_x_display_row()
1541 red = ((ush)r << 8); in rpng2_x_display_row()
1542 green = ((ush)g << 8); in rpng2_x_display_row()
1543 blue = ((ush)b << 8); in rpng2_x_display_row()
1555 red = ((ush)r << 8); in rpng2_x_display_row()
1556 green = ((ush)g << 8); in rpng2_x_display_row()
[all …]
A Drpng-win.c128 ush temp = ((ush)(fg)*(ush)(alpha) + \
129 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
A Dreadpng.h73 typedef unsigned short ush; typedef
A Drpng2-win.c157 ush temp = ((ush)(fg)*(ush)(alpha) + \
158 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
238 ush type;
A Dreadpng2.h79 typedef unsigned short ush; typedef
A Dwritepng.h87 typedef unsigned short ush; typedef
/AliOS-Things-master/components/freetype/src/gzip/
A Dzutil.c93 if (*(ush*)&buf != 0) return buf; in zcalloc()
101 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
102 *(ush*)&buf = 0; in zcalloc()
110 if (*(ush*)&ptr != 0) { /* object < 64K */ in zcfree()
A Dzutil.h36 typedef unsigned short ush; typedef
37 typedef ush FAR ushf;
/AliOS-Things-master/components/py_engine/external/unzip/src/
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 …]
A 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()
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));
974 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
1086 register ush scan_start = *(ushf*)scan;
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dmsa_macro.h129 MSA_STORE_FUNC(uint16_t, ush, msa_ush);

Completed in 37 milliseconds