Lines Matching refs:cli
45 bool LogReader::onDataAvailable(SocketClient* cli) { in onDataAvailable() argument
54 int len = read(cli->getSocket(), buffer, sizeof(buffer) - 1); in onDataAvailable()
56 doSocketDelete(cli); in onDataAvailable()
65 if (entry->mClient == cli) { in onDataAvailable()
199 logbuf().flushTo(cli, sequence, nullptr, FlushCommand::hasReadLogs(cli), in onDataAvailable()
200 FlushCommand::hasSecurityLogs(cli), in onDataAvailable()
204 doSocketDelete(cli); in onDataAvailable()
212 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, in onDataAvailable()
221 *this, cli, nonBlock, tail, logMask, pid, sequence, timeout); in onDataAvailable()
228 cli->incRef(); in onDataAvailable()
233 setsockopt(cli->getSocket(), SOL_SOCKET, SO_SNDTIMEO, (const char*)&t, in onDataAvailable()
241 void LogReader::doSocketDelete(SocketClient* cli) { in doSocketDelete() argument
247 if (entry->mClient == cli) { in doSocketDelete()