/freebsd-10.0-release/contrib/serf/ |
H A D | serf.h | 143 * Both @a pfd and @a serf_baton should be used when calling serf_event_trigger 148 apr_pollfd_t *pfd, 152 * Callback function. Remove the socket, identified by both @a pfd and 157 apr_pollfd_t *pfd, 176 * Make serf process events on a connection, identified by both @a pfd and 188 const apr_pollfd_t *pfd);
|
/freebsd-10.0-release/contrib/tnftp/src/ |
H A D | ftp.c | 521 struct pollfd pfd[2]; local 525 pfd[nfd].fd = fileno(ecin); 526 pfd[nfd++].events = POLLIN; 530 pfd[nfd].fd = fileno(din); 531 pfd[nfd++].events = POLLIN; 534 if ((nr = ftp_poll(pfd, nfd, sec * 1000)) <= 0) 540 nr |= (pfd[nfd++].revents & POLLIN) ? 1 : 0; 542 nr |= (pfd[nfd++].revents & POLLIN) ? 2 : 0; 1655 struct pollfd pfd[1]; local 1671 pfd[ [all...] |
H A D | util.c | 1334 struct pollfd pfd[1]; local 1384 pfd[0].fd = sock; 1385 pfd[0].events = POLLIN|POLLOUT; 1411 pfd[0].revents = 0; 1412 rv = ftp_poll(pfd, 1, timeout); 1423 } else if (pfd[0].revents & (POLLIN|POLLOUT)) {
|
/freebsd-10.0-release/contrib/less/ |
H A D | filename.c | 834 open_altfile(filename, pf, pfd) 837 void **pfd; 919 *pfd = NULL; 926 *pfd = (void *) fd;
|
/freebsd-10.0-release/sbin/swapon/ |
H A D | swapon.c | 643 int pfd[2], nfd, dup2dn; local 675 if (pipe(&pfd[0]) == -1) { 679 *ofd = pfd[0]; 687 if (dup2(pfd[1], STDOUT_FILENO) < 0)
|
/freebsd-10.0-release/lib/libusb/ |
H A D | libusb20.c | 1017 struct pollfd pfd[1]; local 1022 pfd[0].fd = pdev->file; 1023 pfd[0].events = (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM); 1024 pfd[0].revents = 0; 1026 if (poll(pfd, 1, timeout)) {
|
/freebsd-10.0-release/sbin/devd/ |
H A D | devd.cc | 865 struct pollfd pfd; local 875 pfd.events = 0; 877 pfd.fd = *i; 878 s = poll(&pfd, 1, 0); 880 (s > 0 && (pfd.revents & POLLHUP))) {
|
/freebsd-10.0-release/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 982 struct pollfd pfd[1]; local 985 pfd[0].fd = sock; 986 pfd[0].events = POLLIN; 987 pfd[0].revents = 0; 989 if (poll(pfd, 1, waittime * 1000) > 0)
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | monitor.c | 566 struct pollfd pfd[2]; local 569 bzero(&pfd, sizeof(pfd)); 570 pfd[0].fd = pmonitor->m_sendfd; 571 pfd[0].events = POLLIN; 572 pfd[1].fd = pmonitor->m_log_recvfd; 573 pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN; 574 if (poll(pfd, pfd[ [all...] |
H A D | mux.c | 1341 struct pollfd pfd; local 1343 pfd.fd = fd; 1344 pfd.events = POLLIN; 1358 (void)poll(&pfd, 1, -1); 1382 struct pollfd pfd; local 1384 pfd.fd = fd; 1385 pfd.events = POLLOUT; 1405 (void)poll(&pfd, 1, -1);
|
/freebsd-10.0-release/contrib/sendmail/libmilter/ |
H A D | engine.c | 1866 struct pollfd pfd; local 1874 pfd.fd = sd; 1875 pfd.events = POLLIN; 1876 pfd.revents = 0; 1878 n = poll(&pfd, 1, MI_RD_CMD_TO); 1910 return (pfd.revents != 0);
|
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 439 int pfd = Pctlfd(P); local 456 if (write(pfd, &wstop, sizeof (wstop)) == -1 && errno == EINTR) 511 int pfd = Pctlfd(P); local 594 if (write(pfd, &wstop, sizeof (wstop)) == -1 && errno == EINTR)
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | getifaddrs.c | 403 struct pollfd pfd; local 405 pfd.fd = sd; 406 pfd.events = POLLIN | POLLPRI; 407 pfd.revents = 0; 408 status = poll(&pfd, 1, 1000);
|
/freebsd-10.0-release/usr.bin/truss/ |
H A D | syscalls.c | 785 struct pollfd *pfd; local 791 if ((pfd = malloc(bytes)) == NULL) 794 if (get_struct(pid, (void *)args[sc->offset], pfd, bytes) 806 i > 0 ? " " : "", pfd[i].fd, 807 xlookup_bits(poll_flags, pfd[i].events)); 816 free(pfd);
|
/freebsd-10.0-release/contrib/gcc/cp/ |
H A D | pt.c | 4952 struct pair_fn_data *pfd = (struct pair_fn_data *) d; 4953 tree_fn_t fn = pfd->fn; 4954 void *data = pfd->data; 4957 && for_each_template_parm (TYPE_CONTEXT (t), fn, data, pfd->visited)) 4972 fn, data, pfd->visited)) 4980 pfd->visited)) 4986 if (for_each_template_parm (TREE_TYPE (t), fn, data, pfd->visited)) 5000 pfd->visited)) 5011 pfd->visited)) 5019 pfd 4951 struct pair_fn_data *pfd = (struct pair_fn_data *) d; local 5127 struct pair_fn_data pfd; local [all...] |
/freebsd-10.0-release/usr.sbin/syslogd/ |
H A D | syslogd.c | 2479 int pfd[2], nulldesc; local 2485 if (pipe(pfd) == -1) 2526 dup2(pfd[0], STDIN_FILENO); 2537 close(pfd[0]); 2547 if (fcntl(pfd[1], F_SETFL, O_NONBLOCK) == -1) { 2556 return (pfd[1]);
|
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | map.c | 1410 int pfd; local 1578 pfd = dbm_pagfno(dbm); 1579 if (dfd == pfd) 1594 filechanged(pagfile, pfd, &stp)) 1616 if (fstat(pfd, &st) >= 0) 1624 if (pfd >= 0) 1625 (void) lockfile(pfd, map->map_file, ".pag", LOCK_UN); 1638 fchown(pfd, TrustedUid, -1) < 0) 1673 int dfd, pfd; local 1696 pfd [all...] |
H A D | util.c | 2011 ** pfd -- pointer to a place to store the file descriptor. 2019 prog_open(argv, pfd, e) 2021 int *pfd; 2050 *pfd = fdv[0];
|
/freebsd-10.0-release/contrib/libstdc++/ |
H A D | configure | 29730 struct pollfd pfd[1]; 29731 pfd[0].events = POLLIN; 29732 poll(pfd, 1, 0); [all...] |