Home
last modified time | relevance | path

Searched refs:colonp (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ntp/libntp/lib/isc/
H A Dinet_pton.c138 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/contrib/tcpdump/
H A Dstrtoaddr.c157 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()
/freebsd/sys/libkern/
H A Dinet_pton.c128 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 Dinet_pton.c132 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 Dinet_cidr_pton.c152 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 Dinet_net_pton.c264 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/unbound/compat/
H A Dinet_pton.c154 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 Dinet_pton.c154 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 Dpcap.c1724 char *colonp; local
1762 colonp = strchr(source, ':');
1763 if (colonp == NULL) {
1788 if (strncmp(colonp + 1, "//", 2) != 0) {
1811 scheme_len = colonp - source;
1826 *pathp = strdup(colonp + 3);
1847 strchr(colonp + 3, '/') == NULL) {
1855 *pathp = strdup(colonp + 3);
1869 authority_len = strcspn(colonp + 3, "/");
1870 authority = get_substring(colonp + 3, authority_len, ebuf);
[all …]
/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c3093 char *colonp; in is_url() local
3115 colonp = strchr(source, ':'); in is_url()
3116 if (colonp == NULL) in is_url()
3134 if (strncmp(colonp + 1, "//", 2) != 0) in is_url()