Home
last modified time | relevance | path

Searched refs:SslSessionLRUCache (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/core/tsi/ssl/session_cache/
Dssl_session_cache.cc51 class SslSessionLRUCache::Node {
74 friend class SslSessionLRUCache;
83 SslSessionLRUCache::SslSessionLRUCache(size_t capacity) : capacity_(capacity) { in SslSessionLRUCache() function in tsi::SslSessionLRUCache
89 SslSessionLRUCache::~SslSessionLRUCache() { in ~SslSessionLRUCache()
100 size_t SslSessionLRUCache::Size() { in Size()
105 SslSessionLRUCache::Node* SslSessionLRUCache::FindLocked( in FindLocked()
120 void SslSessionLRUCache::Put(const char* key, SslSessionPtr session) { in Put()
143 SslSessionPtr SslSessionLRUCache::Get(const char* key) { in Get()
154 void SslSessionLRUCache::Remove(SslSessionLRUCache::Node* node) { in Remove()
169 void SslSessionLRUCache::PushFront(SslSessionLRUCache::Node* node) { in PushFront()
[all …]
Dssl_session_cache.h49 class SslSessionLRUCache : public grpc_core::RefCounted<SslSessionLRUCache> {
52 static grpc_core::RefCountedPtr<SslSessionLRUCache> Create(size_t capacity) { in Create()
53 return grpc_core::MakeRefCounted<SslSessionLRUCache>(capacity); in Create()
57 SslSessionLRUCache(const SslSessionLRUCache&) = delete;
58 SslSessionLRUCache& operator=(const SslSessionLRUCache&) = delete;
80 explicit SslSessionLRUCache(size_t capacity);
81 ~SslSessionLRUCache();
/external/grpc-grpc/test/core/tsi/
Dssl_session_cache_test.cc101 RefCountedPtr<tsi::SslSessionLRUCache> cache = in TEST()
102 tsi::SslSessionLRUCache::Create(3); in TEST()
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc91 grpc_core::RefCountedPtr<tsi::SslSessionLRUCache> session_cache;
805 tsi::SslSessionLRUCache::Create(capacity).release()); in tsi_ssl_session_cache_create_lru()
810 reinterpret_cast<tsi::SslSessionLRUCache*>(cache)->Ref().release(); in tsi_ssl_session_cache_ref()
814 reinterpret_cast<tsi::SslSessionLRUCache*>(cache)->Unref(); in tsi_ssl_session_cache_unref()
1315 SSL* ssl, tsi::SslSessionLRUCache* session_cache) { in tsi_ssl_handshaker_resume_session()
1666 reinterpret_cast<tsi::SslSessionLRUCache*>(options->session_cache) in tsi_create_ssl_client_handshaker_factory_with_options()