Searched refs:mEventFd (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 176 mEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in initialize() 439 fds[EVENTFD].fd = mEventFd.get(); in loop() 472 ssize_t res = read(mEventFd.get(), &num_queries, sizeof(num_queries)); in loop() 548 if (mEventFd != -1) { in requestLoopShutdown() 560 if (mEventFd == -1) { in incrementEventFd() 564 ssize_t written = write(mEventFd.get(), &count, sizeof(count)); in incrementEventFd()
|
D | DnsTlsSocket.h | 172 base::unique_fd mEventFd; variable
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 106 mEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in TunForwarder() 173 {mEventFd, POLLIN, 0}, in loop() 183 eventfd_read(mEventFd, &value); in loop() 416 return eventfd_write(mEventFd.get(), 1) == 0; in signalEventFd()
|
D | tun_forwarder.h | 98 base::unique_fd mEventFd; variable
|