/bionic/libc/netbsd/resolv/ |
D | res_comp.c | 172 int pch = PERIOD, ch = *dn++; in res_hnok() local 174 while (ch != '\0') { in res_hnok() 177 if (periodchar(ch)) { in res_hnok() 180 if (!borderchar(ch)) in res_hnok() 183 if (!borderchar(ch)) in res_hnok() 186 if (!middlechar(ch)) in res_hnok() 189 pch = ch, ch = nch; in res_hnok() 215 int ch, escaped = 0; in res_mailok() local 222 while ((ch = *dn++) != '\0') { in res_mailok() 223 if (!domainchar(ch)) in res_mailok() [all …]
|
D | res_init.c | 135 #define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL) argument
|
/bionic/libc/netbsd/nameser/ |
D | ns_ttl.c | 89 int ch; in ns_format_ttl() local 91 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl() 92 if (isascii(ch) && isupper(ch)) in ns_format_ttl() 93 *p = tolower(ch); in ns_format_ttl() 103 int ch, digits, dirty; in ns_parse_ttl() local 109 while ((ch = *src++) != '\0') { in ns_parse_ttl() 110 if (!isascii(ch) || !isprint(ch)) in ns_parse_ttl() 112 if (isdigit(ch)) { in ns_parse_ttl() 114 tmp += (ch - '0'); in ns_parse_ttl() 120 if (islower(ch)) in ns_parse_ttl() [all …]
|
D | ns_name.c | 688 special(int ch) { in special() argument 689 switch (ch) { in special() 713 printable(int ch) { in printable() argument 714 return (ch > 0x20 && ch < 0x7f); in printable() 722 mklower(int ch) { in mklower() argument 723 if (ch >= 0x41 && ch <= 0x5A) in mklower() 724 return (ch + 0x20); in mklower() 725 return (ch); in mklower()
|
/bionic/libc/string/ |
D | memccpy.c | 36 char ch = ~(char)c; /* ensure ch != c */ in memccpy() local 39 if (ch == c || p >= p_end) break; in memccpy() 40 *q++ = ch = *p++; in memccpy() 43 if (p >= p_end && ch != c) in memccpy()
|
D | strchr.c | 34 strchr(const char *p, int ch) in strchr() argument 37 if (*p == (char) ch) in strchr()
|
D | index.c | 34 index(const char *p, int ch) in index() argument 37 if (*p == (char) ch) in index()
|
D | strrchr.c | 34 strrchr(const char *p, int ch) in strrchr() argument 39 if (*p == (char) ch) in strrchr()
|
/bionic/libc/netbsd/net/ |
D | base64.c | 221 int state, ch; local 230 while ((ch = (u_char) *src++) != '\0') { 231 if (isspace(ch)) /* Skip whitespace anywhere. */ 234 if (ch == Pad64) 237 pos = strchr(Base64, ch); 293 if (ch == Pad64) { /* We got a pad char. */ 294 ch = *src++; /* Skip it, get next. */ 302 for (; ch != '\0'; ch = (u_char) *src++) 303 if (!isspace(ch)) 306 if (ch != Pad64) [all …]
|
/bionic/libc/stdlib/ |
D | strntoumax.c | 32 static inline int digitval(int ch) in digitval() argument 36 d = (unsigned)(ch - '0'); in digitval() 39 d = (unsigned)(ch - 'a'); in digitval() 42 d = (unsigned)(ch - 'A'); in digitval()
|
/bionic/libc/stdio/ |
D | vfprintf.c | 173 int ch; /* character from fmt */ in __vfprintf() local 368 rflag: ch = *fmt++; in __vfprintf() 369 reswitch: switch (ch) { in __vfprintf() 401 if ((ch = *fmt++) == '*') { in __vfprintf() 407 while (is_digit(ch)) { in __vfprintf() 408 n = 10 * n + to_digit(ch); in __vfprintf() 409 ch = *fmt++; in __vfprintf() 411 if (ch == '$') { in __vfprintf() 434 n = 10 * n + to_digit(ch); in __vfprintf() 435 ch = *fmt++; in __vfprintf() [all …]
|
/bionic/libm/src/ |
D | s_nan.c | 40 digittoint(char ch) in digittoint() argument 44 d = ch - '0'; in digittoint() 48 d = ch - 'a'; in digittoint() 52 d = ch - 'A'; in digittoint()
|
/bionic/libc/inet/ |
D | inet_pton.c | 235 int ch, seen_xdigits; in inet_pton6() local 251 while ((ch = *src++) != '\0') { in inet_pton6() 254 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6() 255 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6() 263 if (ch == ':') { in inet_pton6() 280 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_pton6()
|
/bionic/libc/unistd/ |
D | syslog.c | 109 char ch, *p, *t; in vsyslog_r() local 194 for (t = fmt_cpy, fmt_left = FMT_LEN; (ch = *fmt); ++fmt) { in vsyslog_r() 195 if (ch == '%' && fmt[1] == 'm') { in vsyslog_r() 210 } else if (ch == '%' && fmt[1] == '%' && fmt_left > 2) { in vsyslog_r() 217 *t++ = ch; in vsyslog_r()
|
/bionic/libc/regex/ |
D | engine.c | 840 int ch, /* character or NONCHAR code */ in step() argument 858 assert(!NONCHAR(ch) || ch != (char)OPND(s)); in step() 859 if (ch == (char)OPND(s)) in step() 863 if (ch == BOL || ch == BOLEOL) in step() 867 if (ch == EOL || ch == BOLEOL) in step() 871 if (ch == BOW) in step() 875 if (ch == EOW) in step() 879 if (!NONCHAR(ch)) in step() 884 if (!NONCHAR(ch) && CHIN(cs, ch)) in step() 953 print(struct match *m, char *caption, states st, int ch, FILE *d) in print() argument [all …]
|
D | regcomp.c | 857 othercase(int ch) in othercase() argument 859 ch = (uch)ch; in othercase() 860 assert(isalpha(ch)); in othercase() 861 if (isupper(ch)) in othercase() 862 return ((uch)tolower(ch)); in othercase() 863 else if (islower(ch)) in othercase() 864 return ((uch)toupper(ch)); in othercase() 866 return(ch); in othercase() 875 bothcases(struct parse *p, int ch) in bothcases() argument 881 ch = (uch)ch; in bothcases() [all …]
|
/bionic/linker/ |
D | linker_format.c | 58 out_send_repeat(Out *o, char ch, int count) in out_send_repeat() argument 63 memset(pad, ch, sizeof(pad)); in out_send_repeat() 335 int ch = *p; in parse_decimal() local 336 unsigned d = (unsigned)(ch - '0'); in parse_decimal() 379 int ch = pos[0]; in format_number() local 381 end[0] = (char) ch; in format_number()
|
/bionic/libc/bionic/ |
D | malloc_debug_qemu.c | 580 char ch; in test_access_violation() local 588 ch = *prefix; in test_access_violation() 589 ch = *suffix; in test_access_violation()
|
/bionic/libc/arch-x86/string/ |
D | ssse3-strcmp-latest.S | 2062 test $0x01, %ch 2065 test $0x02, %ch 2068 test $0x04, %ch 2071 test $0x08, %ch 2074 test $0x10, %ch 2077 test $0x20, %ch 2080 test $0x40, %ch
|
D | ssse3-memcmp3-new.S | 1938 cmp %bh, %ch
|