Home | History | Annotate | Download | only in base

Lines Matching full:iter

71     IDMap<TestObject>::const_iterator iter(&map);
75 while (!iter.IsAtEnd()) {
76 map.Remove(iter.GetCurrentKey());
77 iter.Advance();
103 for (IDMap<TestObject>::const_iterator iter(&map);
104 !iter.IsAtEnd(); iter.Advance()) {
109 EXPECT_EQ(ids[0], iter.GetCurrentKey());
110 EXPECT_EQ(&obj[0], iter.GetCurrentValue());
114 EXPECT_EQ(ids[2], iter.GetCurrentKey());
115 EXPECT_EQ(&obj[2], iter.GetCurrentValue());
119 EXPECT_EQ(ids[4], iter.GetCurrentKey());
120 EXPECT_EQ(&obj[4], iter.GetCurrentValue());
203 for (IDMap<TestObject>::const_iterator iter(&map);
204 !iter.IsAtEnd(); iter.Advance()) {
207 EXPECT_EQ(ids[0], iter.GetCurrentKey());
208 EXPECT_EQ(&obj[0], iter.GetCurrentValue());
211 EXPECT_EQ(ids[1], iter.GetCurrentKey());
212 EXPECT_EQ(&obj[1], iter.GetCurrentValue());