Home
last modified time | relevance | path

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

/curl/lib/
H A Dselect.c495 DEBUGASSERT(cwfds); in Curl_waitfds_init()
497 memset(cwfds, 0, sizeof(*cwfds)); in Curl_waitfds_init()
498 cwfds->wfds = static_wfds; in Curl_waitfds_init()
499 cwfds->count = static_count; in Curl_waitfds_init()
507 if(cwfds->n <= INT_MAX) { in cwfds_add_sock()
509 if(sock == cwfds->wfds[i].fd) { in cwfds_add_sock()
516 if(cwfds->n >= cwfds->count) in cwfds_add_sock()
518 cwfds->wfds[cwfds->n].fd = sock; in cwfds_add_sock()
519 cwfds->wfds[cwfds->n].events = events; in cwfds_add_sock()
520 ++cwfds->n; in cwfds_add_sock()
[all …]
H A Dselect.h139 void Curl_waitfds_init(struct curl_waitfds *cwfds,
143 CURLcode Curl_waitfds_add_ps(struct curl_waitfds *cwfds,
H A Dconncache.h189 struct curl_waitfds *cwfds);
H A Dconncache.c930 struct curl_waitfds *cwfds) in Curl_cpool_add_waitfds() argument
948 result = Curl_waitfds_add_ps(cwfds, &ps); in Curl_cpool_add_waitfds()
H A Dmulti.c1192 struct curl_waitfds cwfds; in curl_multi_waitfds() local
1206 Curl_waitfds_init(&cwfds, ufds, size); in curl_multi_waitfds()
1210 if(Curl_waitfds_add_ps(&cwfds, &data->last_poll)) { in curl_multi_waitfds()
1216 if(Curl_cpool_add_waitfds(&multi->cpool, &cwfds)) { in curl_multi_waitfds()
1223 *fd_count = cwfds.n; in curl_multi_waitfds()

Completed in 17 milliseconds