Searched refs:pch (Results 1 – 2 of 2) sorted by relevance
83 const char *pch; in inet_pton4() local85 if ((pch = strchr(digits, ch)) != NULL) { in inet_pton4()86 u_int new = *tp * 10 + (pch - digits); in inet_pton4()144 const char *pch; in inet_pton6() local146 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_pton6()147 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()148 if (pch != NULL) { in inet_pton6()152 val |= (pch - xdigits); in inet_pton6()
172 int pch = PERIOD, ch = *dn++; in res_hnok() local179 } else if (periodchar(pch)) { in res_hnok()189 pch = ch, ch = nch; in res_hnok()