Searched refs:colonp (Results 1 – 5 of 5) sorted by relevance
/dragonfly/lib/libc/inet/ |
H A D | inet_pton.c | 133 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 140 colonp = NULL; in inet_pton6() 163 if (colonp) in inet_pton6() 165 colonp = tp; in inet_pton6() 192 if (colonp != NULL) { in inet_pton6() 197 const int n = tp - colonp; in inet_pton6() 203 endp[- i] = colonp[n - i]; in inet_pton6() 204 colonp[n - i] = 0; in inet_pton6()
|
H A D | inet_cidr_pton.c | 147 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_cidr_pton_ipv6() local 155 colonp = NULL; in inet_cidr_pton_ipv6() 180 if (colonp) in inet_cidr_pton_ipv6() 182 colonp = tp; in inet_cidr_pton_ipv6() 215 if (colonp != NULL) { in inet_cidr_pton_ipv6() 220 const int n = tp - colonp; in inet_cidr_pton_ipv6() 226 endp[- i] = colonp[n - i]; in inet_cidr_pton_ipv6() 227 colonp[n - i] = 0; in inet_cidr_pton_ipv6()
|
H A D | inet_net_pton.c | 258 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local 270 colonp = NULL; in inet_net_pton_ipv6() 297 if (colonp) in inet_net_pton_ipv6() 299 colonp = tp; in inet_net_pton_ipv6() 339 if (colonp != NULL) { in inet_net_pton_ipv6() 344 const int n = tp - colonp; in inet_net_pton_ipv6() 350 endp[- i] = colonp[n - i]; in inet_net_pton_ipv6() 351 colonp[n - i] = 0; in inet_net_pton_ipv6()
|
/dragonfly/contrib/tcpdump/ |
H A D | strtoaddr.c | 157 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in strtoaddr6() local 164 colonp = NULL; in strtoaddr6() 187 if (colonp) in strtoaddr6() 189 colonp = tp; in strtoaddr6() 215 if (colonp != NULL) { in strtoaddr6() 220 const ptrdiff_t n = tp - colonp; in strtoaddr6() 226 endp[- i] = colonp[n - i]; in strtoaddr6() 227 colonp[n - i] = 0; in strtoaddr6()
|
/dragonfly/contrib/libpcap/ |
H A D | pcap.c | 1729 char *colonp; local 1767 colonp = strchr(source, ':'); 1768 if (colonp == NULL) { 1793 if (strncmp(colonp + 1, "//", 2) != 0) { 1816 scheme_len = colonp - source; 1831 *pathp = strdup(colonp + 3); 1852 strchr(colonp + 3, '/') == NULL) { 1860 *pathp = strdup(colonp + 3); 1874 authority_len = strcspn(colonp + 3, "/"); 1875 authority = get_substring(colonp + 3, authority_len, ebuf); [all …]
|