/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | inet_pton.c | 138 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 145 colonp = NULL; in inet_pton6() 168 if (colonp) in inet_pton6() 170 colonp = tp; in inet_pton6() 195 if (colonp != NULL) { in inet_pton6() 200 const size_t n = tp - colonp; in inet_pton6() 206 endp[- i] = colonp[n - i]; in inet_pton6() 207 colonp[n - i] = 0; in inet_pton6()
|
/freebsd/sys/libkern/ |
H A D | inet_pton.c | 128 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 135 colonp = NULL; in inet_pton6() 158 if (colonp) in inet_pton6() 160 colonp = tp; in inet_pton6() 187 if (colonp != NULL) { in inet_pton6() 192 const int n = tp - colonp; in inet_pton6() 198 endp[- i] = colonp[n - i]; in inet_pton6() 199 colonp[n - i] = 0; in inet_pton6()
|
/freebsd/lib/libc/inet/ |
H A D | inet_pton.c | 132 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 139 colonp = NULL; in inet_pton6() 162 if (colonp) in inet_pton6() 164 colonp = tp; in inet_pton6() 191 if (colonp != NULL) { in inet_pton6() 196 const int n = tp - colonp; in inet_pton6() 202 endp[- i] = colonp[n - i]; in inet_pton6() 203 colonp[n - i] = 0; in inet_pton6()
|
H A D | inet_cidr_pton.c | 152 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_cidr_pton_ipv6() local 160 colonp = NULL; in inet_cidr_pton_ipv6() 185 if (colonp) in inet_cidr_pton_ipv6() 187 colonp = tp; in inet_cidr_pton_ipv6() 220 if (colonp != NULL) { in inet_cidr_pton_ipv6() 225 const int n = tp - colonp; in inet_cidr_pton_ipv6() 231 endp[- i] = colonp[n - i]; in inet_cidr_pton_ipv6() 232 colonp[n - i] = 0; in inet_cidr_pton_ipv6()
|
H A D | inet_net_pton.c | 264 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local 276 colonp = NULL; in inet_net_pton_ipv6() 303 if (colonp) in inet_net_pton_ipv6() 305 colonp = tp; in inet_net_pton_ipv6() 345 if (colonp != NULL) { in inet_net_pton_ipv6() 350 const int n = tp - colonp; in inet_net_pton_ipv6() 356 endp[- i] = colonp[n - i]; in inet_net_pton_ipv6() 357 colonp[n - i] = 0; in inet_net_pton_ipv6()
|
/freebsd/contrib/tcpdump/ |
H A D | strtoaddr.c | 155 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in strtoaddr6() local 162 colonp = NULL; in strtoaddr6() 185 if (colonp) in strtoaddr6() 187 colonp = tp; in strtoaddr6() 213 if (colonp != NULL) { in strtoaddr6() 218 const ptrdiff_t n = tp - colonp; in strtoaddr6() 224 endp[- i] = colonp[n - i]; in strtoaddr6() 225 colonp[n - i] = 0; in strtoaddr6()
|
/freebsd/contrib/unbound/compat/ |
H A D | inet_pton.c | 154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 161 colonp = NULL; 185 if (colonp) 187 colonp = tp; 212 if (colonp != NULL) { 217 const int n = tp - colonp; 221 endp[- i] = colonp[n - i]; 222 colonp[n - i] = 0;
|
/freebsd/contrib/ldns/compat/ |
H A D | inet_pton.c | 154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 161 colonp = NULL; 185 if (colonp) 187 colonp = tp; 212 if (colonp != NULL) { 217 const int n = tp - colonp; 221 endp[- i] = colonp[n - i]; 222 colonp[n - i] = 0;
|
/freebsd/contrib/libpcap/ |
H A D | pcap.c | 1775 char *colonp; local 1813 colonp = strchr(source, ':'); 1814 if (colonp == NULL) { 1839 if (strncmp(colonp + 1, "//", 2) != 0) { 1862 scheme_len = colonp - source; 1877 *pathp = strdup(colonp + 3); 1898 strchr(colonp + 3, '/') == NULL) { 1906 *pathp = strdup(colonp + 3); 1920 authority_len = strcspn(colonp + 3, "/"); 1921 authority = get_substring(colonp + 3, authority_len, ebuf); [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 3095 char *colonp; in is_url() local 3117 colonp = strchr(source, ':'); in is_url() 3118 if (colonp == NULL) in is_url() 3136 if (strncmp(colonp + 1, "//", 2) != 0) in is_url()
|