Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c83 const char *pch; in inet_pton4() local
85 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() local
146 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()
/bionic/libc/dns/resolv/
Dres_comp.c172 int pch = PERIOD, ch = *dn++; in res_hnok() local
179 } else if (periodchar(pch)) { in res_hnok()
189 pch = ch, ch = nch; in res_hnok()