Home
last modified time | relevance | path

Searched refs:equal_to (Results 1 – 25 of 786) sorted by relevance

12345678910>>...32

/external/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
Dis_permutation_pred.pass.cpp36 std::equal_to<int> c{}; in test_constexpr()
67 std::equal_to<const int>()) == true); in main()
71 std::equal_to<const int>()) == true); in main()
77 std::equal_to<const int>()) == true); in main()
82 std::equal_to<const int>()) == false); in main()
92 std::equal_to<const int>()) == false); in main()
98 std::equal_to<const int>()) == false); in main()
109 std::equal_to<const int>()) == true); in main()
115 std::equal_to<const int>()) == true); in main()
120 std::equal_to<const int>()) == false); in main()
[all …]
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/
Dis_permutation_pred.pass.cpp37 std::equal_to<int> c{}; in test_constexpr()
68 std::equal_to<const int>()) == true); in main()
72 std::equal_to<const int>()) == true); in main()
78 std::equal_to<const int>()) == true); in main()
83 std::equal_to<const int>()) == false); in main()
93 std::equal_to<const int>()) == false); in main()
99 std::equal_to<const int>()) == false); in main()
110 std::equal_to<const int>()) == true); in main()
116 std::equal_to<const int>()) == true); in main()
121 std::equal_to<const int>()) == false); in main()
[all …]
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/
Dadjacent_find.pass.cpp52 auto i = std::adjacent_find(in.cbegin(), in.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
55 invoke_on_all_policies(test_adjacent_find(), in.begin(), in.end(), std::equal_to<T>()); in test_adjacent_find_by_type()
56 … invoke_on_all_policies(test_adjacent_find(), in.cbegin(), in.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
64 auto i = std::adjacent_find(in.cbegin(), in.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
67 invoke_on_all_policies(test_adjacent_find(), in.begin(), in.end(), std::equal_to<T>()); in test_adjacent_find_by_type()
68 invoke_on_all_policies(test_adjacent_find(), in.cbegin(), in.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
73 invoke_on_all_policies(test_adjacent_find(), a1.begin(), a1.end(), std::equal_to<T>()); in test_adjacent_find_by_type()
74 invoke_on_all_policies(test_adjacent_find(), a1.begin() + 1, a1.end(), std::equal_to<T>()); in test_adjacent_find_by_type()
76 invoke_on_all_policies(test_adjacent_find(), a1.cbegin(), a1.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
77 invoke_on_all_policies(test_adjacent_find(), a1.cbegin() + 1, a1.cend(), std::equal_to<T>()); in test_adjacent_find_by_type()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dedit_distance_test.cc60 ASSERT_EQ(LevenshteinDistance(empty_, empty_, std::equal_to<char>()), 0); in TEST_F()
64 ASSERT_EQ(LevenshteinDistance(ebab_, abcd_, std::equal_to<char>()), 3); in TEST_F()
65 ASSERT_EQ(LevenshteinDistance(abcd_, ebab_, std::equal_to<char>()), 3); in TEST_F()
69 ASSERT_EQ(LevenshteinDistance(s1234_, empty_, std::equal_to<char>()), 4); in TEST_F()
70 ASSERT_EQ(LevenshteinDistance(empty_, s567_, std::equal_to<char>()), 3); in TEST_F()
74 ASSERT_EQ(LevenshteinDistance(s1234_, s1_, std::equal_to<char>()), 3); in TEST_F()
75 ASSERT_EQ(LevenshteinDistance(s1_, s1234_, std::equal_to<char>()), 3); in TEST_F()
79 ASSERT_EQ(LevenshteinDistance(kilo_, kilogram_, std::equal_to<char>()), 4); in TEST_F()
80 ASSERT_EQ(LevenshteinDistance(kilogram_, kilo_, std::equal_to<char>()), 4); in TEST_F()
84 ASSERT_EQ(LevenshteinDistance(mother_, grandmother_, std::equal_to<char>()), in TEST_F()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
Dassign_move.pass.cpp38 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
60 test_compare<std::equal_to<int> >(3), in main()
71 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
83 test_compare<std::equal_to<int> >, in main()
99 test_compare<std::equal_to<int> >(9), in main()
105 test_compare<std::equal_to<int> >(3), in main()
116 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
128 test_compare<std::equal_to<int> >, in main()
144 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dmove.pass.cpp36 test_compare<std::equal_to<int> >, in main()
41 test_compare<std::equal_to<int> >(9), in main()
48 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
61 test_compare<std::equal_to<int> >, in main()
77 test_compare<std::equal_to<int> >(9), in main()
88 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
101 test_compare<std::equal_to<int> >, in main()
106 test_compare<std::equal_to<int> >(9), in main()
113 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
126 test_compare<std::equal_to<int> >, in main()
[all …]
Dassign_copy.pass.cpp37 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
59 test_compare<std::equal_to<int> >(3), in main()
70 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
101 test_compare<std::equal_to<int> >, in main()
117 test_compare<std::equal_to<int> >(9), in main()
123 test_compare<std::equal_to<int> >(3), in main()
134 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
147 test_compare<std::equal_to<int> >, in main()
163 test_compare<std::equal_to<int> >(9), in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
Dassign_move.pass.cpp38 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
60 test_compare<std::equal_to<int> >(3), in main()
79 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
91 test_compare<std::equal_to<int> >, in main()
107 test_compare<std::equal_to<int> >(9), in main()
113 test_compare<std::equal_to<int> >(3), in main()
124 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
136 test_compare<std::equal_to<int> >, in main()
152 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dassign_copy.pass.cpp37 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
59 test_compare<std::equal_to<int> >(3), in main()
78 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
109 test_compare<std::equal_to<int> >, in main()
125 test_compare<std::equal_to<int> >(9), in main()
131 test_compare<std::equal_to<int> >(3), in main()
150 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
163 test_compare<std::equal_to<int> >, in main()
179 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dmove.pass.cpp37 test_compare<std::equal_to<int> >, in main()
42 test_compare<std::equal_to<int> >(9), in main()
49 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
62 test_compare<std::equal_to<int> >, in main()
78 test_compare<std::equal_to<int> >(9), in main()
89 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
102 test_compare<std::equal_to<int> >, in main()
107 test_compare<std::equal_to<int> >(9), in main()
114 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
127 test_compare<std::equal_to<int> >, in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
Dassign_move.pass.cpp38 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
60 test_compare<std::equal_to<int> >(3), in main()
71 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
83 test_compare<std::equal_to<int> >, in main()
99 test_compare<std::equal_to<int> >(9), in main()
105 test_compare<std::equal_to<int> >(3), in main()
116 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
128 test_compare<std::equal_to<int> >, in main()
144 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dassign_copy.pass.cpp37 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
59 test_compare<std::equal_to<int> >(3), in main()
70 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
100 test_compare<std::equal_to<int> >, in main()
116 test_compare<std::equal_to<int> >(9), in main()
122 test_compare<std::equal_to<int> >(3), in main()
133 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
146 test_compare<std::equal_to<int> >, in main()
162 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dmove.pass.cpp37 test_compare<std::equal_to<int> >, in main()
42 test_compare<std::equal_to<int> >(9), in main()
49 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
62 test_compare<std::equal_to<int> >, in main()
78 test_compare<std::equal_to<int> >(9), in main()
89 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
102 test_compare<std::equal_to<int> >, in main()
107 test_compare<std::equal_to<int> >(9), in main()
114 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
127 test_compare<std::equal_to<int> >, in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
Dassign_move.pass.cpp37 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
59 test_compare<std::equal_to<int> >(3), in main()
70 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
82 test_compare<std::equal_to<int> >, in main()
98 test_compare<std::equal_to<int> >(9), in main()
104 test_compare<std::equal_to<int> >(3), in main()
115 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
127 test_compare<std::equal_to<int> >, in main()
143 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dmove.pass.cpp36 test_compare<std::equal_to<int> >, in main()
41 test_compare<std::equal_to<int> >(9), in main()
48 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
61 test_compare<std::equal_to<int> >, in main()
77 test_compare<std::equal_to<int> >(9), in main()
88 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
101 test_compare<std::equal_to<int> >, in main()
106 test_compare<std::equal_to<int> >(9), in main()
113 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
126 test_compare<std::equal_to<int> >, in main()
[all …]
Dassign_copy.pass.cpp36 test_compare<std::equal_to<int> >, in main()
52 test_compare<std::equal_to<int> >(9), in main()
58 test_compare<std::equal_to<int> >(3), in main()
69 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
99 test_compare<std::equal_to<int> >, in main()
115 test_compare<std::equal_to<int> >(9), in main()
121 test_compare<std::equal_to<int> >(3), in main()
132 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
145 test_compare<std::equal_to<int> >, in main()
161 test_compare<std::equal_to<int> >(9), in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
Dassign_move.pass.cpp39 test_compare<std::equal_to<int> >, in main()
55 test_compare<std::equal_to<int> >(9), in main()
61 test_compare<std::equal_to<int> >(3), in main()
72 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
84 test_compare<std::equal_to<int> >, in main()
100 test_compare<std::equal_to<int> >(9), in main()
106 test_compare<std::equal_to<int> >(3), in main()
117 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
130 test_compare<std::equal_to<int> >, in main()
146 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dsize_hash_equal_allocator.pass.cpp33 test_compare<std::equal_to<NotConstructible> >, in main()
39 test_compare<std::equal_to<NotConstructible> >(9), in main()
44 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
57 test_compare<std::equal_to<NotConstructible> >, in main()
63 test_compare<std::equal_to<NotConstructible> >(9), in main()
68 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
81 test_compare<std::equal_to<NotConstructible> >, in main()
86 test_compare<std::equal_to<NotConstructible> >(9), in main()
91 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
Dassign_copy.pass.cpp38 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
60 test_compare<std::equal_to<int> >(3), in main()
71 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
101 test_compare<std::equal_to<int> >, in main()
117 test_compare<std::equal_to<int> >(9), in main()
123 test_compare<std::equal_to<int> >(3), in main()
134 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
147 test_compare<std::equal_to<int> >, in main()
163 test_compare<std::equal_to<int> >(9), in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
Dassign_move.pass.cpp38 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
60 test_compare<std::equal_to<int> >(3), in main()
71 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
83 test_compare<std::equal_to<int> >, in main()
99 test_compare<std::equal_to<int> >(9), in main()
105 test_compare<std::equal_to<int> >(3), in main()
116 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
129 test_compare<std::equal_to<int> >, in main()
145 test_compare<std::equal_to<int> >(9), in main()
[all …]
Dsize_hash_equal_allocator.pass.cpp32 test_compare<std::equal_to<NotConstructible> >, in main()
38 test_compare<std::equal_to<NotConstructible> >(9), in main()
43 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
56 test_compare<std::equal_to<NotConstructible> >, in main()
62 test_compare<std::equal_to<NotConstructible> >(9), in main()
67 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
80 test_compare<std::equal_to<NotConstructible> >, in main()
85 test_compare<std::equal_to<NotConstructible> >(9), in main()
90 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
Dassign_copy.pass.cpp37 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
59 test_compare<std::equal_to<int> >(3), in main()
70 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
100 test_compare<std::equal_to<int> >, in main()
116 test_compare<std::equal_to<int> >(9), in main()
122 test_compare<std::equal_to<int> >(3), in main()
133 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
146 test_compare<std::equal_to<int> >, in main()
162 test_compare<std::equal_to<int> >(9), in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Dsize_hash_equal_allocator.pass.cpp32 test_compare<std::equal_to<NotConstructible> >, in main()
38 test_compare<std::equal_to<NotConstructible> >(9), in main()
43 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
56 test_compare<std::equal_to<NotConstructible> >, in main()
62 test_compare<std::equal_to<NotConstructible> >(9), in main()
67 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
80 test_compare<std::equal_to<NotConstructible> >, in main()
85 test_compare<std::equal_to<NotConstructible> >(9), in main()
90 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
Ddeduct.pass.cpp91 …T_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<int>>); in main()
97 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
98 …SERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>>); in main()
104 …std::unordered_multimap m(std::begin(arr), std::end(arr), 42, std::hash<short>(), std::equal_to<>(… in main()
105 …(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator… in main()
125 … std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>> source; in main()
134 … std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>, test_allocator<PC>> source; in main()
161 …({ P{1,1L}, P{2,2L}, P{1,1L}, P{INT_MAX,1L}, P{3,1L} }, 42, std::hash<short>(), std::equal_to<>()); in main()
162 …SERT_SAME_TYPE(decltype(m), std::unordered_multimap<int, long, std::hash<short>, std::equal_to<>>); in main()
167 …{2,2L}, P{1,1L}, P{INT_MAX,1L}, P{3,1L} }, 42, std::hash<short>(), std::equal_to<>(), test_allocat… in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Dsize_hash_equal_allocator.pass.cpp33 test_compare<std::equal_to<NotConstructible> >, in main()
39 test_compare<std::equal_to<NotConstructible> >(9), in main()
44 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
57 test_compare<std::equal_to<NotConstructible> >, in main()
63 test_compare<std::equal_to<NotConstructible> >(9), in main()
68 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
81 test_compare<std::equal_to<NotConstructible> >, in main()
86 test_compare<std::equal_to<NotConstructible> >(9), in main()
91 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()

12345678910>>...32