Home
last modified time | relevance | path

Searched refs:ThreadCache (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Darena_impl.h276 struct ThreadCache { struct
281 ThreadCache() : last_lifecycle_id_seen(-1), last_serial_arena(NULL) {} in ThreadCache() argument
294 static ThreadCache& thread_cache(); argument
298 static ThreadCache& thread_cache();
300 static PROTOBUF_THREAD_LOCAL ThreadCache thread_cache_;
301 static ThreadCache& thread_cache() { return thread_cache_; } in thread_cache()
338 ThreadCache* tc = &thread_cache(); in GetSerialArenaFast()
352 ThreadCache* tc = &thread_cache(); in GetSerialArenaFromThreadCache()
Darena.cc55 ArenaImpl::ThreadCache& ArenaImpl::thread_cache() { in thread_cache()
56 static internal::ThreadLocalStorage<ThreadCache>* thread_cache_ = in thread_cache()
57 new internal::ThreadLocalStorage<ThreadCache>(); in thread_cache()
61 ArenaImpl::ThreadCache& ArenaImpl::thread_cache() { in thread_cache()
62 static PROTOBUF_THREAD_LOCAL ThreadCache thread_cache_ = {-1, NULL}; in thread_cache()
66 PROTOBUF_THREAD_LOCAL ArenaImpl::ThreadCache ArenaImpl::thread_cache_ = {-1,