Lines Matching refs:key

50 …   return !val_comp(rhs, lhs) && !key_comp(Value<Container>::key(rhs), Value<Container>::key(lhs));  in operator()
51 … return val_comp(lhs, rhs) && key_comp(Value<Container>::key(lhs), Value<Container>::key(rhs)); in operator()
86 for (int key = -1; key < random_threshold + 1; ++key) { in test_ordered_methods() local
87 auto eq_range = cont.equal_range(key); in test_ordered_methods()
90 REQUIRE_MESSAGE(*it == Value<Container>::make(key), "equal_range contains wrong value"); in test_ordered_methods()
96 if (!val_comp(*it, Value<Container>::make(key)) && l_bound_check == cont.end()) { in test_ordered_methods()
99 if (val_comp(Value<Container>::make(key), *it) && u_bound_check == cont.end()) { in test_ordered_methods()
110 typename Container::iterator l_bound = cont.lower_bound(key); in test_ordered_methods()
111 typename Container::iterator u_bound = cont.upper_bound(key); in test_ordered_methods()
117 const_iterator cl_bound = ccont.lower_bound(key); in test_ordered_methods()
118 const_iterator cu_bound = ccont.upper_bound(key); in test_ordered_methods()
188 if (!c.contains(Value<OrderedType>::key((*it)))) return false; in equal()
318 int key = i;
320 …REQUIRE_MESSAGE(c.lower_bound(k) == c.lower_bound(key), "Incorrect heterogeneous lower_bound retur…
321 …REQUIRE_MESSAGE(c.upper_bound(k) == c.upper_bound(key), "Incorrect heterogeneous upper_bound retur…
322 …REQUIRE_MESSAGE(cc.lower_bound(k) == cc.lower_bound(key), "Incorrect const heterogeneous lower_bou…
323 …REQUIRE_MESSAGE(cc.upper_bound(k) == cc.upper_bound(key), "Incorrect const heterogeneous upper_bou…