Home
last modified time | relevance | path

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

/external/cronet/net/dns/
Dhost_cache_unittest.cc594 EXPECT_FALSE(cache.LookupStale(key2, now, &stale)); in TEST()
599 result = cache.LookupStale(key2, now, &stale, true /* ignore_secure */); in TEST()
606 EXPECT_TRUE(cache.LookupStale(key2, now, &stale)); in TEST()
650 EXPECT_EQ(secure_key, cache.LookupStale(secure_key, now, &stale)->first); in TEST()
654 cache.LookupStale(secure_key, now, &stale, true /* ignore-secure */) in TEST()
666 EXPECT_EQ(secure_key, cache.LookupStale(secure_key, now, &stale)->first); in TEST()
670 cache.LookupStale(secure_key, now, &stale, true /* ignore-secure */) in TEST()
813 EXPECT_FALSE(cache.LookupStale(key, now, &stale)); in TEST()
816 EXPECT_TRUE(cache.LookupStale(key, now, &stale)); in TEST()
826 EXPECT_TRUE(cache.LookupStale(key, now, &stale)); in TEST()
[all …]
Dhost_cache.h419 const std::pair<const Key, Entry>* LookupStale(const Key& key,
Dhost_cache.cc726 const std::pair<const HostCache::Key, HostCache::Entry>* HostCache::LookupStale( in LookupStale() function in net::HostCache
Dmock_host_resolver.cc1024 cache_result = cache_->LookupStale(key, tick_clock_->NowTicks(), in ResolveFromIPLiteralOrCache()
Dhost_resolver_manager.cc3484 cache_result = cache->LookupStale(effective_key, tick_clock_->NowTicks(), in MaybeServeFromCache()
Dhost_resolver_manager_unittest.cc681 return resolve_context_->host_cache()->LookupStale( in GetCacheHit()
/external/cronet/components/cronet/
Dstale_host_resolver_unittest.cc258 void LookupStale() { in LookupStale() function in cronet::__anon8b5599190111::StaleHostResolverTest
267 EXPECT_TRUE(resolver_->GetHostCache()->LookupStale(key, now, &stale)); in LookupStale()
636 LookupStale(); in TEST_F()