Searched refs:mQueries (Results 1 – 5 of 5) sorted by relevance
45 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery()60 auto it = mQueries.find(newId); in markTried()61 if (it != mQueries.end()) { in markTried()68 for (auto it = mQueries.begin(); it != mQueries.end();) { in cleanup()72 it = mQueries.erase(it); in cleanup()80 if (mQueries.empty()) { in getFreeId()83 uint16_t maxId = mQueries.rbegin()->first; in getFreeId()87 if (mQueries.size() == UINT16_MAX + 1) { in getFreeId()93 for (auto& pair : mQueries) { in getFreeId()108 for (auto& q : mQueries) { in getAll()[all …]
39 auto record = mQueries.recordQuery(query); in query()65 mQueries.markTried(q.newId); in sendQuery()76 auto queries = mQueries.getAll(); in doConnect()87 mQueries.clear(); in doConnect()92 mQueries.onResponse(std::move(response)); in onResponse()121 mQueries.cleanup(); in doReconnect()122 if (!mQueries.empty()) { in doReconnect()136 mQueries.clear(); in ~DnsTlsTransport()
471 : mObserver(observer), mQueries(0) {} in FakeSocketLimited()495 ++mQueries; in query()497 if (mQueries <= sLimit) { in query()504 if (mQueries == sLimit) { in query()507 return mQueries <= sLimit; in query()527 int mQueries GUARDED_BY(mLock);
70 DnsTlsQueryMap mQueries; variable
98 std::map<uint16_t, QueryPromise> mQueries GUARDED_BY(mLock);