Searched refs:pfd (Results 1 - 25 of 31) sorted by last modified time

12

/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.c247 struct pollfd *pfd; local
272 pfd = pollfds_map[fd];
273 if (!pfd) {
274 pfd = &(pollfds[nxt]);
275 pfd->events = 0;
276 pfd->fd = fd;
278 pollfds_map[fd] = pfd;
281 pfd->events |= POLLOUT;
298 pfd = pollfds_map[fd];
299 if (!pfd) {
320 struct pollfd *pfd; local
836 struct pollfd pfd; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Deloop.c247 struct pollfd *pfd; local
272 pfd = pollfds_map[fd];
273 if (!pfd) {
274 pfd = &(pollfds[nxt]);
275 pfd->events = 0;
276 pfd->fd = fd;
278 pollfds_map[fd] = pfd;
281 pfd->events |= POLLOUT;
298 pfd = pollfds_map[fd];
299 if (!pfd) {
320 struct pollfd *pfd; local
836 struct pollfd pfd; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.c247 struct pollfd *pfd; local
272 pfd = pollfds_map[fd];
273 if (!pfd) {
274 pfd = &(pollfds[nxt]);
275 pfd->events = 0;
276 pfd->fd = fd;
278 pollfds_map[fd] = pfd;
281 pfd->events |= POLLOUT;
298 pfd = pollfds_map[fd];
299 if (!pfd) {
320 struct pollfd *pfd; local
836 struct pollfd pfd; local
[all...]
/external/valgrind/main/memcheck/tests/linux/
H A Dtimerfd-syscall.c149 struct pollfd pfd; local
151 pfd.fd = tfd;
152 pfd.events = POLLIN;
153 pfd.revents = 0;
154 if (poll(&pfd, 1, timeo) < 0)
159 if ((pfd.revents & POLLIN) == 0)
/external/tinyalsa/
H A Dpcm.c743 struct pollfd pfd; local
747 pfd.fd = pcm->fd;
748 pfd.events = POLLOUT | POLLERR | POLLNVAL;
752 err = poll(&pfd, 1, timeout);
765 if (pfd.revents & (POLLERR | POLLNVAL)) {
778 } while (!(pfd.revents & (POLLIN | POLLOUT)));
/external/strace/
H A Ddefs.h259 (IOCTL (t->pfd, PCWSTOP, (char *)NULL) < 0 ? -1 : \
279 #define IOCTL_STATUS(t) ioctl (t->pfd, PIOCSTATUS, &t->status)
280 #define IOCTL_WSTOP(t) ioctl (t->pfd, PIOCWSTOP, &t->status)
291 #define IOCTL_STATUS(t) ioctl (t->pfd, PIOCSTATUS, &t->status)
292 #define IOCTL_WSTOP(t) ioctl (t->pfd, PIOCWAIT, &t->status)
371 int pfd; /* proc file descriptor */ member in struct:tcb
H A Dstrace.c141 static struct tcb *pfd2tcb(int pfd);
149 static void proc_poller(int pfd);
1128 tcp->pfd = -1;
1159 if ((tcp->pfd = open(proc, O_WRONLY|O_EXCL)) < 0) {
1163 if (set_cloexec_flag(tcp->pfd) < 0) {
1186 tcp->pfd = open(proc, O_RDWR|O_EXCL);
1189 tcp->pfd = open(proc, O_RDWR);
1191 if (tcp->pfd < 0) {
1195 if (set_cloexec_flag(tcp->pfd) < 0) {
1231 if (IOCTL(tcp->pfd, PIOCSTO
2081 int pfd; local
[all...]
H A Dsyscall.c1318 pread(tcp->pfd, &scno, sizeof(scno), regs.r_esp + sizeof(int));
2386 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2390 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2394 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
H A Dutil.c838 int fd = tcp->pfd;
859 int fd = tcp->pfd;
/external/quake/quake/src/QW/client/
H A Dgl_vidnt.c816 static PIXELFORMATDESCRIPTOR pfd = { local
817 sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
838 if ( (pixelformat = ChoosePixelFormat(hDC, &pfd)) == 0 )
844 if (SetPixelFormat(hDC, pixelformat, &pfd) == FALSE)
/external/quake/quake/src/WinQuake/
H A Dgl_vidnt.cpp816 static PIXELFORMATDESCRIPTOR pfd = { local
817 sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
838 if ( (pixelformat = ChoosePixelFormat(hDC, &pfd)) == 0 )
844 if (SetPixelFormat(hDC, pixelformat, &pfd) == FALSE)
/external/skia/src/gpu/win/
H A DSkNativeGLContext_win.cpp88 PIXELFORMATDESCRIPTOR pfd; local
89 ZeroMemory(&pfd, sizeof(pfd));
90 pfd.nSize = sizeof(pfd);
91 pfd.nVersion = 1;
92 pfd.dwFlags = PFD_SUPPORT_OPENGL;
93 pfd.iPixelType = PFD_TYPE_RGBA;
94 pfd.cColorBits = 32;
95 pfd
[all...]
/external/ppp/pppd/
H A Dsys-solaris.c1338 struct pollfd pfd; local
1352 pfd.fd = pppfd;
1353 pfd.events = POLLOUT;
1354 poll(&pfd, 1, 250); /* wait for up to 0.25 seconds */
2337 struct pollfd pfd; local
2342 pfd.fd = fd;
2343 pfd.events = POLLIN | POLLPRI;
2345 n = poll(&pfd, 1, 1000);
/external/qemu/audio/
H A Dossaudio.c269 struct oss_params *obt, int *pfd)
361 *pfd = fd;
268 oss_open(int in, struct oss_params *req, struct oss_params *obt, int *pfd) argument
/external/netcat/
H A Datomicio.c46 struct pollfd pfd; local
48 pfd.fd = fd;
49 pfd.events = f == read ? POLLIN : POLLOUT;
57 (void)poll(&pfd, 1, -1);
H A Dnetcat.c654 struct pollfd pfd; local
666 pfd.fd = s;
667 pfd.events = POLLOUT;
668 if ((ret = poll(&pfd, 1, timeout)) == 1) {
762 struct pollfd pfd[2]; local
771 pfd[0].fd = nfd;
772 pfd[0].events = POLLIN;
775 pfd[1].fd = wfd;
776 pfd[1].events = POLLIN;
778 while (pfd[
[all...]
/external/openssh/
H A Datomicio.c57 struct pollfd pfd; local
59 pfd.fd = fd;
60 pfd.events = f == read ? POLLIN : POLLOUT;
68 (void)poll(&pfd, 1, -1);
103 struct pollfd pfd; local
113 pfd.fd = fd;
114 pfd.events = f == readv ? POLLIN : POLLOUT;
124 (void)poll(&pfd, 1, -1);
H A Dmonitor.c549 struct pollfd pfd[2]; local
552 bzero(&pfd, sizeof(pfd));
553 pfd[0].fd = pmonitor->m_sendfd;
554 pfd[0].events = POLLIN;
555 pfd[1].fd = pmonitor->m_log_recvfd;
556 pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN;
557 if (poll(pfd, pfd[
[all...]
H A Dmonitor_fdpass.c61 struct pollfd pfd; local
82 pfd.fd = sock;
83 pfd.events = POLLOUT;
87 (void)poll(&pfd, 1, -1);
123 struct pollfd pfd; local
138 pfd.fd = sock;
139 pfd.events = POLLIN;
143 (void)poll(&pfd, 1, -1);
H A Dmux.c1288 struct pollfd pfd; local
1290 pfd.fd = fd;
1291 pfd.events = POLLIN;
1305 (void)poll(&pfd, 1, -1);
1329 struct pollfd pfd; local
1331 pfd.fd = fd;
1332 pfd.events = POLLOUT;
1352 (void)poll(&pfd, 1, -1);
/external/libselinux/src/
H A Davc_internal.c103 struct pollfd pfd = { fd, POLLIN | POLLPRI, 0 }; local
109 rc = poll(&pfd, 1, (blocking ? -1 : 0));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/clang/test/SemaCXX/
H A Daddr-of-overloaded-function.cpp5 int (*pfd)(double) = f; // selects f(double) variable
/external/dbus/dbus/
H A Ddbus-message.c756 int *pfd, nfd; local
758 pfd = va_arg (var_args, int*);
759 _dbus_assert(pfd);
776 *pfd = nfd;
/external/chromium/net/tools/spdyshark/
H A Dpacket-spdy.c855 item = g_slist_find_custom(fd->pfd, (gpointer *)&temp, spdy_p_compare);
858 fd->pfd = g_slist_remove(fd->pfd, item->data);

Completed in 477 milliseconds

12