Lines Matching defs:ThreadLocalStorage
164 struct ThreadLocalStorage { struct
165 ThreadLocalStorage() : root_(AllocateAndInitializeChunk()) { Initialize(); } in ThreadLocalStorage() function
170 ThreadLocalStorage(AllocatorType allocator, TLSSystemType tlsSystem) in ThreadLocalStorage() function
179 ~ThreadLocalStorage() { in ~ThreadLocalStorage() argument
195 ThreadLocalStorage& operator=(const ThreadLocalStorage&) = delete; argument
196 ThreadLocalStorage& operator=(ThreadLocalStorage&&) = delete; argument
200 PayloadType* GetThreadLocalData() { in GetThreadLocalData()
221 struct SingleSlot {
232 struct ChunkT {
244 static constexpr size_t CalculateEffectiveNumberOfItemsBinSearch() { in CalculateEffectiveNumberOfItemsBinSearch()
273 static constexpr size_t CalculateEffectiveNumberOfItems() { in CalculateEffectiveNumberOfItems()
293 static constexpr size_t ItemsPerChunk =
305 static void MarkSlotAsFree(void* data) { in MarkSlotAsFree()
318 void Initialize() { in Initialize()
328 Chunk* AllocateAndInitializeChunk() { in AllocateAndInitializeChunk()
339 void FreeAndDeallocateChunkForTesting(Chunk* chunk_to_erase) { in FreeAndDeallocateChunkForTesting()
351 SingleSlot* FindAndAllocateFreeSlot(Chunk* const chunk) { in FindAndAllocateFreeSlot()
384 TearDownForTesting() { in TearDownForTesting()
415 // The ThreadLocalStorage visible to the user. This uses the internal default argument
422 using ThreadLocalStorage = variable