Home
last modified time | relevance | path

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

12345678910>>...15

/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/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/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 …]
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 …]
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_alloc.pass.cpp39 test_compare<std::equal_to<int> >, in main()
54 test_compare<std::equal_to<int> >(9), in main()
73 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
88 test_compare<std::equal_to<int> >, in main()
103 test_compare<std::equal_to<int> >(9), in main()
114 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
129 test_compare<std::equal_to<int> >, in main()
144 test_compare<std::equal_to<int> >(9), in main()
155 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
170 test_compare<std::equal_to<int> >, in main()
[all …]
Dsize_hash_equal.pass.cpp33 test_compare<std::equal_to<NotConstructible> >, in main()
38 test_compare<std::equal_to<NotConstructible> >(9) in main()
42 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
54 test_compare<std::equal_to<NotConstructible> >, in main()
59 test_compare<std::equal_to<NotConstructible> >(9) in main()
63 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
Dcopy.pass.cpp35 test_compare<std::equal_to<int> >, in main()
51 test_compare<std::equal_to<int> >(9), 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()
117 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()
163 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
Dsize_hash_equal_allocator.pass.cpp33 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()
55 test_compare<std::equal_to<NotConstructible> >, in main()
60 test_compare<std::equal_to<NotConstructible> >(9), in main()
65 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
/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 …]
Dcopy.pass.cpp35 test_compare<std::equal_to<int> >, in main()
51 test_compare<std::equal_to<int> >(9), in main()
62 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
74 test_compare<std::equal_to<int> >, in main()
90 test_compare<std::equal_to<int> >(9), in main()
101 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
112 test_compare<std::equal_to<int> >, in main()
128 test_compare<std::equal_to<int> >(9), in main()
139 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
Dsize_hash_equal.pass.cpp33 test_compare<std::equal_to<NotConstructible> >, in main()
38 test_compare<std::equal_to<NotConstructible> >(9) in main()
42 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
54 test_compare<std::equal_to<NotConstructible> >, in main()
59 test_compare<std::equal_to<NotConstructible> >(9) in main()
63 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
Dmove_alloc.pass.cpp38 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
64 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
79 test_compare<std::equal_to<int> >, in main()
94 test_compare<std::equal_to<int> >(9), in main()
105 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
120 test_compare<std::equal_to<int> >, in main()
135 test_compare<std::equal_to<int> >(9), in main()
146 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
Dsize_hash_equal_allocator.pass.cpp33 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()
55 test_compare<std::equal_to<NotConstructible> >, in main()
60 test_compare<std::equal_to<NotConstructible> >(9), in main()
65 assert(c.key_eq() == test_compare<std::equal_to<NotConstructible> >(9)); in main()
/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 …]
Dmove_alloc.pass.cpp40 test_compare<std::equal_to<int> >, in main()
55 test_compare<std::equal_to<int> >(9), in main()
66 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
81 test_compare<std::equal_to<int> >, in main()
96 test_compare<std::equal_to<int> >(9), in main()
107 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
122 test_compare<std::equal_to<int> >, in main()
137 test_compare<std::equal_to<int> >(9), in main()
148 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
163 test_compare<std::equal_to<int> >, in main()
[all …]
Dmove.pass.cpp38 test_compare<std::equal_to<int> >, in main()
43 test_compare<std::equal_to<int> >(9), in main()
50 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
64 test_compare<std::equal_to<int> >, in main()
80 test_compare<std::equal_to<int> >(9), in main()
91 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
105 test_compare<std::equal_to<int> >, in main()
110 test_compare<std::equal_to<int> >(9), in main()
117 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
131 test_compare<std::equal_to<int> >, in main()
[all …]
Dinit_size_hash_equal_allocator.pass.cpp39 test_compare<std::equal_to<int> >, in main()
53 test_compare<std::equal_to<int> >(9), in main()
63 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
75 test_compare<std::equal_to<int> >, in main()
89 test_compare<std::equal_to<int> >(9), in main()
99 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
112 test_compare<std::equal_to<int> >, in main()
126 test_compare<std::equal_to<int> >(9), in main()
136 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
Drange_size_hash_equal_allocator.pass.cpp41 test_compare<std::equal_to<int> >, in main()
57 test_compare<std::equal_to<int> >(9), in main()
67 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
80 test_compare<std::equal_to<int> >, in main()
96 test_compare<std::equal_to<int> >(9), in main()
106 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
119 test_compare<std::equal_to<int> >, in main()
135 test_compare<std::equal_to<int> >(9), in main()
145 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
/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()
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()
85 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
115 test_compare<std::equal_to<int> >, in main()
131 test_compare<std::equal_to<int> >(9), in main()
137 test_compare<std::equal_to<int> >(3), in main()
162 assert(c.key_eq() == test_compare<std::equal_to<int> >(9)); in main()
175 test_compare<std::equal_to<int> >, in main()
191 test_compare<std::equal_to<int> >(9), in main()
[all …]

12345678910>>...15