Home
last modified time | relevance | path

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

/external/curl/lib/
Dinet_pton.c155 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
162 colonp = NULL; in inet_pton6()
187 if(colonp) in inet_pton6()
189 colonp = tp; in inet_pton6()
214 if(colonp != NULL) { in inet_pton6()
219 const ssize_t n = tp - colonp; in inet_pton6()
225 *(endp - i) = *(colonp + n - i); in inet_pton6()
226 *(colonp + n - i) = 0; in inet_pton6()
/external/tcpdump/
Dstrtoaddr.c161 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in strtoaddr6() local
168 colonp = NULL; in strtoaddr6()
191 if (colonp) in strtoaddr6()
193 colonp = tp; in strtoaddr6()
219 if (colonp != NULL) { in strtoaddr6()
224 const ptrdiff_t n = tp - colonp; in strtoaddr6()
230 endp[- i] = colonp[n - i]; in strtoaddr6()
231 colonp[n - i] = 0; in strtoaddr6()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dinet_net_pton.c274 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6() local
286 colonp = NULL; in inet_net_pton_ipv6()
313 if (colonp) in inet_net_pton_ipv6()
315 colonp = tp; in inet_net_pton_ipv6()
355 if (colonp != NULL) { in inet_net_pton_ipv6()
360 const ares_ssize_t n = tp - colonp; in inet_net_pton_ipv6()
366 *(endp - i) = *(colonp + n - i); in inet_net_pton_ipv6()
367 *(colonp + n - i) = 0; in inet_net_pton_ipv6()
/external/libpcap/
Dpcap.c1729 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 …]
/external/libpcap/rpcapd/
Ddaemon.c3063 char *colonp; in is_url() local
3085 colonp = strchr(source, ':'); in is_url()
3086 if (colonp == NULL) in is_url()
3104 if (strncmp(colonp + 1, "//", 2) != 0) in is_url()