Searched refs:pollfd (Results 1 - 25 of 104) sorted by relevance

12345

/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dpoll.h96 struct pollfd struct
115 extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll);
/macosx-10.10.1/vim-55/src/auto/
H A Dosdef.h33 struct pollfd; /* for poll __ARGS */
34 extern int poll __ARGS((struct pollfd *, long, int));
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dpoll_fd.c232 struct pollfd pollfd; local
239 pollfd.fd = fd;
241 pollfd.events = POLLIN;
243 pollfd.events = POLLOUT;
249 switch (poll(&pollfd, 1, time_limit < 0 ?
261 if (pollfd.revents & POLLNVAL)
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/
H A Dconnection.c247 struct pollfd pollfd; local
250 pollfd.fd = ts->ts_cons[i];
251 pollfd.events = POLLOUT;
252 if (poll(&pollfd, 1, -1) == 1)
265 struct pollfd pollfd; local
271 pollfd.fd = ts->ts_lsns[i];
272 pollfd.events = POLLIN;
273 if (poll(&pollfd,
[all...]
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dselect.h34 * Definition of pollfd struct and constants for platforms lacking them.
48 struct pollfd struct
82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
/macosx-10.10.1/uucp-11/uucp/unix/
H A Dpause.c50 /* We need a definition for struct pollfd, although it doesn't matter
52 struct pollfd struct
82 struct pollfd sdummy;
84 /* We need to pass an unused pollfd structure because poll checks
/macosx-10.10.1/apr-32/apr/apr/poll/unix/
H A Dpoll.c78 struct pollfd pollset[num];
80 struct pollfd *pollset = alloca(sizeof(struct pollfd) * num);
84 struct pollfd tmp_pollset[SMALL_POLLSET_LIMIT];
85 struct pollfd *pollset;
94 pollset = malloc(sizeof(struct pollfd) * num);
152 struct pollfd *pollset;
171 pollset->p->pollset = apr_palloc(p, size * sizeof(struct pollfd));
331 pollcb->pollset.ps = apr_palloc(p, size * sizeof(struct pollfd));
418 apr_pollfd_t *pollfd local
[all...]
H A Dport.c544 apr_pollfd_t *pollfd; local
553 pollfd = (apr_pollfd_t *)(pollcb->pollset.port[i].portev_user);
554 pollfd->rtnevents = get_revent(pollcb->pollset.port[i].portev_events);
556 rv = func(baton, pollfd);
560 rv = apr_pollcb_add(pollcb, pollfd);
/macosx-10.10.1/SmartcardCCID-55008/libusb/libusb/libusb/os/
H A Dpoll_windows.h55 struct pollfd { struct
78 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
H A Dopenbsd_usb.c77 static int obsd_handle_events(struct libusb_context *ctx, struct pollfd *,
484 obsd_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds,
490 struct pollfd *pollfd; local
497 pollfd = &fds[i];
499 if (!pollfd->revents)
508 if (hpriv->pipe[0] == pollfd->fd)
515 usbi_dbg("fd %d is not an event pipe!", pollfd->fd);
520 if (pollfd->revents & POLLERR) {
/macosx-10.10.1/apache-793/httpd/modules/proxy/
H A Dmod_proxy_connect.c215 apr_pollfd_t pollfd; local
321 pollfd.p = r->pool;
322 pollfd.desc_type = APR_POLL_SOCKET;
323 pollfd.reqevents = APR_POLLIN;
324 pollfd.desc.s = client_socket;
325 pollfd.client_data = NULL;
326 apr_pollset_add(pollset, &pollfd);
329 pollfd.desc.s = sock;
330 apr_pollset_add(pollset, &pollfd);
H A Dmod_proxy_wstunnel.c174 apr_pollfd_t pollfd; local
225 pollfd.p = p;
226 pollfd.desc_type = APR_POLL_SOCKET;
227 pollfd.reqevents = APR_POLLIN;
228 pollfd.desc.s = sock;
229 pollfd.client_data = NULL;
230 apr_pollset_add(pollset, &pollfd);
232 pollfd.desc.s = client_socket;
233 apr_pollset_add(pollset, &pollfd);
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dexp_poll.c31 static struct pollfd initialFdArray;
32 static struct pollfd *fdArray = &initialFdArray;
262 fdArray = (struct pollfd *)ckalloc(fdsInUse*sizeof(struct pollfd));
348 memcpy(&fdArray[cur_fd_index],&fdArray[fdsInUse],sizeof(struct pollfd));
/macosx-10.10.1/OpenSSH-189/openssh/
H A Datomicio.c57 struct pollfd pfd;
103 struct pollfd pfd;
H A Dmonitor_fdpass.c61 struct pollfd pfd;
123 struct pollfd pfd;
/macosx-10.10.1/WebKit2-7600.1.25/Platform/IPC/unix/
H A DConnectionUnix.cpp529 struct pollfd pollfd; local
531 pollfd.fd = m_socketDescriptor;
532 pollfd.events = POLLOUT;
533 pollfd.revents = 0;
534 poll(&pollfd, 1, -1);
/macosx-10.10.1/apr-32/apr/apr/support/unix/
H A Dwaitio.c43 struct pollfd pfd;
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/
H A Dtvsleep.c115 struct pollfd pfd;
/macosx-10.10.1/vim-55/src/
H A Dosdef1.h.in46 struct pollfd; /* for poll __ARGS */
47 extern int poll __ARGS((struct pollfd *, long, int));
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-run/
H A Dio.cpp244 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout)
322 atf::utils::auto_array< struct pollfd > poll_fds(new struct pollfd[m_nfds]);
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfpoll.c106 { struct pollfd* fds;
114 if(!(fds = (struct pollfd*)malloc(m*sizeof(struct pollfd))) )
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dselect.c93 * a. Regular array of pollfd, sorted the same as the CUPS
95 * b. Loop through pollfd array, call the corresponding
98 * pollfd array as invalid.
99 * d. cupsdDoSelect() rebuilds pollfd array as needed, calls
100 * poll(), then loops through the pollfd array looking up
102 * e. cupsdRemoveSelect() flags the pollfd array as invalid.
104 * CUPS array and pollfd array.
137 * array of pollfd structs; on failure to open /dev/poll,
139 * b. cupsdAddSelect() writes a single pollfd struct to
142 * c. cupsdRemoveSelect() writes a single pollfd struc
[all...]
/macosx-10.10.1/apache-793/httpd/support/
H A Drotatelogs.c532 apr_pollfd_t pollfd = { 0 }; local
639 pollfd.p = status.pool;
640 pollfd.desc_type = APR_POLL_FILE;
641 pollfd.reqevents = APR_POLLIN;
642 pollfd.desc.f = f_stdin;
663 pollret = apr_poll(&pollfd, 1, &pollret, apr_time_from_sec(polltimeout));
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tty/
H A Dlib_twait.c164 struct pollfd fd_list[MIN_FDS];
165 struct pollfd *fds = fd_list;
205 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count);

Completed in 398 milliseconds

12345