Lines Matching refs:key_of_value
131 typename TreeType::value_type>::type key_of_value; in value_check() local
132 const key_type &key = key_of_value(v); in value_check()
410 typename KeyOfValue<typename T::key_type, V>::type key_of_value; in DoTest() local
428 CheckPairEquals(*b_copy.find(key_of_value(values[i])), values[i]); in DoTest()
435 CheckPairEquals(*b_range.find(key_of_value(values[i])), values[i]); in DoTest()
447 CheckPairEquals(*b_range.find(key_of_value(values[i])), values[i]); in DoTest()
465 CheckPairEquals(*b_range.find(key_of_value(values[i])), values[i]); in DoTest()
474 CheckPairEquals(*b_range.find(key_of_value(values[i])), values[i]); in DoTest()
480 mutable_b.erase(key_of_value(values[i])); in DoTest()
482 ASSERT_EQ(mutable_b.erase(key_of_value(values[i])), 0); in DoTest()
491 mutable_b.erase(mutable_b.find(key_of_value(values[i]))); in DoTest()
499 mutable_b.insert(mutable_b.upper_bound(key_of_value(values[i])), values[i]); in DoTest()
541 typename KeyOfValue<typename T::key_type, value_type>::type key_of_value; in ConstTest() local
549 EXPECT_TRUE(mutable_b.contains(key_of_value(value))); in ConstTest()
550 EXPECT_NE(mutable_b.find(key_of_value(value)), const_b.end()); in ConstTest()
551 EXPECT_TRUE(const_b.contains(key_of_value(value))); in ConstTest()
552 EXPECT_NE(const_b.find(key_of_value(value)), mutable_b.end()); in ConstTest()
553 EXPECT_EQ(*const_b.lower_bound(key_of_value(value)), value); in ConstTest()
554 EXPECT_EQ(const_b.upper_bound(key_of_value(value)), const_b.end()); in ConstTest()
555 EXPECT_EQ(*const_b.equal_range(key_of_value(value)).first, value); in ConstTest()
586 EXPECT_TRUE(const_b.contains(key_of_value(value))); in ConstTest()
587 EXPECT_EQ(const_b.count(key_of_value(value)), 1); in ConstTest()