Home
last modified time | relevance | path

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

/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_cache.cc35 cache_impl_(new CacheImpl(min_items)) in RegExpCache()
37 cache_impl_(new CacheImpl()) in RegExpCache()
44 it = cache_impl_->begin(); it != cache_impl_->end(); ++it) { in ~RegExpCache()
51 CacheImpl::const_iterator it = cache_impl_->find(pattern); in GetRegExp()
52 if (it != cache_impl_->end()) return *it->second; in GetRegExp()
55 cache_impl_->insert(std::make_pair(pattern, regexp)); in GetRegExp()
Dregexp_cache.h69 scoped_ptr<CacheImpl> cache_impl_; // protected by lock_ variable
/third_party/libphonenumber/cpp/test/phonenumbers/
Dregexp_cache_test.cc44 ASSERT_TRUE(cache_.cache_impl_ != NULL); in TEST_F()
45 EXPECT_TRUE(cache_.cache_impl_->empty()); in TEST_F()