Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 25 of 25) sorted by relevance

/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp305 { inotifyFD, POLLIN, 0 }, in threadLoop()
306 { mShutdownEventFD, POLLIN, 0 } in threadLoop()
312 } else if (fds[1].revents & POLLIN) { in threadLoop()
317 if (!(fds[0].revents & POLLIN)) { in threadLoop()
353 struct pollfd pfd = {mShutdownEventFD, POLLIN, 0}; in threadLoop()
357 } else if (pfd.revents & POLLIN) { in threadLoop()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_poll.py38 p.modify(rd, select.POLLIN)
56 ready_readers = find_ready_matching(ready, select.POLLIN)
121 pollster.register( p, select.POLLIN )
133 elif flags & select.POLLIN:
Dtest_asyncore.py127 (select.POLLIN, 'read'),
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp122 pfd->events = POLLIN; in init_inotify()
130 if ((pfd.revents & POLLIN)) { in discard_inotify_evt()
214 [IDX_NANOHUB] = { .fd = mFd, .events = POLLIN, }, in runDeviceRx()
215 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
239 if (myFds[IDX_NANOHUB].revents & POLLIN) { // we have data in runDeviceRx()
278 if (myFds[IDX_CLOSE_PIPE].revents & POLLIN) { // we have been asked to die in runDeviceRx()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c225 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
233 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
242 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
295 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
300 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
317 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
241 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
294 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
299 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
316 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
241 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
294 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
299 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
316 (poll_cb->poll_fds[i].revents & POLLIN) && in mm_camera_poll_fn()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dpoll.h66 #define POLLIN 0x0001 macro
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp237 if (pollfds[i].revents & POLLIN) { in ReadEvent()
372 pfds[0].events = POLLIN; in ResetPollFds()
377 pfds[1].events = POLLIN; in ResetPollFds()
/device/google/dragon/sensor_hub/
Dsensors.cpp597 mPollFds[crosEcRingFd].events = POLLIN; in cros_ec_sensors_poll_context_t()
608 mPollFds[crosEcWakeFd].events = POLLIN; in cros_ec_sensors_poll_context_t()
641 if (mPollFds[crosEcRingFd].revents & POLLIN) { in pollEvents()
664 if (mPollFds[crosEcWakeFd].revents & POLLIN) { in pollEvents()
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c254 fds[0].events = POLLIN; in callback_thread_loop()
260 fds[1].events = POLLIN; 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()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
DDevGenisis.c40 return ((POLLIN | POLLRDNORM | POLLOUT) & Events); in fnullop_poll()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/
DdaShell.c604 retval = (POLLIN | POLLRDNORM); in da_ShellPoll()
612 retval = (POLLIN | POLLRDNORM | POLLOUT); in da_ShellPoll()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dasyncore.py107 if flags & select.POLLIN:
181 flags |= select.POLLIN | select.POLLPRI
/device/generic/goldfish/fingerprint/
Dfingerprint.c689 .events = POLLIN, in listenerFunction()
723 if (pfd.revents & POLLIN) { in listenerFunction()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dselectmodule.c375 int fd, events = POLLIN | POLLPRI | POLLOUT; in poll_register()
672 struct pollfd poll_struct = { 0, POLLIN|POLLPRI|POLLOUT, 0 }; in select_have_broken_poll()
1789 PyModule_AddIntConstant(m, "POLLIN", POLLIN);
D_ssl.c1135 pollfd.events = writing ? POLLOUT : POLLIN; in check_socket_and_wait_for_timeout()
Dsocketmodule.c688 pollfd.events = writing ? POLLOUT : POLLIN; in internal_select()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Dselectmodule.c375 int fd, events = POLLIN | POLLPRI | POLLOUT; in poll_register()
672 struct pollfd poll_struct = { 0, POLLIN|POLLPRI|POLLOUT, 0 }; in select_have_broken_poll()
1789 PyModule_AddIntConstant(m, "POLLIN", POLLIN);
/device/google/contexthub/sensorhal/
Dhubconnection.cpp132 mPollFds[0].events = POLLIN; in HubConnection()
889 if ((ret > 0) && (pfd->revents & POLLIN)) { in waitOnNanohubLock()
1435 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) { in threadLoop()
1464 if (mPollFds[0].revents & POLLIN) { in threadLoop()
1713 mPollFds[mNumPollFds].events = POLLIN; in initNanohubLock()
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DSocket.c3330 ValidEvents = POLLIN in EslSocketPoll()
3372 DetectedEvents |= POLLIN | POLLRDNORM; in EslSocketPoll()
3392 DetectedEvents |= POLLRDBAND | POLLPRI | POLLIN; in EslSocketPoll()
3400 DetectedEvents |= POLLRDNORM | POLLIN; in EslSocketPoll()
3407 && ( 0 == ( DetectedEvents & POLLIN ))) { in EslSocketPoll()
3408 DetectedEvents |= POLLERR | POLLIN | POLLRDNORM | POLLRDBAND; in EslSocketPoll()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dselectmodule.c398 unsigned short events = POLLIN | POLLPRI | POLLOUT; in poll_register()
706 struct pollfd poll_struct = { 0, POLLIN|POLLPRI|POLLOUT, 0 }; in select_have_broken_poll()
1844 PyModule_AddIntConstant(m, "POLLIN", POLLIN);
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c674 RdyMask = POLLIN; in da_ConPoll()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_send.c699 pfd.events = POLLIN; in res_send()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsocketmodule.c704 pollfd.events = writing ? POLLOUT : POLLIN; in internal_select_ex()