Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dpoll.h57 struct pollfd { struct
88 int poll(struct pollfd *, nfds_t, int);
/device/google/trout/hal/sensors/2.0/
DMultiPoll.cpp24 pollfd pfd{.fd = fd, .events = POLLIN, .revents = 0}; in addDescriptor()
30 std::vector<pollfd> fds; in poll()
DMultiPoll.h39 std::vector<pollfd> mDescriptors;
DSensor.h128 struct pollfd mPollFdIio;
/device/generic/goldfish/network/netmgr/
Dcommander.cpp57 void Commander::getPollData(std::vector<pollfd>* fds) const { in getPollData()
59 fds->push_back(pollfd{mPipeFd, POLLIN, 0}); in getPollData()
Dpollable.h35 virtual void getPollData(std::vector<pollfd>* fds) const = 0;
Dcommander.h36 void getPollData(std::vector<pollfd>* fds) const override;
Dwifi_forwarder.h38 void getPollData(std::vector<pollfd>* fds) const override;
Dmonitor.h41 void getPollData(std::vector<pollfd>* fds) const override;
Dmonitor.cpp112 void Monitor::getPollData(std::vector<pollfd>* fds) const { in getPollData()
114 fds->push_back(pollfd{mSocketFd, POLLIN, 0}); in getPollData()
Dwifi_forwarder.cpp183 void WifiForwarder::getPollData(std::vector<pollfd>* fds) const { in getPollData()
189 fds->push_back(pollfd{pcapFd, POLLIN, 0}); in getPollData()
194 fds->push_back(pollfd{mPipeFd, POLLIN, 0}); in getPollData()
Dpoller.cpp83 std::vector<struct pollfd> fds; in run()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp113 static bool init_inotify(pollfd *pfd) { in init_inotify()
131 static void discard_inotify_evt(pollfd &pfd) { in discard_inotify_evt()
139 static void wait_on_dev_lock(pollfd &pfd) { in wait_on_dev_lock()
224 pollfd myFds[3] = { in runDeviceRx()
228 pollfd &inotifyFd = myFds[IDX_INOTIFY]; in runDeviceRx()
/device/generic/goldfish/network/wifi_forwarder/
Dpollable.h35 virtual void getPollData(std::vector<pollfd>* fds) const = 0;
Dwifi_forwarder.cpp67 void WifiForwarder::getPollData(std::vector<pollfd>* fds) const { in getPollData()
70 struct pollfd pfd = { fd, POLLIN, 0 }; in getPollData()
75 struct pollfd pfd = { fd, POLLIN, 0 }; in getPollData()
Dwifi_forwarder.h36 void getPollData(std::vector<pollfd>* fds) const override;
Dpoller.cpp82 std::vector<struct pollfd> fds; in run()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DWebServer.c42 struct pollfd * pFdList; in PortAdd()
43 struct pollfd * pFdListNew; in PortAdd()
239 struct pollfd * pFdList; in PortRemove()
492 struct pollfd * pPoll; in SocketPoll()
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.h63 int ResetPollFds(struct pollfd *pfds, size_t count);
Dandroidcontexthub.cpp241 struct pollfd pollfds[kDeviceFileCount]; in ReadEvent()
389 int AndroidContextHub::ResetPollFds(struct pollfd *pfds, size_t count) { in ResetPollFds()
390 memset(pfds, 0, sizeof(struct pollfd) * count); in ResetPollFds()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dselect.c114 struct pollfd pfd; in selscan()
DSysCalls.c756 struct pollfd * pfd, in poll()
762 struct pollfd * pEnd; in poll()
763 struct pollfd * pPollFD; in poll()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp198 std::vector<pollfd> pollFds; in run()
364 pollfd &pollFd = pollFds[i]; in run()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp98 struct pollfd fds[2]; in eventLoop()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
DTftpServer.h244 struct pollfd TftpPort [ 2 ]; ///< Poll descriptor for the TFTP ports (UDP4, UDP6)

12