Lines Matching refs:TSD
41 void commitBack(scudo::TSD<MockAllocator> *TSD) {} in commitBack() argument
103 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry() local
104 EXPECT_NE(TSD, nullptr); in testRegistry()
105 EXPECT_EQ(TSD->Cache.Canary, 0U); in testRegistry()
107 TSD->unlock(); in testRegistry()
110 TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry()
111 EXPECT_NE(TSD, nullptr); in testRegistry()
112 EXPECT_EQ(TSD->Cache.Canary, 0U); in testRegistry()
113 memset(&TSD->Cache, 0x42, sizeof(TSD->Cache)); in testRegistry()
115 TSD->unlock(); in testRegistry()
139 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in stressCache() local
140 EXPECT_NE(TSD, nullptr); in stressCache()
144 EXPECT_EQ(TSD->Cache.Canary, 0U); in stressCache()
148 TSD->Cache.Canary = Canary; in stressCache()
151 EXPECT_EQ(TSD->Cache.Canary, Canary); in stressCache()
153 TSD->unlock(); in stressCache()
197 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in stressSharedRegistry() local
198 EXPECT_NE(TSD, nullptr); in stressSharedRegistry()
199 Set.insert(reinterpret_cast<void *>(TSD)); in stressSharedRegistry()
201 TSD->unlock(); in stressSharedRegistry()