Searched defs:fds (Results 1 - 7 of 7) sorted by relevance

/device/asus/fugu/libaudio/
H A DAudioHotplugThread.cpp304 struct pollfd fds[2] = { local
308 int ret = poll(fds, NELEM(fds), -1);
312 } else if (fds[1].revents & POLLIN) {
317 if (!(fds[0].revents & POLLIN)) {
/device/google/dragon/audio/soundtrigger/
H A Dsound_trigger_hw.c209 struct pollfd fds[2]; local
253 memset(fds, 0, 2 * sizeof(struct pollfd));
254 fds[0].events = POLLIN;
255 fds[0].fd = pcm_get_poll_fd(stdev->pcm);;
256 if (fds[0].fd == -1) {
260 fds[1].events = POLLIN;
261 fds[1].fd = stdev->term_sock;
266 err = poll(fds, 2, -1);
273 if (fds[0].revents & POLLIN) {
296 } else if (fds[
[all...]
/device/google/marlin/camera/usbcamcore/src/
H A DQualcommUsbCamera.cpp2050 fd_set fds; local
2054 FD_ZERO(&fds);
2056 FD_SET(camHal->fd, &fds);
2067 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv);
2518 fd_set fds; local
2522 FD_ZERO(&fds);
2523 FD_SET(camHal->fd, &fds);
2530 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_ssl.c1113 fd_set fds; local
1156 FD_ZERO(&fds);
1157 FD_SET(s->sock_fd, &fds);
1162 rc = select(s->sock_fd+1, NULL, &fds, NULL, &tv);
1164 rc = select(s->sock_fd+1, &fds, NULL, NULL, &tv);
H A Dsocketmodule.c697 fd_set fds;
701 FD_ZERO(&fds);
702 FD_SET(s->sock_fd, &fds);
706 n = select(s->sock_fd+1, NULL, &fds, NULL, &tv);
708 n = select(s->sock_fd+1, &fds, NULL, NULL, &tv);
1988 fd_set fds; local
1993 FD_ZERO(&fds);
1994 FD_SET(s->sock_fd, &fds);
1997 res = select(s->sock_fd+1, NULL, &fds, &fds_exc, &tv);
2002 if (FD_ISSET(s->sock_fd, &fds))
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Dsocketmodule.c713 fd_set fds;
717 FD_ZERO(&fds);
718 FD_SET(s->sock_fd, &fds);
722 n = select(s->sock_fd+1, NULL, &fds, NULL, &tv);
724 n = select(s->sock_fd+1, &fds, NULL, NULL, &tv);
2047 fd_set fds; local
2052 FD_ZERO(&fds);
2053 FD_SET(s->sock_fd, &fds);
2056 res = select(s->sock_fd+1, NULL, &fds, &fds_exc, &tv);
2061 if (FD_ISSET(s->sock_fd, &fds))
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A Dedk2module.c3098 int fds[2]; local
3101 res = pipe(fds);
3105 return Py_BuildValue("(ii)", fds[0], fds[1]);

Completed in 486 milliseconds