Lines Matching refs:c2
215 container_type c1(allocator), c2(allocator); in test_scoped_allocator() local
249 c2.grow_by(20, data2); in test_scoped_allocator()
251 c1 = c2; in test_scoped_allocator()
252 c2 = std::move(c1); in test_scoped_allocator()
265 … tbb::concurrent_vector<Type, Allocator> &c1, const tbb::concurrent_vector<Type, Allocator> &c2 ) { in CompareVectors() argument
266 REQUIRE( (!(c1 == c2) && c1 != c2) ); in CompareVectors()
267 REQUIRE( (c1 <= c2 && c1 < c2 && c2 >= c1 && c2 > c1) ); in CompareVectors()
288 vector_t c2; in Examine() local
289 c2.reserve( 5 ); in Examine()
290 std::copy( c.begin(), c.begin() + 5, std::back_inserter( c2 ) ); in Examine()
292 c.grow_by( c2.begin(), c2.end() ); in Examine()
294 REQUIRE( utils::IsEqual()(cvcr.front(), *(c2.rend()-1)) ); in Examine()
295 REQUIRE( utils::IsEqual()(cvcr.back(), *c2.rbegin())); in Examine()
298 c.swap( c2 ); in Examine()
300 CompareVectors( c, c2 ); in Examine()
301 c.swap( c2 ); in Examine()
302 c2.clear(); in Examine()
303 REQUIRE( c2.size() == 0 ); in Examine()
304 c2.shrink_to_fit(); in Examine()
333 tbb::concurrent_vector<Type> c2({vec[0],vec[1],vec[2]}); in TypeTester() local
334 std::copy( vec.begin()+3, vec.end(), std::back_inserter(c2) ); in TypeTester()
335 Examine<default_construction_present>( c2, vec ); in TypeTester()