Home
last modified time | relevance | path

Searched refs:my_c (Results 1 – 5 of 5) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_concurrent_hash_map.cpp75 Table &my_c; member in test_insert_by_key
98 Table &my_c; member in test_range
126 Table &my_c; member in check_value
128 check_value( Table &c ) : my_c(c) {} in check_value()
130 const Table &const_c = my_c; in operator ()()
131 CHECK(my_c.count( value.first ) == 1); in operator ()()
140 CHECK(my_c.erase( ca )); in operator ()()
143 CHECK(my_c.insert( ca, value )); in operator ()()
154 CHECK(my_c.erase( a )); in operator ()()
157 CHECK(my_c.insert( a, value )); in operator ()()
[all …]
H A Dtest_openmp.cpp97 data_type* my_c; member in OuterBody
110 my_a(a), my_b(b), my_c(c), m(m_), n(n_), p(p_) in OuterBody()
120 my_c[i] = sum; in operator ()()
H A Dtest_concurrent_vector.cpp192 tbb::concurrent_vector<Type, Allocator> &my_c; member in test_grow_by_and_resize
194 test_grow_by_and_resize( tbb::concurrent_vector<Type, Allocator> &c ) : my_c(c) {} in test_grow_by_and_resize()
196 const typename tbb::concurrent_vector<Type, Allocator>::size_type sz = my_c.size(); in operator ()()
197 my_c.grow_by( 5 ); in operator ()()
198 REQUIRE( my_c.size() == sz + 5 ); in operator ()()
199 my_c.resize( sz ); in operator ()()
200 REQUIRE( my_c.size() == sz ); in operator ()()
/oneTBB/test/common/
H A Dconcurrent_associative_common.h1008 Table& my_c;
1012 : my_c(c), my_value(value) {}
1016 REQUIRE(equal(my_c[my_value.first], my_value.second));
1049 Table& my_c;
1051 CheckValue( Table& c ) : my_c(c) {}
1055 const Table& constC = my_c;
1057 REQUIRE(my_c.count(Value<Table>::key(value)) == 1);
1066 std::pair<iterator, bool> res = my_c.insert(value);
1072 REQUIRE(my_c.unsafe_erase(res.first) == it);
1074 REQUIRE(equal(*my_c.insert(my_c.begin(), value), value));
[all …]
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp1129 oneapi::tbb::concurrent_vector<Type, Allocator> &my_c; member in test_grow_by_and_resize
1131 test_grow_by_and_resize( oneapi::tbb::concurrent_vector<Type, Allocator> &c ) : my_c(c) {} in test_grow_by_and_resize()
1133 const typename oneapi::tbb::concurrent_vector<Type, Allocator>::size_type sz = my_c.size(); in operator ()()
1134 my_c.grow_by( 5 ); in operator ()()
1135 REQUIRE( my_c.size() == sz + 5 ); in operator ()()
1136 my_c.resize( sz ); in operator ()()
1137 REQUIRE( my_c.size() == sz ); in operator ()()