Home | History | Annotate | Download | only in cert

Lines Matching refs:pos

124     CertMap::iterator pos = cache_.find(fingerprint);
125 if (pos == cache_.end()) {
132 pos = cache_.insert(cache_value).first;
135 X509Certificate::IsSameOSCert(*cert_handle, pos->second.cert_handle);
149 ++pos->second.ref_count;
150 *cert_handle = X509Certificate::DupOSCertHandle(pos->second.cert_handle);
168 CertMap::iterator pos = cache_.find(fingerprint);
169 if (pos == cache_.end())
173 pos->second.cert_handle);
177 if (--pos->second.ref_count == 0) {
181 X509Certificate::FreeOSCertHandle(pos->second.cert_handle);
182 cache_.erase(pos);
209 size_t pos = src.find(c);
210 if (pos == base::StringPiece::npos) {
214 *left = src.substr(0, pos);
215 *right = src.substr(pos);