Home
last modified time | relevance | path

Searched refs:colonp (Results 1 – 3 of 3) 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()
186 if(colonp) in inet_pton6()
188 colonp = tp; in inet_pton6()
213 if(colonp != NULL) { in inet_pton6()
218 const ssize_t n = tp - colonp; in inet_pton6()
224 *(endp - i) = *(colonp + n - i); in inet_pton6()
225 *(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/libpcap/
Dpcap.c1476 char *colonp;
1514 colonp = strchr(source, ':');
1515 if (colonp == NULL) {
1540 if (strncmp(colonp + 1, "//", 2) != 0) {
1563 scheme_len = colonp - source;
1579 *pathp = strdup(colonp + 3);
1597 strchr(colonp + 3, '/') == NULL) {
1605 *pathp = strdup(colonp + 3);
1619 authority_len = strcspn(colonp + 3, "/");
1620 authority = get_substring(colonp + 3, authority_len, ebuf);
[all …]