Home
last modified time | relevance | path

Searched refs:mEventFd (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsSocket.cpp176 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()
DDnsTlsSocket.h172 base::unique_fd mEventFd; variable
/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp106 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()
Dtun_forwarder.h98 base::unique_fd mEventFd; variable