Lines Matching refs:TSD
38 void commitBack(scudo::TSD<MockAllocator> *TSD) {} in commitBack() argument
95 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry() local
96 EXPECT_NE(TSD, nullptr); in testRegistry()
97 EXPECT_EQ(TSD->Cache.Canary, 0U); in testRegistry()
99 TSD->unlock(); in testRegistry()
102 TSD = Registry->getTSDAndLock(&UnlockRequired); in testRegistry()
103 EXPECT_NE(TSD, nullptr); in testRegistry()
104 EXPECT_EQ(TSD->Cache.Canary, 0U); in testRegistry()
105 memset(&TSD->Cache, 0x42, sizeof(TSD->Cache)); in testRegistry()
107 TSD->unlock(); in testRegistry()
131 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in stressCache() local
132 EXPECT_NE(TSD, nullptr); in stressCache()
136 EXPECT_EQ(TSD->Cache.Canary, 0U); in stressCache()
140 TSD->Cache.Canary = Canary; in stressCache()
143 EXPECT_EQ(TSD->Cache.Canary, Canary); in stressCache()
145 TSD->unlock(); in stressCache()
190 auto TSD = Registry->getTSDAndLock(&UnlockRequired); in stressSharedRegistry() local
191 EXPECT_NE(TSD, nullptr); in stressSharedRegistry()
192 Set.insert(reinterpret_cast<void *>(TSD)); in stressSharedRegistry()
194 TSD->unlock(); in stressSharedRegistry()