| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
| H A D | deduct.pass.cpp | 65 std::unordered_set s(std::begin(arr), std::end(arr)); in main() 67 ASSERT_SAME_TYPE(decltype(s), std::unordered_set<int>); in main() 73 std::unordered_set s(std::begin(arr), std::end(arr), 42); in main() 75 ASSERT_SAME_TYPE(decltype(s), std::unordered_set<int>); in main() 98 std::unordered_set s(source); in main() 112 std::unordered_set s(source, test_allocator<int>(0, 41)); in main() 127 std::unordered_set s{ 1, 2, 1, INT_MAX, 3 }; in main() 129 ASSERT_SAME_TYPE(decltype(s), std::unordered_set<int>); in main() 134 std::unordered_set s({ 1, 2, 1, INT_MAX, 3 }, 42); in main() 136 ASSERT_SAME_TYPE(decltype(s), std::unordered_set<int>); in main() [all …]
|
| H A D | deduct.fail.cpp | 57 std::unordered_set s; in main() 62 std::unordered_set s(42); in main() 67 std::unordered_set s(42, std::hash<int>()); in main() 72 std::unordered_set s(42, std::hash<int>(), std::equal_to<>()); in main() 77 std::unordered_set s(42, std::hash<int>(), std::equal_to<>(), std::allocator<int>()); in main() 82 std::unordered_set s(std::allocator<int>{}); in main() 87 std::unordered_set s(42, std::allocator<int>()); in main() 92 std::unordered_set s(42, std::hash<short>(), std::allocator<int>()); in main()
|
| H A D | default_noexcept.pass.cpp | 51 typedef std::unordered_set<MoveOnly> C; in main() 55 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 61 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 66 typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>> C; in main() 70 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main()
|
| H A D | dtor_noexcept.pass.cpp | 43 typedef std::unordered_set<MoveOnly> C; in main() 47 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 52 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 58 typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>> C; in main() 62 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main()
|
| H A D | move_assign_noexcept.pass.cpp | 49 typedef std::unordered_set<MoveOnly> C; in main() 53 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 59 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 65 typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>> C; in main() 69 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main()
|
| H A D | move_noexcept.pass.cpp | 47 typedef std::unordered_set<MoveOnly> C; in main() 51 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 56 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 62 typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>> C; in main() 66 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main()
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | unordered_set_operations.bench.cpp | 175 std::unordered_set<uint32_t>{}, 180 std::unordered_set<uint32_t>{}, 186 std::unordered_set<uint32_t>{}, 212 std::unordered_set<uint64_t>{}, 223 std::unordered_set<uint64_t>{}, 248 std::unordered_set<uint32_t>{}, 301 std::unordered_set<int>{}, 307 std::unordered_set<int>{}, 316 std::unordered_set<int>{}, 325 std::unordered_set<int>{}, [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/unord.set.swap/ |
| H A D | swap_noexcept.pass.cpp | 124 typedef std::unordered_set<MoveOnly> C; in main() 129 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 134 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 140 typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>> C; in main() 144 typedef std::unordered_set<MoveOnly, std::hash<MoveOnly>, in main() 151 …typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_alloc <MoveOn… in main() 155 …typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>, some_comp <MoveOnly>, some_alloc2<MoveOn… in main() 159 …typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_alloc <MoveOn… in main() 163 …typedef std::unordered_set<MoveOnly, some_hash<MoveOnly>, some_comp2<MoveOnly>, some_alloc2<MoveOn… in main() 167 …typedef std::unordered_set<MoveOnly, some_hash2<MoveOnly>, some_comp <MoveOnly>, some_alloc <MoveO… in main() [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | unordered_set | 24 class unordered_set 62 unordered_set(const unordered_set&); 63 unordered_set(const unordered_set&, const Allocator&); 64 unordered_set(unordered_set&&) 69 unordered_set(unordered_set&&, const Allocator&); 84 unordered_set& operator=(const unordered_set&); 85 unordered_set& operator=(unordered_set&&) 587 unordered_set(const unordered_set& __u); 591 unordered_set(unordered_set&& __u) 618 unordered_set& operator=(const unordered_set& __u) [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/containers/unord/unord.set/ |
| H A D | debug.erase.iter_iter.pass.cpp | 24 std::unordered_set<int> l1(a1, a1+3); in main() 25 std::unordered_set<int> l2(a1, a1+3); in main() 34 std::unordered_set<int> l1(a1, a1+3); in main() 35 std::unordered_set<int> l2(a1, a1+3); in main() 44 std::unordered_set<int> l1(a1, a1+3); in main() 45 std::unordered_set<int> l2(a1, a1+3); in main() 54 std::unordered_set<int> l1(a1, a1+3); in main()
|
| H A D | debug.erase.iter.pass.cpp | 24 std::unordered_set<int> l1(a1, a1+3); in main() 25 std::unordered_set<int>::const_iterator i = l1.end(); in main() 33 std::unordered_set<int> l1(a1, a1+3); in main() 34 std::unordered_set<int> l2(a1, a1+3); in main() 35 std::unordered_set<int>::const_iterator i = l2.begin(); in main()
|
| H A D | debug.swap.pass.cpp | 27 std::unordered_set<int> c1(a1, a1+sizeof(a1)/sizeof(a1[0])); in main() 28 std::unordered_set<int> c2(a2, a2+sizeof(a2)/sizeof(a2[0])); in main() 29 std::unordered_set<int>::iterator i1 = c1.begin(); in main() 30 std::unordered_set<int>::iterator i2 = c2.begin(); in main()
|
| H A D | missing_hash_specialization.fail.cpp | 48 using Set = std::unordered_set<VT>; in main() 58 using Set = std::unordered_set<int, BadHashNoCopy>; in main() 62 using Set = std::unordered_set<int, BadHashNoCall>; in main() 66 using Set = std::unordered_set<int, GoodHashNoDefault>; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource.aliases/ |
| H A D | header_unordered_set_synop.pass.cpp | 52 using StdSet = std::unordered_set<V, DH, DP, pmr::polymorphic_allocator<V>>; in main() 53 using PmrSet = pmr::unordered_set<V>; in main() 57 using StdSet = std::unordered_set<V, MH, DP, pmr::polymorphic_allocator<V>>; in main() 58 using PmrSet = pmr::unordered_set<V, MH>; in main() 62 using StdSet = std::unordered_set<V, MH, MP, pmr::polymorphic_allocator<V>>; in main() 63 using PmrSet = pmr::unordered_set<V, MH, MP>; in main() 67 pmr::unordered_set<int> m; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/ |
| H A D | find.transparent.pass.cpp | 30 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<>>; in main() 37 using S = unord_set_type<std::unordered_set, transparent_hash_final, transparent_equal_final>; in main() 44 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<>>; in main() 51 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<key_type>>; in main() 58 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<key_type>>; in main()
|
| H A D | count.transparent.pass.cpp | 30 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<>>; in main() 37 using S = unord_set_type<std::unordered_set, transparent_hash_final, transparent_equal_final>; in main() 44 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<>>; in main() 51 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<key_type>>; in main() 58 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<key_type>>; in main()
|
| H A D | contains.transparent.pass.cpp | 29 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<>>; in main() 36 using S = unord_set_type<std::unordered_set, transparent_hash_final, transparent_equal_final>; in main() 43 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<>>; in main() 50 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<key_type>>; in main() 57 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<key_type>>; in main()
|
| H A D | equal_range.transparent.pass.cpp | 30 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<>>; in main() 37 using S = unord_set_type<std::unordered_set, transparent_hash_final, transparent_equal_final>; in main() 44 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<>>; in main() 51 using S = unord_set_type<std::unordered_set, transparent_hash, std::equal_to<key_type>>; in main() 58 using S = unord_set_type<std::unordered_set, non_transparent_hash, std::equal_to<key_type>>; in main()
|
| H A D | merge.pass.cpp | 55 std::unordered_set<int> src{1, 3, 5}; in main() 56 std::unordered_set<int> dst{2, 4, 5}; in main() 65 typedef std::unordered_set<Counter<int>, throw_hasher<Counter<int>>> set_type; in main() 101 …typedef std::unordered_set<Counter<int>, std::hash<Counter<int>>, std::equal_to<Counter<int>>> fir… in main() 102 typedef std::unordered_set<Counter<int>, hasher, equal> second_set_type; in main() 141 std::unordered_set<int> first; in main() 143 std::unordered_set<int> second; in main()
|
| H A D | max_load_factor.pass.cpp | 27 typedef std::unordered_set<int> C; in main() 32 typedef std::unordered_set<int> C; in main() 40 typedef std::unordered_set<int, std::hash<int>, in main() 46 typedef std::unordered_set<int, std::hash<int>, in main()
|
| H A D | iterator.operators.addressof.compile.pass.cpp | 34 using I = std::unordered_set<operator_hijacker>::iterator; in test() 35 using CI = std::unordered_set<operator_hijacker>::const_iterator; in test() 41 using IL = std::unordered_set<operator_hijacker>::local_iterator; in test() 42 using CIL = std::unordered_set<operator_hijacker>::const_local_iterator; in test()
|
| H A D | erase_if.pass.cpp | 73 test<std::unordered_set<int>>(); in main() 74 test<std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>>> (); in main() 75 test<std::unordered_set<int, std::hash<int>, std::equal_to<int>, test_allocator<int>>> (); in main() 77 test<std::unordered_set<long>>(); in main() 78 test<std::unordered_set<double>>(); in main()
|
| H A D | eq.pass.cpp | 30 typedef std::unordered_set<int> C; in main() 49 typedef std::unordered_set<int> C; in main() 68 typedef std::unordered_set<int> C; in main() 95 typedef std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> C; in main() 114 typedef std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> C; in main() 133 typedef std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> C; in main()
|
| H A D | bucket_count.pass.cpp | 26 typedef std::unordered_set<int> C; in main() 31 typedef std::unordered_set<int> C; in main() 49 typedef std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> C; in main() 54 typedef std::unordered_set<int, std::hash<int>, std::equal_to<int>, min_allocator<int>> C; in main()
|
| /llvm-project-15.0.7/libcxx/include/experimental/ |
| H A D | unordered_set | 14 experimental/unordered_set synopsis 23 using unordered_set = std::unordered_set<T, Hash, Pred, 40 #include <unordered_set> 50 using unordered_set = _VSTD::unordered_set<_Value, _Hash, _Pred,
|