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

12

/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];
156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
195 *red = (uch)pBackground->red;
196 *green = (uch)pBackground->green;
197 *blue = (uch)pBackground->blue;
208 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
267 if ((image_data = (uch *)mallo
[all...]
H A Drpng2-win.c139 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
160 (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;
557 rpng2_info.bg_green = (uch)g;
558 rpng2_info.bg_blue = (uch)
[all...]
H A Drpng2-x.c143 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
170 (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;
578 rpng2_info.bg_green = (uch)g;
579 rpng2_info.bg_blue = (uch)b;
783 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
789 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.c94 int readpng2_check_sig(uch *sig, int num)
189 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length)
297 mainprog_ptr->bg_red = (uch)pBackground->red;
298 mainprog_ptr->bg_green = (uch)pBackground->green;
299 mainprog_ptr->bg_blue = (uch)pBackground->blue;
/external/pdfium/third_party/zlib_v128/
H A Dtrees.h74 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {
103 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/syslinux/com32/lib/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.h210 uch depth[2*L_CODES+1];
312 extern uch ZLIB_INTERNAL _length_code[];
313 extern uch ZLIB_INTERNAL _dist_code[];
315 extern const uch ZLIB_INTERNAL _length_code[];
316 extern const uch ZLIB_INTERNAL _dist_code[];
320 { uch cc = (c); \
327 { 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/swiftshader/third_party/LLVM/lib/Support/
H A Dregutils.h40 typedef unsigned char uch; typedef
H A Dregex2.h106 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] */
/external/syslinux/memdisk/
H A Dunzip.c29 typedef uint8_t uch; typedef
36 static uch *inbuf; /* input pointer */
37 static uch window[WSIZE]; /* sliding output window buffer */
78 static inline uch get_byte(void)
81 uch b = *inbuf++;
97 static uch *output_data; /* Output data pointer */
160 uch *in, *out, ch;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
H A DTestBidiTransform.java284 private static char substituteChar(char uch, char baseReal, argument
286 char dest = (char)(basePseudo + (uch - baseReal));
293 char uch = uchars[i];
294 switch (UCharacter.getDirectionality(uch)) {
296 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z');
299 if (uch > 0xFE00) {
300 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J');
302 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E');
306 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9');
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestBidiTransform.java283 private static char substituteChar(char uch, char baseReal, argument
285 char dest = (char)(basePseudo + (uch - baseReal));
292 char uch = uchars[i];
293 switch (UCharacter.getDirectionality(uch)) {
295 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z');
298 if (uch > 0xFE00) {
299 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J');
301 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E');
305 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9');
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DSimpleFilteredSentenceBreakIterator.java74 int uch;
77 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here??
80 uch = text.nextCodePoint();
85 while ((uch = text.previousCodePoint()) != UCharacterIterator.DONE && // more to consume backwards and..
86 ((r = backwardsTrie.nextForCodePoint(uch)).hasNext())) {// more in the trie
109 while ((uch = text.nextCodePoint()) != BreakIterator.DONE
110 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DSimpleFilteredSentenceBreakIterator.java72 int uch;
75 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here??
78 uch = text.nextCodePoint();
83 while ((uch = text.previousCodePoint()) != UCharacterIterator.DONE && // more to consume backwards and..
84 ((r = backwardsTrie.nextForCodePoint(uch)).hasNext())) {// more in the trie
107 while ((uch = text.nextCodePoint()) != BreakIterator.DONE
108 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) {

Completed in 1197 milliseconds

12