Home | History | Annotate | Download | only in IR

Lines Matching refs:Data

64   typename ValueMapConfig<TypeParam*>::ExtraData Data;
65 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3;
187 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) {
188 *Data.CalledRAUW = true;
189 EXPECT_FALSE(Data.M->try_lock()) << "Mutex should already be locked.";
191 static void onDelete(const ExtraData &Data, KeyT Old) {
192 *Data.CalledDeleted = true;
193 EXPECT_FALSE(Data.M->try_lock()) << "Mutex should already be locked.";
195 static MutexT *getMutex(const ExtraData &Data) { return Data.M; }
203 typename ConfigType::ExtraData Data = {&M, &CalledRAUW, &CalledDeleted};
204 ValueMap<TypeParam*, int, ConfigType> VM(Data);
242 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) {
243 ++*Data.RAUWs;
245 static void onDelete(const ExtraData &Data, KeyT Old) {
246 ++*Data.Deletions;
252 typename CountOps<TypeParam*>::ExtraData Data = {&Deletions, &RAUWs};
253 ValueMap<TypeParam*, int, CountOps<TypeParam*> > VM(Data);