Home
last modified time | relevance | path

Searched refs:cache_invalidation_iterator (Results 1 – 1 of 1) sorted by relevance

/external/cronet/net/dns/
Dmock_host_resolver.cc1041 auto cache_invalidation_iterator = cache_invalidation_nums_.find(key); in ResolveFromIPLiteralOrCache() local
1042 if (cache_invalidation_iterator != cache_invalidation_nums_.end()) { in ResolveFromIPLiteralOrCache()
1043 DCHECK_LE(1, cache_invalidation_iterator->second); in ResolveFromIPLiteralOrCache()
1044 cache_invalidation_iterator->second--; in ResolveFromIPLiteralOrCache()
1045 if (cache_invalidation_iterator->second == 0) { in ResolveFromIPLiteralOrCache()
1049 cache_invalidation_nums_.erase(cache_invalidation_iterator); in ResolveFromIPLiteralOrCache()