/external/libpng/contrib/gregbook/ |
D | readpng2.h | 78 typedef unsigned char uch; typedef 91 uch *image_data; 92 uch **row_pointers; 105 uch bg_red; 106 uch bg_green; 107 uch bg_blue; 115 int readpng2_check_sig(uch *sig, int num); 119 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length);
|
D | readppm.c | 69 uch *image_data = NULL; 83 static uch ppmline[256]; in readpng_init() 133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() 143 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) in readpng_get_image() 157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
D | readpng.c | 73 uch *image_data = NULL; 89 uch sig[8]; in readpng_init() 154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() 193 *red = (uch)pBackground->red; in readpng_get_bgcolor() 194 *green = (uch)pBackground->green; in readpng_get_bgcolor() 195 *blue = (uch)pBackground->blue; in readpng_get_bgcolor() 206 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) in readpng_get_image() 255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
D | rpng2-win.c | 131 (composite) = (uch)((temp + (temp >> 8)) >> 8); \ 159 static uch inbuf[INBUFSIZE]; 166 static uch *bg_data; 169 uch r, g, b; 236 static uch *dib; 237 static uch *wimage_data; 531 rpng2_info.bg_red = (uch)r; in WinMain() 532 rpng2_info.bg_green = (uch)g; in WinMain() 533 rpng2_info.bg_blue = (uch)b; in WinMain() 628 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() [all …]
|
D | writepng.h | 86 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;
|
D | readpng.h | 72 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,
|
D | rpng2-x.c | 154 (composite) = (uch)((temp + (temp >> 8)) >> 8); \ 190 static uch inbuf[INBUFSIZE]; 197 static uch *bg_data; 204 uch r, g, b; 576 rpng2_info.bg_red = (uch)r; in main() 577 rpng2_info.bg_green = (uch)g; in main() 578 rpng2_info.bg_blue = (uch)b; in main() 780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init() 786 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_x_init() 830 uch *xdata; in rpng2_x_create_window() [all …]
|
D | rpng-win.c | 103 (composite) = (uch)((temp + (temp >> 8)) >> 8); \ 121 static uch bg_red=0, bg_green=0, bg_blue=0; 127 static uch *image_data; 131 static uch *dib; 132 static uch *wimage_data; 369 bg_red = (uch)r; in WinMain() 370 bg_green = (uch)g; in WinMain() 371 bg_blue = (uch)b; in WinMain() 442 uch *dest; in rpng_win_create_window() 455 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) + in rpng_win_create_window() [all …]
|
D | wpng.c | 141 static int wpng_isvalid_latin1(uch *p, int len); 281 wpng_info.bg_red = (uch)r; in main() 282 wpng_info.bg_green = (uch)g; in main() 283 wpng_info.bg_blue = (uch)b; in main() 460 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 490 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 530 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 560 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 590 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 620 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() [all …]
|
D | rpng-x.c | 109 (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; in main() 358 bg_green = (uch)g; in main() 359 bg_blue = (uch)b; in main() 431 uch *xdata; in rpng_x_create_window() 645 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window() 648 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window() 651 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window() [all …]
|
D | readpng2.c | 160 int readpng2_check_sig(uch *sig, int num) in readpng2_check_sig() 351 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length) in readpng2_decode_data() 454 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback() 455 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback() 456 mainprog_ptr->bg_blue = (uch)pBackground->blue; in readpng2_info_callback()
|
/external/llvm/lib/Support/ |
D | regex2.h | 106 uch *ptr; /* -> uch [csetsize] */ 107 uch mask; /* bit within array */ 108 uch hash; /* hash code */ 113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) 115 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask) 133 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
|
D | regcomp.c | 376 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp() 388 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp() 417 if (isdigit((uch)PEEK())) { in p_ere_exp() 438 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp() 588 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re() 617 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count() 783 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass() 867 ch = (uch)ch; in othercase() 870 return ((uch)tolower(ch)); in othercase() 872 return ((uch)toupper(ch)); in othercase() [all …]
|
D | regutils.h | 40 typedef unsigned char uch; typedef
|
/external/qemu/distrib/zlib-1.2.3/ |
D | deflate.h | 210 uch depth[2*L_CODES+1]; 301 extern uch _length_code[]; 302 extern uch _dist_code[]; 304 extern const uch _length_code[]; 305 extern const uch _dist_code[]; 309 { uch cc = (c); \ 316 { uch len = (length); \
|
D | trees.h | 73 const uch _dist_code[DIST_CODE_LEN] = { 102 const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
D | trees.c | 70 local const uch bl_order[BL_CODES] 102 uch _dist_code[DIST_CODE_LEN]; 108 uch _length_code[MAX_MATCH-MIN_MATCH+1]; 181 put_byte(s, (uch)((w) & 0xff)); \ 182 put_byte(s, (uch)((ush)(w) >> 8)); \ 264 _length_code[length++] = (uch)code; in tr_static_init() 272 _length_code[length-1] = (uch)code; in tr_static_init() 279 _dist_code[dist++] = (uch)code; in tr_static_init() 287 _dist_code[256 + dist++] = (uch)code; in tr_static_init() 677 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? [all …]
|
/external/zlib/ |
D | deflate.h | 213 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); \
|
D | trees.h | 73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = { 102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
D | trees.c | 71 local const uch bl_order[BL_CODES] 98 uch _dist_code[DIST_CODE_LEN]; 104 uch _length_code[MAX_MATCH-MIN_MATCH+1]; 177 put_byte(s, (uch)((w) & 0xff)); \ 178 put_byte(s, (uch)((ush)(w) >> 8)); \ 262 _length_code[length++] = (uch)code; in tr_static_init() 270 _length_code[length-1] = (uch)code; in tr_static_init() 277 _dist_code[dist++] = (uch)code; in tr_static_init() 285 _dist_code[256 + dist++] = (uch)code; in tr_static_init() 675 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? [all …]
|
/external/chromium/googleurl/src/ |
D | url_canon_internal.cc | 54 unsigned char uch = static_cast<unsigned char>(source[i]); in DoAppendStringOfType() local 55 if (!IsCharOfType(uch, type)) in DoAppendStringOfType() 56 AppendEscapedChar(uch, output); in DoAppendStringOfType() 58 output->push_back(uch); in DoAppendStringOfType() 69 UCHAR uch = static_cast<UCHAR>(spec[i]); in DoAppendInvalidNarrowString() local 70 if (uch >= 0x80) { in DoAppendInvalidNarrowString() 74 } else if (uch <= ' ' || uch == 0x7f) { in DoAppendInvalidNarrowString() 78 AppendEscapedChar(static_cast<unsigned char>(uch), output); in DoAppendInvalidNarrowString() 80 output->push_back(static_cast<char>(uch)); in DoAppendInvalidNarrowString()
|
D | url_canon_pathurl.cc | 64 UCHAR uch = static_cast<UCHAR>(source.path[i]); in DoCanonicalizePathURL() local 65 if (uch < 0x20 || uch >= 0x80) in DoCanonicalizePathURL() 68 output->push_back(static_cast<char>(uch)); in DoCanonicalizePathURL()
|
D | url_canon_mailtourl.cc | 72 UCHAR uch = static_cast<UCHAR>(source.path[i]); in DoCanonicalizeMailtoURL() local 73 if (uch < 0x20 || uch >= 0x80) in DoCanonicalizeMailtoURL() 76 output->push_back(static_cast<char>(uch)); in DoCanonicalizeMailtoURL()
|
/external/grub/stage2/ |
D | gunzip.c | 254 typedef unsigned char uch; typedef 345 uch e; /* number of extra bits or operation */ 346 uch b; /* number of bits in this code or subcode */ 367 static uch slide[WSIZE]; 488 static uch inbuf[INBUFSIZ]; 660 r.b = (uch) l; /* bits to dump before this table */ in huft_build() 661 r.e = (uch) (16 + j); /* bits in this table */ in huft_build() 669 r.b = (uch) (k - w); in huft_build() 674 r.e = (uch) (*p < 256 ? 16 : 15); /* 256 is end-of-block code */ in huft_build() 680 r.e = (uch) e[*p - s]; /* non-simple--look up in lists */ in huft_build() [all …]
|
/external/icu4c/samples/ucnv/ |
D | convsamp.cpp | 96 const UChar *uch = kNone, in printUChars() argument 101 if( (len == -1) && (uch) ) { in printUChars() 102 len = u_strlen(uch); in printUChars() 113 printf("\\u%04X ", (int)uch[i]); in printUChars() 119 prettyPrintUChar(uch[i]); in printUChars() 125 const char *uch = "", in printBytes() argument 130 if( (len == -1) && (uch) ) { in printBytes() 131 len = strlen(uch); in printBytes() 142 printf("\\x%02X ", 0x00FF & (int)uch[i]); in printBytes() 148 if(isgraph(0x00FF & (int)uch[i])) { in printBytes() [all …]
|