Home
last modified time | relevance | path

Searched refs:hostp (Results 1 – 6 of 6) sorted by relevance

/external/curl/lib/
Dhostcheck.c126 char *hostp; in Curl_cert_hostcheck() local
134 hostp = strdup(hostname); in Curl_cert_hostcheck()
135 if(hostp) { in Curl_cert_hostcheck()
136 if(hostmatch(hostp, matchp) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
138 free(hostp); in Curl_cert_hostcheck()
Dhostip.c779 struct curl_slist *hostp; in Curl_loadhostpairs() local
784 for(hostp = data->change.resolve; hostp; hostp = hostp->next) { in Curl_loadhostpairs()
785 if(!hostp->data) in Curl_loadhostpairs()
787 if(hostp->data[0] == '-') { in Curl_loadhostpairs()
791 if(2 != sscanf(hostp->data + 1, "%255[^:]:%d", hostname, &port)) { in Curl_loadhostpairs()
793 hostp->data); in Curl_loadhostpairs()
824 if(3 != sscanf(hostp->data, "%255[^:]:%d:%255s", hostname, &port, in Curl_loadhostpairs()
827 hostp->data); in Curl_loadhostpairs()
833 infof(data, "Address in '%s' found illegal!\n", hostp->data); in Curl_loadhostpairs()
/external/openssh/
Dssh.c371 resolve_canonicalize(char **hostp, int port) in resolve_canonicalize() argument
391 if ((addrs = resolve_addr(*hostp, port, in resolve_canonicalize()
393 debug2("%s: hostname %.100s is address", __func__, *hostp); in resolve_canonicalize()
394 if (strcasecmp(*hostp, newname) != 0) { in resolve_canonicalize()
396 __func__, *hostp, newname); in resolve_canonicalize()
397 free(*hostp); in resolve_canonicalize()
398 *hostp = xstrdup(newname); in resolve_canonicalize()
404 if ((*hostp)[strlen(*hostp) - 1] == '.') { in resolve_canonicalize()
406 fullhost = xstrdup(*hostp); in resolve_canonicalize()
416 for (cp = *hostp; *cp != '\0'; cp++) { in resolve_canonicalize()
[all …]
Dmisc.c468 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) in parse_user_host_port() argument
476 if (hostp != NULL) in parse_user_host_port()
477 *hostp = NULL; in parse_user_host_port()
506 if (hostp != NULL) { in parse_user_host_port()
507 *hostp = host; in parse_user_host_port()
Dsshconnect.c816 char hostline[1000], *hostp, *fp, *ra; in check_host_key() local
1008 hostp = hostline; in check_host_key()
1024 hostp = host; in check_host_key()
1032 "list of known hosts.", hostp, type); in check_host_key()
/external/python/cpython2/Modules/
Dsocketmodule.c4283 char *hostp; local
4300 &hostp, &port, &flowinfo, &scope_id))
4313 error = getaddrinfo(hostp, pbuf, &hints, &res);