/device/google/dragon/audio/soundtrigger/ |
D | sound_trigger_hw.c | 209 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/ |
D | AudioHotplugThread.cpp | 304 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/ |
D | test_uuid.py | 458 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)
|
D | test_subprocess.py | 800 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/ |
D | ims.te | 44 # use fds passed from radio app
|
/device/google/marlin/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 2050 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.c | 1113 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()
|
D | socketmodule.c | 697 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))
|
D | posixmodule.c | 6758 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/ |
D | socketmodule.c | 713 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/ |
D | edk2module.c | 3098 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/ |
D | edk2module.c | 5105 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()
|