Lines Matching refs:iter

105         auto iter = mTokenMap.find(tokenId);  in importBuffer()  local
106 if (iter == mTokenMap.end()) { in importBuffer()
114 const std::vector<uint8_t>& tokenHMAC = iter->second.first; in importBuffer()
135 originClientWp = iter->second.second; in importBuffer()
136 mTokenMap.erase(iter); in importBuffer()
205 for (auto iter = mClientSet.begin(); iter != mClientSet.end(); ++iter) { in debug() local
206 sp<BufferClient> client = iter->promote(); in debug()
237 for (auto iter = clientCount.begin(); iter != clientCount.end(); ++iter) { in debug() local
238 const std::shared_ptr<BufferNode> node = std::move(iter->second.first); in debug()
239 const uint32_t clientCount = iter->second.second; in debug()
282 for (auto iter = mTokenMap.begin(); iter != mTokenMap.end(); ++iter) { in debug() local
283 sp<BufferClient> client = iter->second.second.promote(); in debug()
303 for (auto iter = tokenCount.begin(); iter != tokenCount.end(); ++iter) { in debug() local
305 stream << std::setw(8) << /*Buffer Id=*/iter->first; in debug()
307 stream << std::setw(7) << /*#Tokens=*/iter->second; in debug()
354 auto iter = std::find(mClientSet.begin(), mClientSet.end(), client); in onClientClosed() local
355 if (iter != mClientSet.end()) { in onClientClosed()
356 mClientSet.erase(iter); in onClientClosed()
385 auto iter = mTokenMap.begin(); in removeTokenByClient() local
386 while (iter != mTokenMap.end()) { in removeTokenByClient()
387 if (iter->second.second == client) { in removeTokenByClient()
388 auto oldIter = iter; in removeTokenByClient()
389 ++iter; in removeTokenByClient()
392 ++iter; in removeTokenByClient()