Lines Matching refs:bufs
179 vector<int*> bufs;
181 bufs.push_back(&vect_deque[0].front());
182 bufs.push_back(&vect_deque[1].front());
183 bufs.push_back(&vect_deque[2].front());
191 bufs.insert(bufs.begin() + pos, &vect_deque[pos].front());
192 bufs.insert(bufs.begin() + pos + 1, &vect_deque[pos + 1].front());
198 CPPUNIT_ASSERT( bufs[i] == &vect_deque[i].front() );
199 CPPUNIT_ASSERT( bufs[11 - i] == &vect_deque[11 - i].front() );
209 vector<int*> bufs;
211 bufs.push_back(&vect_deque[0].front());
212 bufs.push_back(&vect_deque[1].front());
213 bufs.push_back(&vect_deque[2].front());
221 bufs.insert(bufs.begin() + pos, &vect_deque[pos].front());
222 bufs.insert(bufs.begin() + pos + 1, &vect_deque[pos + 1].front());
228 CPPUNIT_ASSERT( bufs[i + 1] == &vect_deque[i + 1].front() );
229 CPPUNIT_ASSERT( bufs[12 - i] == &vect_deque[12 - i].front() );
240 vector<int*> bufs;
242 bufs.push_back(&vdit->front());
256 bufs.erase(bufs.begin() + 2);
261 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
276 bufs.erase(bufs.end() - 2);
281 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
296 bufs.erase(bufs.begin() + 3, bufs.begin() + 5);
301 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
316 bufs.erase(bufs.end() - 5, bufs.end() - 3);
321 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
332 vector<int*> bufs;
334 bufs.push_back(&vdit->front());
340 bufs.insert(bufs.begin() + 2, &vect_deque[2].front());
341 bufs.insert(bufs.begin() + 3, &vect_deque[3].front());
346 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
354 bufs.insert(bufs.end() - 2, &vect_deque[20].front());
355 bufs.insert(bufs.end() - 2, &vect_deque[21].front());
360 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
369 bufs.insert(bufs.begin() + 2, &vect_deque[2].front());
372 CPPUNIT_ASSERT( &ret->front() == bufs[2] );
375 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
384 bufs.insert(bufs.end() - 2, &vect_deque[23].front());
387 CPPUNIT_ASSERT( &ret->front() == bufs[23] );
390 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
403 vector<int*> bufs;
405 bufs.push_back(&vect_vector[0].front());
406 bufs.push_back(&vect_vector[1].front());
407 bufs.push_back(&vect_vector[2].front());
414 bufs.insert(bufs.begin() + pos, &vect_vector[pos].front());
415 bufs.insert(bufs.begin() + pos + 1, &vect_vector[pos + 1].front());
421 CPPUNIT_ASSERT( bufs[i] == &vect_vector[i].front() );
422 CPPUNIT_ASSERT( bufs[11 - i] == &vect_vector[11 - i].front() );
430 vector<int*> bufs;
432 bufs.push_back(&vect_vector[0].front());
433 bufs.push_back(&vect_vector[1].front());
434 bufs.push_back(&vect_vector[2].front());
442 bufs.insert(bufs.begin() + pos, &vect_vector[pos].front());
443 bufs.insert(bufs.begin() + pos + 1, &vect_vector[pos + 1].front());
449 CPPUNIT_ASSERT( bufs[i + 1] == &vect_vector[i + 1].front() );
450 CPPUNIT_ASSERT( bufs[12 - i] == &vect_vector[12 - i].front() );
460 vector<int*> bufs;
462 bufs.push_back(&vdit->front());
476 bufs.erase(bufs.begin() + 2);
481 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
496 bufs.erase(bufs.end() - 2);
501 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
516 bufs.erase(bufs.begin() + 3, bufs.begin() + 5);
521 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
536 bufs.erase(bufs.end() - 5, bufs.end() - 3);
541 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
552 vector<int*> bufs;
554 bufs.push_back(&vdit->front());
560 bufs.insert(bufs.begin() + 2, &vect_vector[2].front());
561 bufs.insert(bufs.begin() + 3, &vect_vector[3].front());
566 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
574 bufs.insert(bufs.end() - 2, &vect_vector[20].front());
575 bufs.insert(bufs.end() - 2, &vect_vector[21].front());
580 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
591 bufs.insert(bufs.begin() + 2, &vect_vector[2].front());
594 CPPUNIT_ASSERT( &ret->front() == bufs[2] );
597 CPPUNIT_ASSERT( bufs[i] == &dit->front() );
608 bufs.insert(bufs.end() - 2, &vect_vector[23].front());
611 CPPUNIT_ASSERT( &ret->front() == bufs[23] );
614 CPPUNIT_ASSERT( bufs[i] == &dit->front() );