Lines Matching refs:ep
218 char* ep; in str2number() local
224 ep = NULL; in str2number()
226 v = strtoul(p, &ep, 10); in str2number()
227 if (errno == 0 && ep && *ep == '\0' && v <= UINT_MAX) in str2number()
794 char* ep; in ip6_str2scopeid() local
817 lscopeid = strtoul(scope, &ep, 10); in ip6_str2scopeid()
819 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) in ip6_str2scopeid()
852 char *bp, *ep; in getanswer() local
883 ep = hostbuf + sizeof hostbuf; in getanswer()
890 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer()
914 n = dn_expand(answer.data(), eom, cp, bp, ep - bp); in getanswer()
942 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer()
946 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()