/system/core/adb/ |
D | fdevent.cpp | 56 adb_pollfd pollfd; member 59 memset(&pollfd, 0, sizeof(pollfd)); in PollNode() 60 pollfd.fd = fde->fd; in PollNode() 65 pollfd.events = POLLRDHUP; in PollNode() 177 node.pollfd.events |= POLLIN; in fdevent_update() 179 node.pollfd.events &= ~POLLIN; in fdevent_update() 183 node.pollfd.events |= POLLOUT; in fdevent_update() 185 node.pollfd.events &= ~POLLOUT; in fdevent_update() 222 for (const auto& pollfd : pollfds) { in dump_pollfds() local 224 if (pollfd.events & POLLIN) { in dump_pollfds() [all …]
|
/system/netd/server/ |
D | IptablesRestoreController.cpp | 59 struct pollfd pollfd = { .fd = stdIn, .events = POLLOUT }; in outputReady() local 60 int ret = poll(&pollfd, 1, 0); in outputReady() 65 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady() 106 struct pollfd pollFds[2]; 291 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck() local 292 if (pollfd.revents & POLLIN) { in drainAndWaitForAck() 295 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer))); in drainAndWaitForAck() 324 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
|
D | MDnsSdListener.cpp | 596 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run() 599 ((int)sizeof(struct pollfd)) * mPollSize); in run() 658 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan() 661 ((int)sizeof(struct pollfd)) * mPollSize); in rescan() 665 memset(mPollFds, 0, sizeof(struct pollfd) * mPollSize); in rescan()
|
D | MDnsSdListener.h | 95 struct pollfd *mPollFds;
|
/system/chre/host/common/include/chre_host/ |
D | socket_server.h | 93 struct pollfd mPollFds[1 + kMaxActiveClients] = {};
|
/system/bt/service/ipc/ |
D | linux_ipc_host.h | 99 std::vector<struct pollfd> pfds_;
|
/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/core/init/ |
D | ueventd.cpp | 79 pollfd ufd; in ueventd_main()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 85 struct pollfd shell_output; in RunShellCommand()
|
/system/vold/ |
D | vdc.cpp | 129 struct pollfd poll_sock = { sock, POLLIN, 0 }; in do_monitor()
|
/system/bt/udrv/ulinux/ |
D | uipc.cc | 164 struct pollfd pfd; in accept_server_socket() 363 struct pollfd pfd; in uipc_flush_ch_locked() 656 struct pollfd pfd; in UIPC_Read()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 105 struct pollfd pfd = { in forward_output()
|
/system/nvram/hal/ |
D | fake_nvram.cpp | 153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 188 struct pollfd pfd = { in debuggerd_trigger_dump()
|
/system/core/liblog/ |
D | logd_reader.c | 283 struct pollfd p; in send_log_msg() 623 struct pollfd p; in logdPoll()
|
/system/core/toolbox/ |
D | getevent.c | 36 static struct pollfd *ufds; 317 struct pollfd *new_ufds; in open_device()
|
/system/bt/vendor_libs/linux/ |
D | bt_vendor_linux.cc | 146 struct pollfd fds[1]; in bt_vendor_wait_hcidev()
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
D | userial_linux.c | 433 static inline int create_signal_fds(struct pollfd* set) { in create_signal_fds() 507 static inline int is_signaled(struct pollfd* set) { in is_signaled() 602 struct pollfd fds[2]; in my_read()
|
/system/core/logd/ |
D | main.cpp | 386 struct pollfd p; in issueReinit()
|
/system/core/libsync/ |
D | sync.c | 103 struct pollfd fds; in sync_wait()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 281 struct pollfd fds[1]; in wait_hcidev()
|
/system/core/adf/libadfhwc/ |
D | adfhwc.cpp | 292 pollfd fds[dev->intf_fds.size()]; in adf_event_thread()
|
/system/core/libnetutils/ |
D | dhcpclient.c | 398 struct pollfd pfd; in dhcp_init_ifc()
|
/system/bt/btif/co/ |
D | bta_hh_co.cc | 195 struct pollfd pfds[1]; in btif_hh_poll_event_thread()
|
/system/core/logwrapper/ |
D | logwrap.c | 297 struct pollfd poll_fds[] = { in parent()
|