Lines Matching refs:ref
49 std::string& ref = *opt; in TEST() local
50 EXPECT_TRUE(ref.empty()); in TEST()
51 ref = "xyz"; in TEST()
162 const auto ref = map.get('d').value_or(std::cref(d)); in TEST() local
163 EXPECT_EQ(ref.get(), 'D'); in TEST()
173 const auto ref = map.get('d').value_or(std::ref(d)); in TEST() local
174 ref.get() = 'D'; in TEST()
273 const auto ref = map.get(2).transform([](const String& s) { return s.str[0]; }); in TYPED_TEST() local
274 ASSERT_TRUE(ref); in TYPED_TEST()
277 const auto it = map.try_replace(2, 1u, static_cast<char>(std::tolower(*ref))); in TYPED_TEST()
299 const auto ref = map.get(3); in TYPED_TEST() local
300 ASSERT_TRUE(ref); in TYPED_TEST()
303 const auto it = map.try_replace(3, ref->get().str, 2u, 1u); in TYPED_TEST()
323 const auto ref = map.get(2).transform([](const String& s) { return s.str[0]; }); in TYPED_TEST() local
324 ASSERT_TRUE(ref); in TYPED_TEST()
327 const auto [it, emplace] = map.emplace_or_replace(2, 1u, static_cast<char>(std::tolower(*ref))); in TYPED_TEST()
350 const auto ref = map.get(3); in TYPED_TEST() local
351 ASSERT_TRUE(ref); in TYPED_TEST()
354 const auto [it, emplace] = map.emplace_or_replace(3, ref->get().str, 2u, 1u); in TYPED_TEST()