Searched refs:nfds (Results 1 – 8 of 8) sorted by relevance
/curl/tests/libtest/ |
H A D | first.c | 46 int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc, in select_wrapper() argument 49 if(nfds < 0) { in select_wrapper() 59 if(!nfds) { in select_wrapper() 64 return select(nfds, rd, wr, exc, tv); in select_wrapper()
|
H A D | test.h | 68 extern int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
|
/curl/lib/ |
H A D | select.c | 268 int Curl_poll(struct pollfd ufds[], unsigned int nfds, timediff_t timeout_ms) in Curl_poll() argument 283 for(i = 0; i < nfds; i++) { in Curl_poll() 313 r = poll(ufds, nfds, pending_ms); in Curl_poll() 321 for(i = 0; i < nfds; i++) { in Curl_poll() 337 for(i = 0; i < nfds; i++) { in Curl_poll() 370 for(i = 0; i < nfds; i++) { in Curl_poll()
|
H A D | amigaos.c | 182 int Curl_amiga_select(int nfds, fd_set *readfds, fd_set *writefds, in Curl_amiga_select() argument 185 int r = WaitSelect(nfds, readfds, writefds, errorfds, timeout, 0); in Curl_amiga_select()
|
H A D | asyn-ares.c | 316 int nfds; in waitperform() local 344 nfds = Curl_poll(pfd, (unsigned int)num, timeout_ms); in waitperform() 345 if(nfds < 0) in waitperform() 349 nfds = 0; in waitperform() 351 if(!nfds) in waitperform() 365 return nfds; in waitperform()
|
H A D | select.h | 84 int Curl_poll(struct pollfd ufds[], unsigned int nfds, timediff_t timeout_ms);
|
H A D | curl_setup.h | 426 int Curl_amiga_select(int nfds, fd_set *readfds, fd_set *writefds,
|
/curl/tests/server/ |
H A D | sockfilt.c | 633 static int select_ws(int nfds, fd_set *readfds, fd_set *writefds, in select_ws() argument 646 if(nfds < 0) { in select_ws() 660 if(!nfds) { in select_ws() 673 data = calloc(nfds, sizeof(struct select_ws_data)); in select_ws() 681 handles = calloc(nfds + 1, sizeof(HANDLE)); in select_ws() 693 for(fd = 0; fd < nfds; fd++) { in select_ws() 873 for(fd = 0; fd < nfds; fd++) { in select_ws()
|
Completed in 22 milliseconds