Lines Matching refs:it
83 Iterator it = il.begin(); in check_list_nodes() local
86 REQUIRE_MESSAGE(it_default != it, "Incorrect default constructed intrusive_list::iterator"); in check_list_nodes()
88 for ( i = value_step - 1; it != il.end(); ++it, i += value_step ) { in check_list_nodes()
89 REQUIRE_MESSAGE(it->Data() == i, "Unexpected node value while iterating forward"); in check_list_nodes()
90 REQUIRE_MESSAGE(it->m_Canary == NoliMeTangere, "Memory corruption"); in check_list_nodes()
94 it = il.end(); in check_list_nodes()
96 for ( i = NumElements - 1, it--; it != il.end(); --it, i -= value_step ) { in check_list_nodes()
97 REQUIRE_MESSAGE(it->Data() == i, "Unexpected node value while iterating backward"); in check_list_nodes()
98 REQUIRE_MESSAGE(it->m_Canary == NoliMeTangere, "Memory corruption"); in check_list_nodes()
113 iterator it = il.begin(); in test_list_operations() local
115 for (;it != il.end(); ++it) { in test_list_operations()
116 Item& item = *it; in test_list_operations()
117 it = il.erase(it); // also advances the iterator in test_list_operations()
122 for (it = il.begin(); it != il.end(); ++it) { in test_list_operations()
123 Item& item = *it; in test_list_operations()
124 il.remove(*it++); // extra advance here as well in test_list_operations()
129 for (it = il.begin(); it != il.end();) { in test_list_operations()
130 Item& item = *it++; // the iterator advances only here in test_list_operations()