/bionic/libc/string/ |
H A D | index.c | 34 index(const char *p, int ch) argument 37 if (*p == ch)
|
H A D | strchr.c | 34 strchr(const char *p, int ch) argument 37 if (*p == ch)
|
H A D | strrchr.c | 34 strrchr(const char *p, int ch) argument 39 if (*p == ch)
|
H A D | memccpy.c | 36 char ch = ~(char)c; /* ensure ch != c */ local 39 if (ch == c || p >= p_end) break; 40 *q++ = ch = *p++; 43 if (p >= p_end && ch != c)
|
/bionic/libc/netbsd/net/ |
H A 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)) [all...] |
/bionic/libc/stdlib/ |
H A D | strntoumax.c | 32 static inline int digitval(int ch) argument 36 d = (unsigned)(ch - '0'); 39 d = (unsigned)(ch - 'a'); 42 d = (unsigned)(ch - 'A');
|
/bionic/libm/src/ |
H A D | s_nan.c | 40 digittoint(char ch) argument 44 d = ch - '0'; 48 d = ch - 'a'; 52 d = ch - 'A';
|
/bionic/libc/inet/ |
H A D | inet_pton.c | 235 int ch, seen_xdigits; local 251 while ((ch = *src++) != '\0') { 254 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 255 pch = strchr((xdigits = xdigits_u), ch); 263 if (ch == ':') { 280 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
|
/bionic/libc/netbsd/nameser/ |
H A D | ns_ttl.c | 89 int ch; local 91 for (p = odst; (ch = *p) != '\0'; p++) 92 if (isascii(ch) && isupper(ch)) 93 *p = tolower(ch); 103 int ch, digits, dirty; local 109 while ((ch = *src++) != '\0') { 110 if (!isascii(ch) || !isprint(ch)) 112 if (isdigit(ch)) { [all...] |
H A D | ns_name.c | 681 * special(ch) 688 special(int ch) { argument 689 switch (ch) { 706 * printable(ch) 713 printable(int ch) { argument 714 return (ch > 0x20 && ch < 0x7f); 722 mklower(int ch) { argument 723 if (ch >= 0x41 && ch < [all...] |
/bionic/libc/netbsd/resolv/ |
H A D | res_comp.c | 172 int pch = PERIOD, ch = *dn++; local 174 while (ch != '\0') { 177 if (periodchar(ch)) { 180 if (!borderchar(ch)) 183 if (!borderchar(ch)) 186 if (!middlechar(ch)) 189 pch = ch, ch = nch; 215 int ch, escaped = 0; local 222 while ((ch 243 int ch; local [all...] |
/bionic/libc/kernel/arch-sh/asm/ |
H A D | sh_mobile_lcdc.h | 80 struct sh_mobile_lcdc_chan_cfg ch[2]; member in struct:sh_mobile_lcdc_info
|
/bionic/libc/unistd/ |
H A D | syslog.c | 109 char ch, *p, *t; local 194 for (t = fmt_cpy, fmt_left = FMT_LEN; (ch = *fmt); ++fmt) { 195 if (ch == '%' && fmt[1] == 'm') { 210 } else if (ch == '%' && fmt[1] == '%' && fmt_left > 2) { 217 *t++ = ch;
|
/bionic/libc/bionic/ |
H A D | malloc_debug_qemu.c | 580 char ch; local 588 ch = *prefix; 589 ch = *suffix;
|
/bionic/libc/regex/ |
H A D | engine.c | 840 int ch, /* character or NONCHAR code */ 858 assert(!NONCHAR(ch) || ch != (char)OPND(s)); 859 if (ch == (char)OPND(s)) 863 if (ch == BOL || ch == BOLEOL) 867 if (ch == EOL || ch == BOLEOL) 871 if (ch == BOW) 875 if (ch 836 step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft) argument 953 print(struct match *m, char *caption, states st, int ch, FILE *d) argument 999 pchar(int ch) argument [all...] |
H A D | regcomp.c | 856 static char /* if no counterpart, return ch */ 857 othercase(int ch) argument 859 ch = (uch)ch; 860 assert(isalpha(ch)); 861 if (isupper(ch)) 862 return ((uch)tolower(ch)); 863 else if (islower(ch)) 864 return ((uch)toupper(ch)); 866 return(ch); 875 bothcases(struct parse *p, int ch) argument 898 ordinary(struct parse *p, int ch) argument [all...] |
/bionic/linker/ |
H A D | linker_format.c | 58 out_send_repeat(Out *o, char ch, int count) argument 63 memset(pad, ch, sizeof(pad)); 335 int ch = *p; local 336 unsigned d = (unsigned)(ch - '0'); 379 int ch = pos[0]; local 381 end[0] = (char) ch;
|
/bionic/libc/stdio/ |
H A D | vfprintf.c | 173 int ch; /* character from fmt */ local 368 rflag: ch = *fmt++; 369 reswitch: switch (ch) { 401 if ((ch = *fmt++) == '*') { 407 while (is_digit(ch)) { 408 n = 10 * n + to_digit(ch); 409 ch = *fmt++; 411 if (ch == '$') { 434 n = 10 * n + to_digit(ch); 435 ch 876 int ch; /* character from fmt */ local 1228 cvt(double value, int ndigits, int flags, char *sign, int *decpt, int ch, int *length) argument [all...] |