Searched refs:mEventFd (Results 1 – 4 of 4) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 182 mEventFd.reset(eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC)); in initialize() 329 fds[EVENTFD].fd = mEventFd.get(); in loop() 350 ssize_t res = read(mEventFd.get(), &num_queries, sizeof(num_queries)); in loop() 425 if (mEventFd != -1) { in requestLoopShutdown() 432 if (mEventFd == -1) { in incrementEventFd() 436 ssize_t written = write(mEventFd.get(), &count, sizeof(count)); in incrementEventFd()
|
D | DnsTlsSocket.h | 122 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
|