/external/cronet/url/ |
D | url_canon_mailtourl.cc | 20 bool ShouldEncodeMailboxCharacter(UCHAR uch) { in ShouldEncodeMailboxCharacter() argument 21 if (uch < 0x21 || // space & control characters. in ShouldEncodeMailboxCharacter() 22 uch > 0x7e || // high-ascii characters. in ShouldEncodeMailboxCharacter() 23 uch == 0x22 || // quote. in ShouldEncodeMailboxCharacter() 24 uch == 0x3c || uch == 0x3e || // angle brackets. in ShouldEncodeMailboxCharacter() 25 uch == 0x60 || // backtick. in ShouldEncodeMailboxCharacter() 26 uch == 0x7b || uch == 0x7c || uch == 0x7d // braces and pipe. in ShouldEncodeMailboxCharacter() 62 UCHAR uch = static_cast<UCHAR>(source.path[i]); in DoCanonicalizeMailtoURL() local 63 if (ShouldEncodeMailboxCharacter<UCHAR>(uch)) in DoCanonicalizeMailtoURL() 66 output->push_back(static_cast<char>(uch)); in DoCanonicalizeMailtoURL()
|
D | url_canon_internal.cc | 91 unsigned char uch = static_cast<unsigned char>(source[i]); in DoAppendStringOfType() local 92 if (!IsCharOfType(uch, type)) in DoAppendStringOfType() 93 AppendEscapedChar(uch, output); in DoAppendStringOfType() 95 output->push_back(uch); in DoAppendStringOfType() 108 UCHAR uch = static_cast<UCHAR>(spec[i]); in DoAppendInvalidNarrowString() local 109 if (uch >= 0x80) { in DoAppendInvalidNarrowString() 113 } else if (uch <= ' ' || uch == 0x7f) { in DoAppendInvalidNarrowString() 117 AppendEscapedChar(static_cast<unsigned char>(uch), output); in DoAppendInvalidNarrowString() 119 output->push_back(static_cast<char>(uch)); in DoAppendInvalidNarrowString()
|
/external/libpng/contrib/gregbook/ |
D | 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);
|
D | rpng2-win.c | 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)b; in WinMain() 659 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() [all …]
|
D | readpng.c | 74 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 *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
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() 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
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 | 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 **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_x_init() 843 uch *xdata; in rpng2_x_create_window() [all …]
|
D | rpng-win.c | 130 (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 *)malloc(sizeof(BITMAPINFOHEADER) + in rpng_win_create_window() [all …]
|
D | wpng.c | 142 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 *)p, len)) >= 0) { in main() [all …]
|
D | rpng-x.c | 112 (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 *)malloc(image_width*image_height); in rpng_x_create_window() [all …]
|
/external/llvm/lib/Support/ |
D | 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] */
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | 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] */
|
/external/libcups/vcnet/regex/ |
D | regex2.h | 83 uch *ptr; /* -> uch [csetsize] */ 84 uch mask; /* bit within array */ 85 uch hash; /* hash code */ 90 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 91 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) 92 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask) 110 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | regex2.h | 112 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] */
|
/external/zlib/ |
D | deflate.h | 216 uch depth[2*L_CODES+1]; 319 extern uch ZLIB_INTERNAL _length_code[]; 320 extern uch ZLIB_INTERNAL _dist_code[]; 322 extern const uch ZLIB_INTERNAL _length_code[]; 323 extern const uch ZLIB_INTERNAL _dist_code[]; 327 { uch cc = (c); \ 335 { uch len = (uch)(length); \ 337 s->sym_buf[s->sym_next++] = (uch)dist; \ 338 s->sym_buf[s->sym_next++] = (uch)(dist >> 8); \
|
/external/python/cpython2/Modules/zlib/ |
D | deflate.h | 216 uch depth[2*L_CODES+1]; 319 extern uch ZLIB_INTERNAL _length_code[]; 320 extern uch ZLIB_INTERNAL _dist_code[]; 322 extern const uch ZLIB_INTERNAL _length_code[]; 323 extern const uch ZLIB_INTERNAL _dist_code[]; 327 { uch cc = (c); \ 334 { uch len = (uch)(length); \
|
/external/rust/crates/libz-sys/src/zlib/ |
D | deflate.h | 216 uch depth[2*L_CODES+1]; 319 extern uch ZLIB_INTERNAL _length_code[]; 320 extern uch ZLIB_INTERNAL _dist_code[]; 322 extern const uch ZLIB_INTERNAL _length_code[]; 323 extern const uch ZLIB_INTERNAL _dist_code[]; 327 { uch cc = (c); \ 334 { uch len = (uch)(length); \
|
/external/tflite-support/third_party/zlib/ |
D | deflate.h | 216 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); \
|
/external/libwebsockets/win32port/zlib/ |
D | deflate.h | 210 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestBidiTransform.java | 286 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() local 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()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestBidiTransform.java | 289 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() local 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()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimpleFilteredSentenceBreakIterator.java | 74 int uch; in breakExceptionAt() local 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()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | SimpleFilteredSentenceBreakIterator.java | 76 int uch; in breakExceptionAt() local 79 if ((uch = text.previousCodePoint()) == ' ') { // TODO: skip a class of chars here?? in breakExceptionAt() 82 uch = text.nextCodePoint(); in breakExceptionAt() 85 while ((uch = text.previousCodePoint()) >= 0) { // more to consume backwards in breakExceptionAt() 86 BytesTrie.Result r = backwardsTrie.nextForCodePoint(uch); in breakExceptionAt() 108 while ((uch = text.nextCodePoint()) != BreakIterator.DONE in breakExceptionAt() 109 && ((rfwd = forwardsPartialTrie.nextForCodePoint(uch)).hasNext())) { in breakExceptionAt()
|