Lines Matching refs:first
229 vector<int>::iterator first; in find_first_of_test() local
230 first = find_first_of(intv.begin(), intv.end(), intsl.begin(), intsl.end()); in find_first_of_test()
231 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
232 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test()
241 vector<int>::iterator first; in find_first_of_test() local
242 first = find_first_of(intv.begin(), intv.end(), intsl.begin(), intsl.end()); in find_first_of_test()
243 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
244 CPPUNIT_ASSERT( *first == 2 ); in find_first_of_test()
259 vector<int>::iterator first; in find_first_of_test() local
260 first = find_first_of(intv.begin(), intv.end(), intl.begin(), intl.end()); in find_first_of_test()
261 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
262 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test()
271 vector<int>::iterator first; in find_first_of_test() local
272 first = find_first_of(intv.begin(), intv.end(), intl.begin(), intl.end()); in find_first_of_test()
273 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
274 CPPUNIT_ASSERT( *first == 2 ); in find_first_of_test()
285 vector<int>::iterator first; in find_first_of_test() local
286 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test()
287 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
288 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test()
299 vector<int>::iterator first; in find_first_of_test() local
300 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test()
301 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
302 CPPUNIT_ASSERT( *first == 255 ); in find_first_of_test()
314 vector<int>::iterator first; in find_first_of_test() local
315 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test()
316 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
317 CPPUNIT_ASSERT( *first == -101 ); in find_first_of_test()
328 vector<MyIntComparable>::iterator first; in find_first_of_test() local
329 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test()
330 CPPUNIT_ASSERT( first != intv.end() ); in find_first_of_test()
331 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test()
362 CPPUNIT_ASSERT( i->first == 4 || i->first == 10 ); in find_first_of_nsc_test()