Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dhost_cache_unittest.cc17 const int kMaxCacheEntries = 10; variable
30 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
90 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
112 HostCache cache(kMaxCacheEntries, in TEST()
173 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
275 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
310 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
372 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); in TEST()
Dcert_verifier.cc63 static const unsigned kMaxCacheEntries = 256; variable
406 DCHECK_GE(kMaxCacheEntries, 1u); in HandleResult()
407 DCHECK_LE(cache_.size(), kMaxCacheEntries); in HandleResult()
408 if (cache_.size() == kMaxCacheEntries) { in HandleResult()
417 if (cache_.size() == kMaxCacheEntries) { in HandleResult()
Ddnsrr_resolver.cc103 static const unsigned kMaxCacheEntries = 32; variable
797 DCHECK_GE(kMaxCacheEntries, 1u); in HandleResult()
798 DCHECK_LE(cache_.size(), kMaxCacheEntries); in HandleResult()
799 if (cache_.size() == kMaxCacheEntries) { in HandleResult()
809 if (cache_.size() == kMaxCacheEntries) { in HandleResult()