Lines Matching refs:it
95 vector<NotTrivialCopyStruct>::const_iterator it(dst.begin()), end(dst.end()); in copy_test() local
96 for (; it != end; ++it) { in copy_test()
97 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test()
107 TrivialCopyStruct* it = src + 0; in copy_test() local
109 for (; it != end; ++it) { in copy_test()
110 (*it).member = 0; in copy_test()
114 for (it = dst+0, end = dst+count; it != end; ++it) { in copy_test()
118 CPPUNIT_ASSERT( (*it).member == 0 ); in copy_test()
120 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test()
132 list<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end()); in copy_test() local
133 for (; it != end; ++it) { in copy_test()
134 (*it).member = -1; in copy_test()
139 for (it = dst.begin(); it != end; ++it) { in copy_test()
140 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test()
148 vector<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end()); in copy_test() local
149 for (; it != end; ++it) { in copy_test()
150 (*it).member = -1; in copy_test()
155 for (it = dst.begin(); it != end; ++it) { in copy_test()
156 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test()
173 vector<unsigned int>::const_iterator it(dst.begin()); in copy_test() local
174 for (i = -5; i < 6; ++i, ++it) { in copy_test()
175 CPPUNIT_ASSERT( *it == (unsigned int)i ); in copy_test()
188 vector<unsigned int>::const_iterator it(dst.begin()); in copy_test() local
189 for (i = -5; i < 6; ++i, ++it) { in copy_test()
190 CPPUNIT_ASSERT( *it == (unsigned int)i ); in copy_test()
203 vector<float>::const_iterator it(dst.begin()); in copy_test() local
204 for (i = -5; i < 6; ++i, ++it) { in copy_test()
205 CPPUNIT_ASSERT( *it == (float)i ); in copy_test()
221 vector<base*>::iterator it(dst.begin()), end(dst.end()); in copy_test() local
222 for (; it != end; ++it) { in copy_test()
223 CPPUNIT_ASSERT( (*it) == pd ); in copy_test()