Lines Matching refs:iterator
69 typename List::Iterator iterator;
70 for (iterator = list.Begin(); iterator != list.End(); --preIndex) {
72 // printf("(%p, %ld) %s (%p, %ld)\n", iterator->next, iterator->data, ((*iterator == values[preIndex]) ? "==" : "!="), values[preIndex].next, values[preIndex].data);
73 CHK(*iterator == values[preIndex]);
74 typename List::Iterator copy = iterator;
75 CHK(copy == iterator);
76 CHK(copy != ++iterator);
92 for (typename List::Iterator iterator = list.Begin(); iterator != list.End(); ++postIndex) {
94 // printf("(%p, %ld) %s (%p, %ld)\n", iterator->next, iterator->data, ((*iterator == values[postIndex]) ? "==" : "!="), values[postIndex].next, values[postIndex].data);
95 CHK(*iterator == values[postIndex]);
96 typename List::Iterator copy = iterator;
97 CHK(copy == iterator);
98 CHK(copy == iterator++);