Home
last modified time | relevance | path

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

12

/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:
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp124 pfd->events = POLLIN; in init_inotify()
132 if ((pfd.revents & POLLIN)) { in discard_inotify_evt()
225 [IDX_NANOHUB] = { .fd = mFd, .events = POLLIN, }, in runDeviceRx()
226 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
252 if (myFds[IDX_NANOHUB].revents & POLLIN) { // we have data in runDeviceRx()
302 if (myFds[IDX_CLOSE_PIPE].revents & POLLIN) { // we have been asked to die in runDeviceRx()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp101 fds[0].events = POLLIN; in eventLoop()
103 fds[1].events = POLLIN; in eventLoop()
119 if ((fd.revents & POLLIN) == 0) { in eventLoop()
/device/generic/goldfish/ril/
Dif_monitor.cpp164 fds[0].events = POLLIN; in run()
166 fds[1].events = POLLIN; in run()
183 if (fds[0].revents & POLLIN) { in run()
193 } else if (fds[1].revents & POLLIN) { in run()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c226 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
234 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
243 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe()
296 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
301 if ((poll_cb->poll_fds[0].revents & POLLIN) && in mm_camera_poll_fn()
318 (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/generic/goldfish/network/netmgr/
Dpoller.cpp116 if ((fd.revents & (POLLIN | POLLHUP)) == 0) { in run()
126 if (fd.revents & POLLIN) { in run()
Dcommander.cpp62 fds->push_back(pollfd{mPipeFd, POLLIN, 0}); in getPollData()
Dwifi_forwarder.cpp193 fds->push_back(pollfd{pcapFd, POLLIN, 0}); in getPollData()
198 fds->push_back(pollfd{mPipeFd, POLLIN, 0}); in getPollData()
Dmonitor.cpp110 fds->push_back(pollfd{mSocketFd, POLLIN, 0}); in getPollData()
/device/generic/goldfish/wifi/ipv6proxy/
Dproxy.cpp118 fds[0].events = POLLIN; in run()
121 fds[i + 1].events = POLLIN; in run()
156 if ((fd.revents & POLLIN) == 0) { in receiveIfPossible()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp257 if (pollfds[i].revents & POLLIN) { in ReadEvent()
392 pfds[0].events = POLLIN; in ResetPollFds()
397 pfds[1].events = POLLIN; in ResetPollFds()
/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/linaro/poplar/wifi/wifi_hal/
Dwifi_hal.cpp466 pfd[0].events = POLLIN; in wifi_event_loop()
468 pfd[1].events = POLLIN; in wifi_event_loop()
489 } else if (pfd[0].revents & POLLIN) { in wifi_event_loop()
492 } else if (pfd[1].revents & POLLIN) { in wifi_event_loop()
/device/generic/goldfish/dhcp/server/
Ddhcpserver.cpp84 fds.events = POLLIN; in run()
/device/generic/goldfish/fingerprint/
Dfingerprint.c707 .events = POLLIN, in listenerFunction()
741 if (pfd.revents & POLLIN) { in listenerFunction()
/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/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);
/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp218 fds.events = POLLIN; in waitAndReceive()
/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/google/contexthub/sensorhal/
Dhubconnection.cpp140 mPollFds[0].events = POLLIN; in HubConnection()
991 if ((ret > 0) && (pfd->revents & POLLIN)) { in waitOnNanohubLock()
1501 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) { in threadLoop()
1530 if (mPollFds[0].revents & POLLIN) { in threadLoop()
1802 mPollFds[mNumPollFds].events = POLLIN; in initNanohubLock()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/
DdaConsole.c674 RdyMask = POLLIN; in da_ConPoll()

12