/system/core/adb/ |
D | fdevent.cpp | 63 adb_pollfd pollfd; member 66 memset(&pollfd, 0, sizeof(pollfd)); in PollNode() 67 pollfd.fd = fde->fd.get(); in PollNode() 72 pollfd.events = POLLRDHUP; in PollNode() 194 node.pollfd.events |= POLLIN; in fdevent_update() 196 node.pollfd.events &= ~POLLIN; in fdevent_update() 200 node.pollfd.events |= POLLOUT; in fdevent_update() 202 node.pollfd.events &= ~POLLOUT; in fdevent_update() 247 for (const auto& pollfd : pollfds) { in dump_pollfds() local 249 if (pollfd.events & POLLIN) { in dump_pollfds() [all …]
|
/system/netd/server/ |
D | IptablesRestoreController.cpp | 63 struct pollfd pollfd = { .fd = stdIn, .events = POLLOUT }; in outputReady() local 64 int ret = poll(&pollfd, 1, 0); in outputReady() 69 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady() 110 struct pollfd pollFds[2]; 294 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck() local 295 if (pollfd.revents & POLLIN) { in drainAndWaitForAck() 298 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer))); in drainAndWaitForAck() 327 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
|
D | MDnsSdListener.cpp | 584 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run() 587 ((int)sizeof(struct pollfd)) * mPollSize); in run() 647 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan() 650 ((int)sizeof(struct pollfd)) * mPollSize); in rescan() 654 memset(mPollFds, 0, sizeof(struct pollfd) * mPollSize); in rescan()
|
D | MDnsSdListener.h | 98 struct pollfd *mPollFds;
|
/system/netd/client/ |
D | NetdClientTest.cpp | 36 pollfd fds[1] = {{.fd = dnsProxyFd, .events = POLLIN}}; in serverLoop()
|
/system/chre/host/common/include/chre_host/ |
D | socket_server.h | 94 struct pollfd mPollFds[1 + kMaxActiveClients] = {};
|
/system/testing/gtest_extras/ |
D | Isolate.cpp | 225 pollfd* pollfd = &running_pollfds_[run_index]; in LaunchTests() local 226 pollfd->fd = test->fd(); in LaunchTests() 227 pollfd->events = POLLIN; in LaunchTests() 239 pollfd* pfd = &running_pollfds_[i]; in ReadTestsOutput() 409 memset(running_pollfds_.data(), 0, running_pollfds_.size() * sizeof(pollfd)); in RunAllTests()
|
D | Isolate.h | 101 std::vector<pollfd> running_pollfds_;
|
/system/bt/service/ipc/ |
D | linux_ipc_host.h | 99 std::vector<struct pollfd> pfds_;
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 153 std::vector<pollfd> fds; in runListener() 201 const struct pollfd& p = fds[i]; in runListener()
|
D | SocketListener_test.cpp | 81 pollfd fds = {.fd = fd, .events = POLLIN}; in recvReply()
|
/system/media/audio_utils/include/audio_utils/ |
D | FdToString.h | 100 struct pollfd pfd = { in reader()
|
/system/bt/btif/src/ |
D | btif_sock_thread.cc | 80 struct pollfd pfd; 466 static void process_data_sock(int h, struct pollfd* pfds, int count) { in process_data_sock() 495 static void prepare_poll_fds(int h, struct pollfd* pfds) { in prepare_poll_fds() 519 struct pollfd pfds[MAX_POLL]; in sock_poll_thread()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 66 virtual StatusOr<int> ppoll(pollfd* fds, nfds_t nfds, double timeout) const = 0; 147 std::array<pollfd, size> tmp; in ppoll()
|
D | MockSyscalls.h | 51 MOCK_CONST_METHOD3(ppoll, StatusOr<int>(pollfd* fds, nfds_t nfds, double timeout));
|
/system/netd/resolv/ |
D | DnsTlsSocket.cpp | 53 struct pollfd fds = { .fd = fd, .events = POLLIN }; in waitForReading() 59 struct pollfd fds = { .fd = fd, .events = POLLOUT }; in waitForWriting() 342 struct pollfd fds[2] = { { .fd = -1 }, { .fd = -1 } }; in loop()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 85 struct pollfd shell_output; in RunShellCommand()
|
/system/bt/udrv/ulinux/ |
D | uipc.cc | 137 struct pollfd pfd; in accept_server_socket() 335 struct pollfd pfd; in uipc_flush_ch_locked() 631 struct pollfd pfd; in UIPC_Read()
|
/system/nvram/hal/ |
D | fake_nvram.cpp | 153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages()
|
/system/core/init/ |
D | uevent_listener.cpp | 186 pollfd ufd; in Poll()
|
/system/core/liblog/ |
D | logd_reader.cpp | 152 struct pollfd p; in send_log_msg() 493 struct pollfd p; in logdPoll()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 216 struct pollfd pfd = { in debuggerd_trigger_dump()
|
/system/core/toolbox/ |
D | getevent.c | 36 static struct pollfd *ufds; 317 struct pollfd *new_ufds; in open_device()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 138 struct pollfd pfd = { in forward_output()
|
/system/bt/vendor_libs/linux/interface/ |
D | bluetooth_hci.cc | 117 struct pollfd fds[1]; in waitHciDev()
|