HomeSort by relevance Sort by last modified time
    Searched refs:uch (Results 1 - 25 of 39) sorted by null

1 2

  /external/libpng/contrib/gregbook/
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,
readpng2.h 78 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);
readppm.c 69 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) {
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;
readpng.c 74 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 *)malloc(rowbytes*height)) == NULL)
    [all...]
rpng2-win.c 137 #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)b
    [all...]
rpng2-x.c 128 #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 **)malloc(rpng2_info.height * sizeof(uch *))
    [all...]
rpng-win.c 129 (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 *)malloc(sizeof(BITMAPINFOHEADER)
    [all...]
wpng.c 141 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 *)p, len)) >= 0)
    [all...]
readpng2.c 89 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;
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;
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 *)malloc(image_width*image_height)
    [all...]
  /external/chromium_org/third_party/zlib/
trees.h 73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
deflate.h 215 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/llvm/lib/Support/
regutils.h 43 typedef unsigned char uch; typedef
regex2.h 109 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] */
regcomp.c 404 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
416 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ))
445 if (isdigit((uch)PEEK())) {
466 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) )
616 if (MORE() && isdigit((uch)PEEK())) {
645 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) {
811 while (MORE() && isalpha((uch)PEEK()))
895 ch = (uch)ch;
898 return ((uch)tolower(ch));
900 return ((uch)toupper(ch))
    [all...]
  /bionic/libc/upstream-netbsd/lib/libc/regex/
utils.h 78 typedef unsigned char uch; typedef
regex2.h 158 uch *ptr; /* -> uch [csetsize] */
159 uch mask; /* bit within array */
160 uch hash; /* hash code */
165 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
166 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
167 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
185 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
  /external/chromium_org/url/
url_canon_mailtourl.cc 45 UCHAR uch = static_cast<UCHAR>(source.path[i]); local
46 if (uch < 0x20 || uch >= 0x80)
49 output->push_back(static_cast<char>(uch));
url_canon_pathurl.cc 35 UCHAR uch = static_cast<UCHAR>(source[i]); local
36 if (uch < 0x20 || uch >= 0x80)
39 output->push_back(static_cast<char>(uch));
url_canon_internal.cc 32 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/
convsamp.cpp 89 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[i]))
    [all...]
  /external/icu/icu4c/source/samples/ucnv/
convsamp.cpp 89 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[i]))
    [all...]
  /external/icu/icu4c/source/i18n/
filteredbrk.cpp 119 UChar32 uch; local
122 if((uch=utext_previous32(fText.getAlias()))==(UChar32)0x0020) { // TODO: skip a class of chars here??
124 //if(debug2) u_printf("skipping prev: |%C| \n", (UChar)uch);
126 //if(debug2) u_printf("not skipping prev: |%C| \n", (UChar)uch);
127 uch = utext_next32(fText.getAlias());
128 //if(debug2) u_printf(" -> : |%C| \n", (UChar)uch);
135 while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL && // more to consume backwards and..
136 USTRINGTRIE_HAS_NEXT(r=fBackwardsTrie->nextForCodePoint(uch))) {// more in the trie
141 //if(debug2) u_printf("rev< /%C/ cont?%d @%d\n", (UChar)uch, r, utext_getNativeIndex(fText.getAlias()));
145 //if(debug2) u_printf("rev<?/%C/?end of seq.. r=%d, bestPosn=%d, bestValue=%d\n", (UChar)uch, r, bestPosn, bestValue)
    [all...]
  /external/freetype/src/gzip/
zutil.h 34 typedef unsigned char uch; typedef
35 typedef uch FAR uchf;

Completed in 2138 milliseconds

1 2