Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 9 of 9) sorted by relevance

/resolv/
A Dinet_net_pton.c87 ch = *src++; in inet_net_pton_ipv4()
97 ch = _tolower(ch); in inet_net_pton_ipv4()
116 } else if (isascii(ch) && isdigit(ch)) { in inet_net_pton_ipv4()
128 } while (isascii((ch = *src++)) && isdigit(ch)); in inet_net_pton_ipv4()
132 if (ch == '\0' || ch == '/') in inet_net_pton_ipv4()
134 if (ch != '.') in inet_net_pton_ipv4()
136 ch = *src++; in inet_net_pton_ipv4()
137 if (!isascii(ch) || !isdigit(ch)) in inet_net_pton_ipv4()
153 } while (isascii((ch = *src++)) && isdigit(ch)); in inet_net_pton_ipv4()
154 if (ch != '\0') in inet_net_pton_ipv4()
[all …]
A Dinet_pton.c91 ch = *src++; in weak_alias()
92 if (ch >= '0' && ch <= '9') in weak_alias()
127 hex_digit_value (char ch) in hex_digit_value() argument
129 if ('0' <= ch && ch <= '9') in hex_digit_value()
130 return ch - '0'; in hex_digit_value()
131 if ('a' <= ch && ch <= 'f') in hex_digit_value()
132 return ch - 'a' + 10; in hex_digit_value()
133 if ('A' <= ch && ch <= 'F') in hex_digit_value()
147 int ch; in inet_pton6() local
170 ch = *src++; in inet_pton6()
[all …]
A Dns_ttl.c79 int ch; in ns_format_ttl() local
82 if (isascii(ch) && isupper(ch)) in ns_format_ttl()
83 *p = tolower(ch); in ns_format_ttl()
95 int ch, digits, dirty; in libresolv_hidden_def() local
101 while ((ch = *src++) != '\0') { in libresolv_hidden_def()
102 if (!isascii(ch) || !isprint(ch)) in libresolv_hidden_def()
104 if (isdigit(ch)) { in libresolv_hidden_def()
106 tmp += (ch - '0'); in libresolv_hidden_def()
112 if (islower(ch)) in libresolv_hidden_def()
113 ch = toupper(ch); in libresolv_hidden_def()
[all …]
A Dres-name-checking.c96 char ch = *dn; in printable_string() local
97 if (ch == '\0') in printable_string()
99 if (ch <= ' ' || ch > '~') in printable_string()
120 unsigned char ch = *dn; in binary_hnok() local
121 if (!(('0' <= ch && ch <= '9') in binary_hnok()
122 || ('A' <= ch && ch <= 'Z') in binary_hnok()
123 || ('a' <= ch && ch <= 'z') in binary_hnok()
124 || ch == '-' || ch == '_')) in binary_hnok()
A Dbase64.c196 int tarindex, state, ch; in libresolv_hidden_def() local
202 while ((ch = *src++) != '\0') { in libresolv_hidden_def()
206 if (ch == Pad64) in libresolv_hidden_def()
209 pos = strchr(Base64, ch); in libresolv_hidden_def()
264 ch = *src++; /* Skip it, get next. */ in libresolv_hidden_def()
272 for ((void)NULL; ch != '\0'; ch = *src++) in libresolv_hidden_def()
273 if (!isspace(ch)) in libresolv_hidden_def()
276 if (ch != Pad64) in libresolv_hidden_def()
278 ch = *src++; /* Skip the = */ in libresolv_hidden_def()
287 for ((void)NULL; ch != '\0'; ch = *src++) in libresolv_hidden_def()
[all …]
A Dns_name_ntop.c26 special (int ch) in special() argument
28 switch (ch) in special()
48 printable (int ch) in printable() argument
50 return ch > 0x20 && ch < 0x7f; in printable()
A Dtst-res_hnok.c116 for (int ch = 1; ch <= 255; ++ch) in one_char() local
119 snprintf (dn, sizeof (dn), "%s%c%s", prefix, ch, suffix); in one_char()
120 int expected = strchr (accepted, ch) != NULL; in one_char()
A Dns_name_pack.c26 mklower (int ch) in mklower() argument
28 if (ch >= 'A' && ch <= 'Z') in mklower()
29 return ch - 'A' + 'a'; in mklower()
30 return ch; in mklower()
A Dres_init.c120 is_sort_mask (char ch) in libc_hidden_def()
122 return ch == '/' || ch == '&'; in libc_hidden_def()

Completed in 18 milliseconds