Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/libpng/contrib/gregbook/
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 Drpng2-win.c138 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
159 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
187 static uch inbuf[INBUFSIZE];
194 static uch *bg_data;
197 uch r, g, b;
264 static uch *dib;
265 static uch *wimage_data;
555 rpng2_info.bg_red = (uch)r; in WinMain()
556 rpng2_info.bg_green = (uch)g; in WinMain()
557 rpng2_info.bg_blue = (uch) in WinMain()
[all...]
H A 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()
273 if ((image_data = (uch *)mallo in readpng_get_image()
[all...]
H A 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()
165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
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.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 Drpng2-x.c145 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
172 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
208 static uch inbuf[INBUFSIZE];
215 static uch *bg_data;
222 uch r, g, b;
579 rpng2_info.bg_red = (uch)r; in main()
580 rpng2_info.bg_green = (uch)g; in main()
581 rpng2_info.bg_blue = (uch)b; in main()
792 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init()
798 rpng2_info.row_pointers = (uch **)mallo in rpng2_x_init()
[all...]
H A Dwpng.c142 static int wpng_isvalid_latin1(uch *p, int len);
282 wpng_info.bg_red = (uch)r; in main()
283 wpng_info.bg_green = (uch)g; in main()
284 wpng_info.bg_blue = (uch)b; in main()
461 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main()
491 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main()
531 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main()
561 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main()
591 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main()
621 if ((result = wpng_isvalid_latin1((uch *) in main()
[all...]
H A Drpng-win.c130 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
148 static uch bg_red=0, bg_green=0, bg_blue=0;
154 static uch *image_data;
158 static uch *dib;
159 static uch *wimage_data;
409 bg_red = (uch)r; in WinMain()
410 bg_green = (uch)g; in WinMain()
411 bg_blue = (uch)b; in WinMain()
487 uch *dest; in rpng_win_create_window()
506 if (!(dib = (uch *)mallo in rpng_win_create_window()
[all...]
H A Drpng-x.c112 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
132 static uch bg_red=0, bg_green=0, bg_blue=0;
138 static uch *image_data;
362 bg_red = (uch)r; in main()
363 bg_green = (uch)g; in main()
364 bg_blue = (uch)b; in main()
438 uch *xdata; in rpng_x_create_window()
652 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
655 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
658 xdata = (uch *)mallo in rpng_x_create_window()
[all...]
/third_party/node/deps/zlib/
H A Ddeflate.h220 uch depth[2*L_CODES+1];
328 extern uch ZLIB_INTERNAL _length_code[];
329 extern uch ZLIB_INTERNAL _dist_code[];
331 extern const uch ZLIB_INTERNAL _length_code[];
332 extern const uch ZLIB_INTERNAL _dist_code[];
337 { uch cc = (c); \
344 { uch len = (uch)(length); \
355 { uch cc = (c); \
363 { uch le
[all...]
/third_party/zlib/
H A Ddeflate.h220 uch depth[2*L_CODES+1];
325 extern uch ZLIB_INTERNAL _length_code[];
326 extern uch ZLIB_INTERNAL _dist_code[];
328 extern const uch ZLIB_INTERNAL _length_code[];
329 extern const uch ZLIB_INTERNAL _dist_code[];
334 { uch cc = (c); \
341 { uch len = (uch)(length); \
352 { uch cc = (c); \
360 { uch le
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
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] */
H A 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)touppe in othercase()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dregex2.h112 uch *ptr; /* -> uch [csetsize] */
113 uch mask; /* bit within array */
114 uch hash; /* hash code */
119 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
120 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
121 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
139 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
H A Dregcomp.c540 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT); in p_ere_exp()
552 (c == '{' && MORE2() && isdigit((uch)PEEK2())) )) in p_ere_exp()
581 if (isdigit((uch)PEEK())) { in p_ere_exp()
602 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) ) in p_ere_exp()
752 if (MORE() && isdigit((uch)PEEK())) { in p_simp_re()
781 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) { in p_count()
947 while (MORE() && isalpha((uch)PEEK())) in p_b_cclass()
1031 ch = (uch)ch; in othercase()
1034 return ((uch)tolower(ch)); in othercase()
1036 return ((uch)touppe in othercase()
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Ddeflate.h216 uch depth[2*L_CODES+1];
314 extern uch ZLIB_INTERNAL _length_code[];
315 extern uch ZLIB_INTERNAL _dist_code[];
317 extern const uch ZLIB_INTERNAL _length_code[];
318 extern const uch ZLIB_INTERNAL _dist_code[];
322 { uch cc = (c); \
330 { uch len = (uch)(length); \
/third_party/libwebsockets/win32port/zlib/
H A Ddeflate.h210 uch depth[2*L_CODES+1];
307 extern uch ZLIB_INTERNAL _length_code[];
308 extern uch ZLIB_INTERNAL _dist_code[];
310 extern const uch ZLIB_INTERNAL _length_code[];
311 extern const uch ZLIB_INTERNAL _dist_code[];
315 { uch cc = (c); \
323 { uch len = (uch)(length); \
/third_party/skia/third_party/externals/zlib/
H A Ddeflate.h216 uch depth[2*L_CODES+1];
314 extern uch ZLIB_INTERNAL _length_code[];
315 extern uch ZLIB_INTERNAL _dist_code[];
317 extern const uch ZLIB_INTERNAL _length_code[];
318 extern const uch ZLIB_INTERNAL _dist_code[];
322 { uch cc = (c); \
330 { uch len = (uch)(length); \
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestBidiTransform.java286 private static char substituteChar(char uch, char baseReal, in substituteChar() argument
288 char dest = (char)(basePseudo + (uch - baseReal)); in substituteChar()
295 char uch = uchars[i]; in pseudoScript()
296 switch (UCharacter.getDirectionality(uch)) { in pseudoScript()
298 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z'); in pseudoScript()
301 if (uch > 0xFE00) { in pseudoScript()
302 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J'); in pseudoScript()
304 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E'); in pseudoScript()
308 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9'); in pseudoScript()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestBidiTransform.java289 private static char substituteChar(char uch, char baseReal, in substituteChar() argument
291 char dest = (char)(basePseudo + (uch - baseReal)); in substituteChar()
298 char uch = uchars[i]; in pseudoScript()
299 switch (UCharacter.getDirectionality(uch)) { in pseudoScript()
301 uchars[i] = substituteChar(uch, MIN_HEB_LETTER, 'K', 'Z'); in pseudoScript()
304 if (uch > 0xFE00) { in pseudoScript()
305 uchars[i] = substituteChar(uch, MIN_SHAPED_LETTER, 'F', 'J'); in pseudoScript()
307 uchars[i] = substituteChar(uch, MIN_ARAB_LETTER, 'A', 'E'); in pseudoScript()
311 uchars[i] = substituteChar(uch, ARAB_ZERO, '5', '9'); in pseudoScript()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DSimpleFilteredSentenceBreakIterator.java74 int uch; in breakExceptionAt()
77 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here?? in breakExceptionAt()
80 uch = text.nextCodePoint(); in breakExceptionAt()
83 while ((uch = text.previousCodePoint()) >= 0) { // more to consume backwards in breakExceptionAt()
84 BytesTrie.Result r = backwardsTrie.nextForCodePoint(uch); in breakExceptionAt()
106 while ((uch = text.nextCodePoint()) != BreakIterator.DONE in breakExceptionAt()
107 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) { in breakExceptionAt()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DSimpleFilteredSentenceBreakIterator.java75 int uch; in breakExceptionAt()
80 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here?? in breakExceptionAt()
83 uch = text.nextCodePoint(); in breakExceptionAt()
88 while ((uch = text.previousCodePoint()) != UCharacterIterator.DONE && // more to consume backwards and.. in breakExceptionAt()
89 ((r = backwardsTrie.nextForCodePoint(uch)).hasNext())) {// more in the trie in breakExceptionAt()
112 while ((uch = text.nextCodePoint()) != BreakIterator.DONE in breakExceptionAt()
113 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) { in breakExceptionAt()
/third_party/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp98 const UChar *uch = kNone, in printUChars()
103 if( (len == -1) && (uch) ) { in printUChars()
104 len = u_strlen(uch); in printUChars()
115 printf("\\u%04X ", (int)uch[i]); in printUChars()
121 prettyPrintUChar(uch[i]); in printUChars()
127 const char *uch = "", in printBytes()
132 if( (len == -1) && (uch) ) { in printBytes()
133 len = static_cast<int32_t>(strlen(uch)); in printBytes()
144 printf("\\x%02X ", 0x00FF & (int)uch[i]); in printBytes()
150 if(isgraph(0x00FF & (int)uch[ in printBytes()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/ucnv/
H A Dconvsamp.cpp98 const UChar *uch = kNone, in printUChars()
103 if( (len == -1) && (uch) ) { in printUChars()
104 len = u_strlen(uch); in printUChars()
115 printf("\\u%04X ", (int)uch[i]); in printUChars()
121 prettyPrintUChar(uch[i]); in printUChars()
127 const char *uch = "", in printBytes()
132 if( (len == -1) && (uch) ) { in printBytes()
133 len = static_cast<int32_t>(strlen(uch)); in printBytes()
144 printf("\\x%02X ", 0x00FF & (int)uch[i]); in printBytes()
150 if(isgraph(0x00FF & (int)uch[ in printBytes()
[all...]

Completed in 19 milliseconds

123