Searched defs:ch (Results 1 - 18 of 18) sorted by relevance

/bionic/libc/string/
H A Dindex.c34 index(const char *p, int ch) argument
37 if (*p == ch)
H A Dstrchr.c34 strchr(const char *p, int ch) argument
37 if (*p == ch)
H A Dstrrchr.c34 strrchr(const char *p, int ch) argument
39 if (*p == ch)
H A Dmemccpy.c36 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 Dbase64.c221 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 Dstrntoumax.c32 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 Ds_nan.c40 digittoint(char ch) argument
44 d = ch - '0';
48 d = ch - 'a';
52 d = ch - 'A';
/bionic/libc/inet/
H A Dinet_pton.c235 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 Dns_ttl.c89 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 Dns_name.c681 * 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 Dres_comp.c172 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 Dsh_mobile_lcdc.h80 struct sh_mobile_lcdc_chan_cfg ch[2]; member in struct:sh_mobile_lcdc_info
/bionic/libc/unistd/
H A Dsyslog.c109 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 Dmalloc_debug_qemu.c580 char ch; local
588 ch = *prefix;
589 ch = *suffix;
/bionic/libc/regex/
H A Dengine.c840 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 Dregcomp.c856 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 Dlinker_format.c58 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 Dvfprintf.c173 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...]

Completed in 169 milliseconds