Home | History | Annotate | Download | only in base

Lines Matching defs:cache_

76   // The certificate cache.  You must acquire |lock_| before using |cache_|.
77 CertMap cache_;
94 while (cache_.size() >= 50)
95 cache_.erase(cache_.begin());
97 cache_[cert->fingerprint()] = cert;
101 if (cache_.size() <= 20) // high water mark
104 for (CertMap::iterator it = cache_.begin(); it != cache_.end(); ++it) {
106 cache_.erase(it);
107 if (cache_.size() <= 10) // low water mark
119 CertMap::iterator pos(cache_.find(fingerprint));
120 if (pos == cache_.end())