Lines Matching refs:chmap
1187 void TestCHMapIteratorComparisonsBasic( CHMapType& chmap ) { in TestCHMapIteratorComparisonsBasic() argument
1188 REQUIRE_MESSAGE(!chmap.empty(), "Incorrect test setup"); in TestCHMapIteratorComparisonsBasic()
1192 it1 = chmap.begin(); in TestCHMapIteratorComparisonsBasic()
1194 it2 = chmap.begin(); in TestCHMapIteratorComparisonsBasic()
1196 it2 = chmap.end(); in TestCHMapIteratorComparisonsBasic()
1203 chmap_type chmap = {value_type{1, 1}, value_type{2, 2}, value_type{3, 3}}; in TestCHMapIteratorComparisons() local
1204 TestCHMapIteratorComparisonsBasic<typename chmap_type::iterator>(chmap); in TestCHMapIteratorComparisons()
1205 const chmap_type& cchmap = chmap; in TestCHMapIteratorComparisons()
1285 chmap_type chmap; in test_heterogeneous_find() local
1294 bool regular_result = chmap.find(cacc, key); in test_heterogeneous_find()
1295 bool heterogeneous_result = chmap.find(cacc, int(1)); in test_heterogeneous_find()
1302 regular_result = chmap.find(acc, key); in test_heterogeneous_find()
1303 heterogeneous_result = chmap.find(acc, int(1)); in test_heterogeneous_find()
1310 bool tmp_result = chmap.emplace(cacc, std::piecewise_construct, in test_heterogeneous_find()
1314 regular_result = chmap.find(cacc, key); in test_heterogeneous_find()
1315 heterogeneous_result = chmap.find(cacc, int(1)); in test_heterogeneous_find()
1323 regular_result = chmap.find(acc, key); in test_heterogeneous_find()
1324 heterogeneous_result = chmap.find(acc, int(1)); in test_heterogeneous_find()
1337 chmap_type chmap; in test_heterogeneous_count() local
1342 typename chmap_type::size_type regular_count = chmap.count(key); in test_heterogeneous_count()
1343 typename chmap_type::size_type heterogeneous_count = chmap.count(int(1)); in test_heterogeneous_count()
1349 …chmap.emplace(std::piecewise_construct, std::forward_as_tuple(key_type::construct_flag{}, 1), std:… in test_heterogeneous_count()
1351 regular_count = chmap.count(key); in test_heterogeneous_count()
1352 heterogeneous_count = chmap.count(int(1)); in test_heterogeneous_count()
1364 chmap_type chmap; in test_heterogeneous_equal_range() local
1373 result regular_result = chmap.equal_range(key); in test_heterogeneous_equal_range()
1374 result heterogeneous_result = chmap.equal_range(int(1)); in test_heterogeneous_equal_range()
1376 REQUIRE(regular_result.first == chmap.end()); in test_heterogeneous_equal_range()
1377 REQUIRE(regular_result.second == chmap.end()); in test_heterogeneous_equal_range()
1381 const chmap_type& cchmap = chmap; in test_heterogeneous_equal_range()
1392 …chmap.emplace(std::piecewise_construct, std::forward_as_tuple(key_type::construct_flag{}, 1), std:… in test_heterogeneous_equal_range()
1394 regular_result = chmap.equal_range(key); in test_heterogeneous_equal_range()
1395 heterogeneous_result = chmap.equal_range(int(1)); in test_heterogeneous_equal_range()
1397 REQUIRE(regular_result.first != chmap.end()); in test_heterogeneous_equal_range()
1399 REQUIRE(regular_result.second == chmap.end()); in test_heterogeneous_equal_range()
1415 chmap_type chmap; in test_heterogeneous_insert() local
1423 bool result = chmap.insert(cacc, int(1)); in test_heterogeneous_insert()
1430 result = chmap.insert(cacc, int(1)); in test_heterogeneous_insert()
1437 result = chmap.insert(acc, int(2)); in test_heterogeneous_insert()
1444 result = chmap.insert(acc, int(2)); in test_heterogeneous_insert()
1458 chmap_type chmap; in test_heterogeneous_erase() local
1462 …chmap.emplace(std::piecewise_construct, std::forward_as_tuple(key_type::construct_flag{}, 1), std:… in test_heterogeneous_erase()
1463 …chmap.emplace(std::piecewise_construct, std::forward_as_tuple(key_type::construct_flag{}, 2), std:… in test_heterogeneous_erase()
1467 REQUIRE(chmap.find(cacc, int(1))); in test_heterogeneous_erase()
1468 REQUIRE(chmap.find(cacc, int(2))); in test_heterogeneous_erase()
1472 bool result = chmap.erase(int(1)); in test_heterogeneous_erase()
1475 REQUIRE_MESSAGE(!chmap.find(cacc, int(1)), "Element was not erased"); in test_heterogeneous_erase()
1478 result = chmap.erase(int(1)); in test_heterogeneous_erase()