Searched refs:uch (Results 1 - 25 of 52) sorted by relevance

123

/external/libpng/contrib/gregbook/
H A Dreadpng.h72 typedef unsigned char uch; typedef
83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue);
85 uch *readpng_get_image(double display_exponent, int *pChannels,
H A Dreadpng2.h78 typedef unsigned char uch; typedef
91 uch *image_data;
92 uch **row_pointers;
100 uch bg_red;
101 uch bg_green;
102 uch bg_blue;
110 int readpng2_check_sig(uch *sig, int num);
114 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length);
H A Dreadppm.c69 uch *image_data = NULL;
83 static uch ppmline[256];
133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
143 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
H A Dwritepng.h86 typedef unsigned char uch; typedef
99 uch *image_data;
100 uch **row_pointers;
115 uch bg_red;
116 uch bg_green;
117 uch bg_blue;
H A Dreadpng.c74 uch *image_data = NULL;
90 uch sig[8];
155 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
194 *red = (uch)pBackground->red;
195 *green = (uch)pBackground->green;
196 *blue = (uch)pBackground->blue;
207 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
266 if ((image_data = (uch *)mallo
[all...]
H A Drpng2-win.c137 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
158 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
186 static uch inbuf[INBUFSIZE];
193 static uch *bg_data;
196 uch r, g, b;
263 static uch *dib;
264 static uch *wimage_data;
554 rpng2_info.bg_red = (uch)r;
555 rpng2_info.bg_green = (uch)g;
556 rpng2_info.bg_blue = (uch)
[all...]
H A Drpng2-x.c128 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
155 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
191 static uch inbuf[INBUFSIZE];
198 static uch *bg_data;
205 uch r, g, b;
555 rpng2_info.bg_red = (uch)r;
556 rpng2_info.bg_green = (uch)g;
557 rpng2_info.bg_blue = (uch)b;
759 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
765 rpng2_info.row_pointers = (uch **)mallo
[all...]
H A Drpng-win.c129 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
147 static uch bg_red=0, bg_green=0, bg_blue=0;
153 static uch *image_data;
157 static uch *dib;
158 static uch *wimage_data;
408 bg_red = (uch)r;
409 bg_green = (uch)g;
410 bg_blue = (uch)b;
486 uch *dest;
499 if (!(dib = (uch *)mallo
[all...]
H A Dwpng.c141 static int wpng_isvalid_latin1(uch *p, int len);
281 wpng_info.bg_red = (uch)r;
282 wpng_info.bg_green = (uch)g;
283 wpng_info.bg_blue = (uch)b;
460 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
490 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
530 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
560 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
590 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
620 if ((result = wpng_isvalid_latin1((uch *)
[all...]
H A Dreadpng2.c89 int readpng2_check_sig(uch *sig, int num)
184 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length)
291 mainprog_ptr->bg_red = (uch)pBackground->red;
292 mainprog_ptr->bg_green = (uch)pBackground->green;
293 mainprog_ptr->bg_blue = (uch)pBackground->blue;
H A Drpng-x.c109 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
129 static uch bg_red=0, bg_green=0, bg_blue=0;
135 static uch *image_data;
357 bg_red = (uch)r;
358 bg_green = (uch)g;
359 bg_blue = (uch)b;
431 uch *xdata;
645 xdata = (uch *)malloc(4*image_width*image_height);
648 xdata = (uch *)malloc(2*image_width*image_height);
651 xdata = (uch *)mallo
[all...]
/external/chromium_org/third_party/zlib/
H A Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
H A Ddeflate.h215 uch depth[2*L_CODES+1];
317 extern uch ZLIB_INTERNAL _length_code[];
318 extern uch ZLIB_INTERNAL _dist_code[];
320 extern const uch ZLIB_INTERNAL _length_code[];
321 extern const uch ZLIB_INTERNAL _dist_code[];
325 { uch cc = (c); \
332 { uch len = (length); \
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
H A Ddeflate.h213 uch depth[2*L_CODES+1];
316 extern uch ZLIB_INTERNAL _length_code[];
317 extern uch ZLIB_INTERNAL _dist_code[];
319 extern const uch ZLIB_INTERNAL _length_code[];
320 extern const uch ZLIB_INTERNAL _dist_code[];
324 { uch cc = (c); \
331 { uch len = (length); \
/external/qemu/distrib/zlib-1.2.8/
H A Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
H A Ddeflate.h213 uch depth[2*L_CODES+1];
316 extern uch ZLIB_INTERNAL _length_code[];
317 extern uch ZLIB_INTERNAL _dist_code[];
319 extern const uch ZLIB_INTERNAL _length_code[];
320 extern const uch ZLIB_INTERNAL _dist_code[];
324 { uch cc = (c); \
331 { uch len = (length); \
/external/zlib/src/
H A Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
H A Ddeflate.h213 uch depth[2*L_CODES+1];
316 extern uch ZLIB_INTERNAL _length_code[];
317 extern uch ZLIB_INTERNAL _dist_code[];
319 extern const uch ZLIB_INTERNAL _length_code[];
320 extern const uch ZLIB_INTERNAL _dist_code[];
324 { uch cc = (c); \
331 { uch len = (length); \
/external/llvm/lib/Support/
H A Dregutils.h43 typedef unsigned char uch; typedef
H A Dregex2.h109 uch *ptr; /* -> uch [csetsize] */
110 uch mask; /* bit within array */
111 uch hash; /* hash code */
116 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
117 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
118 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
136 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
/external/chromium_org/url/
H A Durl_canon_mailtourl.cc45 UCHAR uch = static_cast<UCHAR>(source.path[i]); local
46 if (uch < 0x20 || uch >= 0x80)
49 output->push_back(static_cast<char>(uch));
H A Durl_canon_pathurl.cc35 UCHAR uch = static_cast<UCHAR>(source[i]); local
36 if (uch < 0x20 || uch >= 0x80)
39 output->push_back(static_cast<char>(uch));
H A Durl_canon_internal.cc32 unsigned char uch = static_cast<unsigned char>(source[i]); local
33 if (!IsCharOfType(uch, type))
34 AppendEscapedChar(uch, output);
36 output->push_back(uch);
47 UCHAR uch = static_cast<UCHAR>(spec[i]); local
48 if (uch >= 0x80) {
52 } else if (uch <= ' ' || uch == 0x7f) {
56 AppendEscapedChar(static_cast<unsigned char>(uch), output);
58 output->push_back(static_cast<char>(uch));
[all...]
/external/chromium_org/third_party/icu/source/samples/ucnv/
H A Dconvsamp.cpp89 const UChar *uch = kNone,
94 if( (len == -1) && (uch) ) {
95 len = u_strlen(uch);
106 printf("\\u%04X ", (int)uch[i]);
112 prettyPrintUChar(uch[i]);
118 const char *uch = "",
123 if( (len == -1) && (uch) ) {
124 len = strlen(uch);
135 printf("\\x%02X ", 0x00FF & (int)uch[i]);
141 if(isgraph(0x00FF & (int)uch[
[all...]

Completed in 3831 milliseconds

123