Searched refs:onReadable (Results 1 – 3 of 3) sorted by relevance
44 const OnReadableCallback& onReadable, in AddFileDescriptor() argument50 ctx->onReadable = onReadable; in AddFileDescriptor()100 if (ctx->onReadable) { in UpdateEvent()143 if (ctx.onReadable) { in HandleEvent()144 ctx.onReadable(); in HandleEvent()184 eventFdCtx->onReadable = std::bind(&EpollEventPoller::OnNotify, this); in Init()
161 auto onReadable = [&readValue, &eventFd]() { in __anon0fa63c4b0302() variable165 EXPECT_TRUE(eventPoller->AddFileDescriptor(eventFd, onReadable));191 auto onReadable = [&readValue, ¬ifier]() { in __anon0fa63c4b0402() variable195 EXPECT_TRUE(eventPoller->AddFileDescriptor(notifier->GetFd(), onReadable));
36 …bool AddFileDescriptor(int fd, const OnReadableCallback& onReadable, const OnWritableCallback& onW…54 OnReadableCallback onReadable; member