Lines Matching refs:to_erase
252 std::vector<Obj> to_erase; in TEST() local
255 to_erase.push_back(Obj(i, i)); in TEST()
257 to_erase.push_back(Obj(set.size() - 1, set.size() - 1)); // The last element. in TEST()
258 to_erase.push_back(Obj(set.size(), set.size())); // Not in the set. in TEST()
261 while (!to_erase.empty()) { in TEST()
262 size_t erased = set.erase(to_erase.back()); in TEST()
265 expected_total -= to_erase.back().val_; in TEST()
268 to_erase.pop_back(); in TEST()
321 std::vector<Obj> to_erase; in TEST() local
324 to_erase.push_back(Obj(i, i)); in TEST()
326 to_erase.push_back(Obj(set.size() - 1, set.size() - 1)); // The last element. in TEST()
327 to_erase.push_back(Obj(set.size(), set.size())); // Not in the set. in TEST()
330 while (!to_erase.empty()) { in TEST()
331 size_t erased = set.erase(to_erase.back()); in TEST()
334 expected_total -= to_erase.back().val_; in TEST()
337 to_erase.pop_back(); in TEST()