Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 17 of 17) sorted by relevance

/reactos/sdk/lib/3rdparty/adns/src/
H A Dpoll.c35 int adns_beforepoll(adns_state ads, struct pollfd *fds, int *nfds_io, int *timeout_io, in adns_beforepoll() argument
71 found= adns__pollfds(ads,fds); in adns_beforepoll()
77 memcpy(fds,fds_tmp,sizeof(struct pollfd)*found); in adns_beforepoll()
85 void adns_afterpoll(adns_state ads, const struct pollfd *fds, int nfds, in adns_afterpoll() argument
93 adns__fdevents(ads, fds,nfds, 0,0,0,0, *now,0); in adns_afterpoll()
103 struct pollfd fds[MAX_POLLFDS]; in adns_wait_poll() local
111 adns_beforepoll(ads,fds,&nfds,&to,0); in adns_wait_poll()
112 r= poll(fds,nfds,to); in adns_wait_poll()
122 adns_afterpoll(ads,fds,nfds,0); in adns_wait_poll()
H A Dadns.h732 ADNS_API int adns_beforepoll(adns_state ads, struct pollfd *fds, int *nfds_io, int *timeout_io,
784 ADNS_API void adns_afterpoll(adns_state ads, const struct pollfd *fds, int nfds,
H A Devent.c524 int maxfd, const fd_set *fds, in fd_event() argument
530 if (fds && !((int)fd<maxfd && FD_ISSET(fd,fds))) return; in fd_event()
/reactos/modules/rosapps/applications/net/ncftp/sio/
H A DSSelect.c26 FD_SET(fd, &ssp->fds); in SelectSetAdd()
39 if ((fd >= 0) && (FD_ISSET(fd, &ssp->fds))) { in SelectSetRemove()
40 FD_CLR(fd, &ssp->fds); in SelectSetRemove()
57 …rc = select(resultssp->maxfd, NULL, SELECT_TYPE_ARG234 &resultssp->fds, NULL, SELECT_TYPE_ARG5 &re… in SelectW()
71 …rc = select(resultssp->maxfd, SELECT_TYPE_ARG234 &resultssp->fds, NULL, NULL, SELECT_TYPE_ARG5 &re… in SelectR()
H A Dsio.h7 fd_set fds; member
/reactos/drivers/network/tcpip/lwip/src/api/
H A Dsockets.c2248 fds[fdi].revents = 0; in lwip_pollscan()
2255 if (fds[fdi].fd >= 0 && (fds[fdi].revents & POLLNVAL) == 0) { in lwip_pollscan()
2288 fds[fdi].revents |= POLLIN; in lwip_pollscan()
2293 fds[fdi].revents |= POLLOUT; in lwip_pollscan()
2299 fds[fdi].revents |= POLLERR; in lwip_pollscan()
2306 fds[fdi].revents |= POLLNVAL; in lwip_pollscan()
2313 if (fds[fdi].revents != 0) { in lwip_pollscan()
2333 if(fds) { in lwip_poll_inc_sockets_used()
2337 tryget_socket_unconn(fds[fdi].fd); in lwip_poll_inc_sockets_used()
2348 if(fds) { in lwip_poll_dec_sockets_used()
[all …]
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A Dsockets.h623 int lwip_poll(struct pollfd *fds, nfds_t nfds, int timeout);
672 #define poll(fds,nfds,timeout) lwip_poll(fds,nfds,timeout) argument
/reactos/dll/directx/wine/ddraw/
H A Dddraw.c4156 TRACE("iface %p, fds %p, fdr %p.\n", iface, fds, fdr); in d3d3_FindDevice()
4158 if (!fds || !fdr) return DDERR_INVALIDPARAMS; in d3d3_FindDevice()
4164 if ((fds->dwFlags & D3DFDS_COLORMODEL) in d3d3_FindDevice()
4165 && fds->dcmColorModel != D3DCOLOR_RGB) in d3d3_FindDevice()
4171 if (fds->dwFlags & D3DFDS_GUID) in d3d3_FindDevice()
4174 if (!IsEqualGUID(&IID_D3DDEVICE_WineD3D, &fds->guid) in d3d3_FindDevice()
4175 && !IsEqualGUID(&IID_IDirect3DHALDevice, &fds->guid) in d3d3_FindDevice()
4218 TRACE("iface %p, fds %p, fdr %p.\n", iface, fds, fdr); in d3d2_FindDevice()
4220 return d3d3_FindDevice(&ddraw->IDirect3D3_iface, fds, fdr); in d3d2_FindDevice()
4227 TRACE("iface %p, fds %p, fdr %p.\n", iface, fds, fdr); in d3d1_FindDevice()
[all …]
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/vnc/
H A Dvnc.c344 fd_set fds; in ui_select() local
352 fds = server->allFds; in ui_select()
353 FD_SET(rdpSocket, &fds); in ui_select()
356 n = select(m + 1, &fds, NULL, NULL, &tv); in ui_select()
361 if (FD_ISSET(rdpSocket, &fds)) in ui_select()
/reactos/sdk/lib/3rdparty/libmpg123/
H A Dreaders.c73 fd_set fds; in timeout_read() local
76 FD_ZERO(&fds); in timeout_read()
77 FD_SET(fr->rdat.filept, &fds); in timeout_read()
78 ret = select(fr->rdat.filept+1, &fds, NULL, NULL, &tv); in timeout_read()
/reactos/dll/win32/netapi32/
H A Dnbt.c295 struct fd_set fds; in NetBTWaitForNameResponse() local
299 FD_ZERO(&fds); in NetBTWaitForNameResponse()
300 FD_SET(fd, &fds); in NetBTWaitForNameResponse()
301 r = select(fd + 1, &fds, NULL, NULL, &timeout); in NetBTWaitForNameResponse()
/reactos/dll/3rdparty/libtirpc/src/
H A Dsvc_vc.c820 __svc_clean_idle(fd_set *fds, int timeout, bool_t cleanblock) in __svc_clean_idle() argument
832 if (FD_ISSET(i, fds)) { in __svc_clean_idle()
/reactos/sdk/include/psdk/
H A Dmswsock.h259 ULONG fds; member
H A Dwinsock2.h2699 _In_ ULONG fds,
/reactos/modules/rostests/winetests/ws2_32/
H A Dsock.c7316 #define POLL_SET(s, ev) {fds[ix].fd = s; fds[ix++].events = ev;}
7322 if (fds[k].fd == s && (fds[k].revents == rev)) return TRUE; in poll_isset()
7333 WSAPOLLFD fds[16]; in test_WSAPoll() local
7380 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7387 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7399 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7415 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7428 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7445 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
7462 ret = pWSAPoll(fds, ix, poll_timeout); in test_WSAPoll()
[all …]
/reactos/sdk/lib/3rdparty/adns/
H A Dchangelog184 * Promise not to change fds in adns_beforepoll (if now is specified).
/reactos/drivers/network/tcpip/include/
H A Dlinux.h1835 extern int do_select(int n, fd_set_bits *fds, long *timeout);