Home
last modified time | relevance | path

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

/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c209 struct pollfd fds[2]; in callback_thread_loop() local
253 memset(fds, 0, 2 * sizeof(struct pollfd)); in callback_thread_loop()
254 fds[0].events = POLLIN; in callback_thread_loop()
255 fds[0].fd = pcm_get_poll_fd(stdev->pcm);; in callback_thread_loop()
256 if (fds[0].fd == -1) { in callback_thread_loop()
260 fds[1].events = POLLIN; in callback_thread_loop()
261 fds[1].fd = stdev->term_sock; in callback_thread_loop()
266 err = poll(fds, 2, -1); in callback_thread_loop()
273 if (fds[0].revents & POLLIN) { in callback_thread_loop()
296 } else if (fds[1].revents & POLLIN) { in callback_thread_loop()
[all …]
/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp304 struct pollfd fds[2] = { in threadLoop() local
308 int ret = poll(fds, NELEM(fds), -1); in threadLoop()
312 } else if (fds[1].revents & POLLIN) { in threadLoop()
317 if (!(fds[0].revents & POLLIN)) { in threadLoop()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_uuid.py458 fds = os.pipe()
461 os.close(fds[0])
463 os.write(fds[1], value.hex)
467 os.close(fds[1])
470 child_value = os.read(fds[0], 100)
Dtest_subprocess.py800 def check_close_std_fds(self, fds): argument
805 for a in fds:
811 for fd in fds:
824 for b, a in zip(newfds, fds):
/device/google/marlin/sepolicy/
Dims.te44 # use fds passed from radio app
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp2050 fd_set fds; in previewloop() local
2054 FD_ZERO(&fds); in previewloop()
2056 FD_SET(camHal->fd, &fds); in previewloop()
2067 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv); in previewloop()
2518 fd_set fds; in takePictureThread() local
2522 FD_ZERO(&fds); in takePictureThread()
2523 FD_SET(camHal->fd, &fds); in takePictureThread()
2530 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv); in takePictureThread()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_ssl.c1113 fd_set fds; in check_socket_and_wait_for_timeout() local
1156 FD_ZERO(&fds); in check_socket_and_wait_for_timeout()
1157 FD_SET(s->sock_fd, &fds); in check_socket_and_wait_for_timeout()
1162 rc = select(s->sock_fd+1, NULL, &fds, NULL, &tv); in check_socket_and_wait_for_timeout()
1164 rc = select(s->sock_fd+1, &fds, NULL, NULL, &tv); in check_socket_and_wait_for_timeout()
Dsocketmodule.c697 fd_set fds; in internal_select() local
701 FD_ZERO(&fds); in internal_select()
702 FD_SET(s->sock_fd, &fds); in internal_select()
706 n = select(s->sock_fd+1, NULL, &fds, NULL, &tv); in internal_select()
708 n = select(s->sock_fd+1, &fds, NULL, NULL, &tv); in internal_select()
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))
Dposixmodule.c6758 int fds[2]; in posix_pipe()
6761 res = pipe(fds); in posix_pipe()
6765 return Py_BuildValue("(ii)", fds[0], fds[1]); in posix_pipe()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsocketmodule.c713 fd_set fds; in internal_select_ex() local
717 FD_ZERO(&fds); in internal_select_ex()
718 FD_SET(s->sock_fd, &fds); in internal_select_ex()
722 n = select(s->sock_fd+1, NULL, &fds, NULL, &tv); in internal_select_ex()
724 n = select(s->sock_fd+1, &fds, NULL, NULL, &tv); in internal_select_ex()
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))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dedk2module.c3098 int fds[2]; in edk2_pipe() local
3101 res = pipe(fds); in edk2_pipe()
3105 return Py_BuildValue("(ii)", fds[0], fds[1]); in edk2_pipe()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c5105 int fds[2]; in posix_pipe()
5108 res = pipe(fds); in posix_pipe()
5112 return Py_BuildValue("(ii)", fds[0], fds[1]); in posix_pipe()