Lines Matching refs:acc
622 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex() local
623 chmap.emplace(acc, i, i); in test_with_minimalistic_mutex()
624 CHECK(acc->first == i); in test_with_minimalistic_mutex()
625 CHECK(acc->second == i); in test_with_minimalistic_mutex()
631 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex() local
632 bool result = chmap.emplace(acc, i, i * 10000); in test_with_minimalistic_mutex()
634 CHECK(acc->first == i); in test_with_minimalistic_mutex()
635 CHECK(acc->second == i); in test_with_minimalistic_mutex()
641 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex() local
642 bool result = chmap.find(acc, i); in test_with_minimalistic_mutex()
644 CHECK(acc->first == i); in test_with_minimalistic_mutex()
645 CHECK(acc->second == i); in test_with_minimalistic_mutex()
664 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex() local
665 bool result = chmap.find(acc, i); in test_with_minimalistic_mutex()
667 REQUIRE_MESSAGE(acc->first == i, "Incorrect key"); in test_with_minimalistic_mutex()
668 REQUIRE_MESSAGE(acc->second == i, "Incorrect value"); in test_with_minimalistic_mutex()
673 typename chmap_type::const_accessor acc; in test_with_minimalistic_mutex() local
674 bool result = chmap.find(acc, i); in test_with_minimalistic_mutex()
703 Accessor acc; in test_chmap_access_mode() local
706 bool result = map.insert(acc, 1); in test_chmap_access_mode()
708 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from homogeneous ins… in test_chmap_access_mode()
711 result = map.insert(acc, 2L); in test_chmap_access_mode()
713 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from heterogeneous i… in test_chmap_access_mode()
717 result = map.insert(acc, value); in test_chmap_access_mode()
719 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from lvalue insert"); in test_chmap_access_mode()
722 result = map.insert(acc, typename Map::value_type{4, 4}); in test_chmap_access_mode()
724 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from rvalue insert"); in test_chmap_access_mode()
727 result = map.find(acc, 1); in test_chmap_access_mode()
729 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from homogeneous fin… in test_chmap_access_mode()
732 result = map.find(acc, 2L); in test_chmap_access_mode()
734 …CHECK_MESSAGE(acc.is_writer() == expect_write, "Incorrect access into the map from heterogeneous f… in test_chmap_access_mode()