Lines Matching refs:it
45 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery()
50 return std::make_unique<QueryFuture>(q, it->second.result.get_future()); in recordQuery()
60 auto it = mQueries.find(newId); in markTried() local
61 if (it != mQueries.end()) { in markTried()
62 it->second.tries++; in markTried()
68 for (auto it = mQueries.begin(); it != mQueries.end();) { in cleanup() local
69 auto& p = it->second; in cleanup()
72 it = mQueries.erase(it); in cleanup()
74 ++it; in cleanup()
135 auto it = mQueries.find(id); in onResponse() local
136 if (it == mQueries.end()) { in onResponse()
142 const uint8_t* data = it->second.query.query.data(); in onResponse()
146 it->second.result.set_value(std::move(r)); in onResponse()
147 mQueries.erase(it); in onResponse()