Searched refs:ThreadCache (Results 1 – 2 of 2) sorted by relevance
276 struct ThreadCache { struct281 ThreadCache() : last_lifecycle_id_seen(-1), last_serial_arena(NULL) {} in ThreadCache() argument294 static ThreadCache& thread_cache(); argument298 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()
55 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,