Home
last modified time | relevance | path

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

/curl/lib/
H A Dhostip.c1128 struct curl_slist *hostp; in Curl_loadhostpairs() local
1134 for(hostp = data->state.resolve; hostp; hostp = hostp->next) { in Curl_loadhostpairs()
1136 if(!hostp->data) in Curl_loadhostpairs()
1138 if(hostp->data[0] == '-') { in Curl_loadhostpairs()
1142 host_end = strchr(&hostp->data[1], ':'); in Curl_loadhostpairs()
1145 hlen = host_end - &hostp->data[1]; in Curl_loadhostpairs()
1152 hostp->data); in Curl_loadhostpairs()
1156 entry_len = create_hostcache_id(&hostp->data[1], hlen, (int)num, in Curl_loadhostpairs()
1183 char *host_begin = hostp->data; in Curl_loadhostpairs()
1263 hostp->data); in Curl_loadhostpairs()
H A Ddoh.c93 const char *hostp = host; in doh_req_encode() local
143 while(*hostp) { in doh_req_encode()
145 char *dot = strchr(hostp, '.'); in doh_req_encode()
147 labellen = dot - hostp; in doh_req_encode()
149 labellen = strlen(hostp); in doh_req_encode()
157 memcpy(dnsp, hostp, labellen); in doh_req_encode()
159 hostp += labellen; in doh_req_encode()
162 hostp++; in doh_req_encode()
H A Daltsvc.c534 const char *hostp = p; in Curl_altsvc_parse() local
548 dstlen = p - hostp; in Curl_altsvc_parse()
555 dsthost = hostp; in Curl_altsvc_parse()
H A Durlapi.c1135 const char *hostp; in parseurl() local
1158 hostp = p; /* hostname starts here */ in parseurl()
1173 hostp = url; in parseurl()
1185 hostlen = strcspn(hostp, "/?#"); in parseurl()
1186 path = &hostp[hostlen]; in parseurl()
1192 result = parse_authority(u, hostp, hostlen, flags, &host, schemelen); in parseurl()
H A Dsetopt.c143 char **ifacep, char **hostp) in setstropt_interface() argument
152 DEBUGASSERT(hostp); in setstropt_interface()
166 free(*hostp); in setstropt_interface()
167 *hostp = host; in setstropt_interface()

Completed in 30 milliseconds