Home
last modified time | relevance | path

Searched refs:uch (Results 1 – 25 of 41) sorted by relevance

12

/external/libpng/contrib/gregbook/
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);
Dreadppm.c69 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()
Drpng2-win.c160 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
188 static uch inbuf[INBUFSIZE];
195 static uch *bg_data;
198 uch r, g, b;
265 static uch *dib;
266 static uch *wimage_data;
556 rpng2_info.bg_red = (uch)r; in WinMain()
557 rpng2_info.bg_green = (uch)g; in WinMain()
558 rpng2_info.bg_blue = (uch)b; in WinMain()
653 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init()
[all …]
Dreadpng.c74 uch *image_data = NULL;
90 uch sig[8]; in readpng_init()
156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor()
195 *red = (uch)pBackground->red; in readpng_get_bgcolor()
196 *green = (uch)pBackground->green; in readpng_get_bgcolor()
197 *blue = (uch)pBackground->blue; in readpng_get_bgcolor()
208 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) in readpng_get_image()
267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
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;
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,
Drpng2-x.c170 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
206 static uch inbuf[INBUFSIZE];
213 static uch *bg_data;
220 uch r, g, b;
577 rpng2_info.bg_red = (uch)r; in main()
578 rpng2_info.bg_green = (uch)g; in main()
579 rpng2_info.bg_blue = (uch)b; in main()
783 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init()
789 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_x_init()
834 uch *xdata; in rpng2_x_create_window()
[all …]
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; in WinMain()
409 bg_green = (uch)g; in WinMain()
410 bg_blue = (uch)b; in WinMain()
486 uch *dest; in rpng_win_create_window()
499 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) + in rpng_win_create_window()
[all …]
Dwpng.c141 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 …]
Drpng-x.c111 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
131 static uch bg_red=0, bg_green=0, bg_blue=0;
137 static uch *image_data;
361 bg_red = (uch)r; in main()
362 bg_green = (uch)g; in main()
363 bg_blue = (uch)b; in main()
437 uch *xdata; in rpng_x_create_window()
651 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
654 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
657 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
[all …]
Dreadpng2.c94 int readpng2_check_sig(uch *sig, int num) in readpng2_check_sig()
189 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length) in readpng2_decode_data()
297 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback()
298 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback()
299 mainprog_ptr->bg_blue = (uch)pBackground->blue; in readpng2_info_callback()
/external/llvm/lib/Support/
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] */
Dregcomp.c412 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
424 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp()
453 if (isdigit((uch)PEEK())) { in p_ere_exp()
474 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
624 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
653 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
819 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
903 ch = (uch)ch; in othercase()
906 return ((uch)tolower(ch)); in othercase()
908 return ((uch)toupper(ch)); in othercase()
[all …]
/external/zlib/src/
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); \
Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
Dtrees.c71 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/pdfium/third_party/zlib_v128/
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); \
Dtrees.h74 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
103 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
/external/opencv3/3rdparty/zlib/
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); \
Dtrees.h73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
Dtrees.c71 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/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFilteredSentenceBreakIterator.java62 int uch; in next() local
65 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here?? in next()
68 uch = text.nextCodePoint(); in next()
76 …while ((uch = text.previousCodePoint()) != BreakIterator.DONE && // more to consume backwards and.. in next()
77 ((r = backwardsTrie.nextForCodePoint(uch)).hasNext())) {// more in the trie in next()
103 while ((uch = text.nextCodePoint()) != BreakIterator.DONE in next()
104 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) { in next()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFilteredSentenceBreakIterator.java60 int uch; in next() local
63 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here?? in next()
66 uch = text.nextCodePoint(); in next()
74 …while ((uch = text.previousCodePoint()) != BreakIterator.DONE && // more to consume backwards and.. in next()
75 ((r = backwardsTrie.nextForCodePoint(uch)).hasNext())) {// more in the trie in next()
101 while ((uch = text.nextCodePoint()) != BreakIterator.DONE in next()
102 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) { in next()
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp89 const UChar *uch = kNone, in printUChars() argument
94 if( (len == -1) && (uch) ) { in printUChars()
95 len = u_strlen(uch); in printUChars()
106 printf("\\u%04X ", (int)uch[i]); in printUChars()
112 prettyPrintUChar(uch[i]); in printUChars()
118 const char *uch = "", in printBytes() argument
123 if( (len == -1) && (uch) ) { in printBytes()
124 len = strlen(uch); in printBytes()
135 printf("\\x%02X ", 0x00FF & (int)uch[i]); in printBytes()
141 if(isgraph(0x00FF & (int)uch[i])) { in printBytes()
[all …]
/external/icu/icu4c/source/common/
Dfilteredbrk.cpp263 UChar32 uch; in breakExceptionAt() local
267 …if((uch=utext_previous32(fText.getAlias()))==(UChar32)0x0020) { // TODO: skip a class of chars he… in breakExceptionAt()
272 uch = utext_next32(fText.getAlias()); in breakExceptionAt()
278 …while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL && // more to consume backwards and.. in breakExceptionAt()
279 USTRINGTRIE_HAS_NEXT(r=fData->fBackwardsTrie->nextForCodePoint(uch))) {// more in the trie in breakExceptionAt()
313 while((uch=utext_next32(fText.getAlias()))!=U_SENTINEL && in breakExceptionAt()
314 USTRINGTRIE_HAS_NEXT(rfwd=fData->fForwardsPartialTrie->nextForCodePoint(uch))) { in breakExceptionAt()

12