Lines Matching refs:ep
214 char* ep; in str2number() local
220 ep = NULL; in str2number()
222 v = strtoul(p, &ep, 10); in str2number()
223 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number()
772 char* ep; in ip6_str2scopeid() local
804 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid()
806 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid()
839 char *bp, *ep; in getanswer() local
870 ep = hostbuf + sizeof hostbuf; in getanswer()
877 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
901 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
929 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer()
933 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()