Lines Matching refs:end

11 static u_char *nxt_inet6_ntop(u_char *addr, u_char *buf, u_char *end);
232 u_char *p, *start, *end, *octet; in nxt_sockaddr_text() local
240 end = start + sa->length; in nxt_sockaddr_text()
249 p = nxt_sprintf(start, end, "%ud.%ud.%ud.%ud", in nxt_sockaddr_text()
267 p = nxt_inet6_ntop(sa->u.sockaddr_in6.sin6_addr.s6_addr, p, end); in nxt_sockaddr_text()
295 p = nxt_sprintf(start, end, "unix:@%*s", length - 1, p + 1); in nxt_sockaddr_text()
298 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
303 p = nxt_sprintf(start, end, "unix:%s", p); in nxt_sockaddr_text()
319 p = nxt_sprintf(p, end, ":%d", ntohs(port)); in nxt_sockaddr_text()
435 nxt_inet6_ntop(u_char *addr, u_char *buf, u_char *end) in nxt_inet6_ntop() argument
444 if (buf + max_inet6_length > end) { in nxt_inet6_ntop()
505 p = nxt_sprintf(p, end, "%uxd", (addr[i] << 8) + addr[i + 1]); in nxt_inet6_ntop()
513 p = nxt_sprintf(p, end, "%ud.%ud.%ud.%ud", in nxt_inet6_ntop()
647 u_char *p, *start, *end; in nxt_sockaddr_inet6_parse() local
656 end = memchr(start, ']', length); in nxt_sockaddr_inet6_parse()
657 if (nxt_slow_path(end == NULL)) { in nxt_sockaddr_inet6_parse()
661 p = end + 1; in nxt_sockaddr_inet6_parse()
666 end = addr->start + addr->length; in nxt_sockaddr_inet6_parse()
695 ret = nxt_inet6_addr(&sa->u.sockaddr_in6.sin6_addr, start, end - start); in nxt_sockaddr_inet6_parse()
776 u_char c, *end; in nxt_inet_addr() local
788 end = buf + length; in nxt_inet_addr()
790 while (buf < end) { in nxt_inet_addr()
826 u_char c, *addr, *zero_start, *ipv4, *dst, *src, *end; in nxt_inet6_addr() local
833 end = buf + length; in nxt_inet6_addr()
846 while (buf < end) { in nxt_inet6_addr()
880 group = nxt_inet_addr(ipv4, end - ipv4); in nxt_inet6_addr()
965 u_char *colon, *end; in nxt_inet6_probe() local
970 end = str->start + str->length; in nxt_inet6_probe()
971 colon = memchr(colon + 1, ':', end - (colon + 1)); in nxt_inet6_probe()