| /llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/ |
| H A D | swap.pass.cpp | 52 std::thread::id id0 = t0.get_id(); in main() 54 std::thread::id id1 = t1.get_id(); in main() 56 assert(t0.get_id() == id1); in main() 57 assert(t1.get_id() == id0); in main()
|
| H A D | get_id.pass.cpp | 52 std::thread::id id0 = t0.get_id(); in main() 54 std::thread::id id1 = t1.get_id(); in main() 55 assert(t0.get_id() == id0); in main() 57 assert(t1.get_id() == std::thread::id()); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/ |
| H A D | swap.pass.cpp | 52 std::thread::id id0 = t0.get_id(); in main() 54 std::thread::id id1 = t1.get_id(); in main() 56 assert(t0.get_id() == id1); in main() 57 assert(t1.get_id() == id0); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
| H A D | deduct.pass.cpp | 93 assert(s.get_allocator().get_id() == 40); in main() 115 assert(s.get_allocator().get_id() == 41); in main() 123 assert(s.get_allocator().get_id() == 42); in main() 159 assert(s.get_allocator().get_id() == 43); in main() 168 assert(s.get_allocator().get_id() == 44); in main() 177 assert(s.get_allocator().get_id() == 44); in main() 185 assert(s.get_allocator().get_id() == 43); in main() 193 assert(s.get_allocator().get_id() == 42); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
| H A D | deduct.pass.cpp | 93 assert(s.get_allocator().get_id() == 40); in main() 115 assert(s.get_allocator().get_id() == 41); in main() 123 assert(s.get_allocator().get_id() == 42); in main() 159 assert(s.get_allocator().get_id() == 43); in main() 168 assert(s.get_allocator().get_id() == 44); in main() 177 assert(s.get_allocator().get_id() == 44); in main() 185 assert(s.get_allocator().get_id() == 43); in main() 193 assert(s.get_allocator().get_id() == 42); in main()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | thread.h | 104 inline id get_id() const noexcept; 144 thread::id thread::get_id() const noexcept { in get_id() function 159 inline thread::id get_id() { return llvm_thread_get_current_id_impl(); } in get_id() function 194 id get_id() const noexcept { return Thread.get_id(); } 212 inline thread::id get_id() { return std::this_thread::get_id(); }
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
| H A D | deduct.pass.cpp | 107 assert(m.get_allocator().get_id() == 41); in main() 129 assert(m.get_allocator().get_id() == 42); in main() 138 assert(m.get_allocator().get_id() == 43); in main() 170 assert(m.get_allocator().get_id() == 44); in main() 178 assert(m.get_allocator().get_id() == 45); in main() 186 assert(m.get_allocator().get_id() == 46); in main() 193 assert(m.get_allocator().get_id() == 47); in main() 200 assert(m.get_allocator().get_id() == 48); in main()
|
| H A D | deduct_const.pass.cpp | 108 assert(m.get_allocator().get_id() == 41); in main() 139 assert(m.get_allocator().get_id() == 44); in main() 147 assert(m.get_allocator().get_id() == 45); in main() 155 assert(m.get_allocator().get_id() == 46); in main() 162 assert(m.get_allocator().get_id() == 47); in main() 169 assert(m.get_allocator().get_id() == 48); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/ |
| H A D | deduct.pass.cpp | 108 assert(m.get_allocator().get_id() == 41); in main() 130 assert(m.get_allocator().get_id() == 42); in main() 139 assert(m.get_allocator().get_id() == 43); in main() 171 assert(m.get_allocator().get_id() == 44); in main() 179 assert(m.get_allocator().get_id() == 45); in main() 187 assert(m.get_allocator().get_id() == 46); in main() 194 assert(m.get_allocator().get_id() == 47); in main() 201 assert(m.get_allocator().get_id() == 48); in main()
|
| H A D | deduct_const.pass.cpp | 107 assert(m.get_allocator().get_id() == 41); in main() 138 assert(m.get_allocator().get_id() == 44); in main() 146 assert(m.get_allocator().get_id() == 45); in main() 154 assert(m.get_allocator().get_id() == 46); in main() 161 assert(m.get_allocator().get_id() == 47); in main() 168 assert(m.get_allocator().get_id() == 48); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/ |
| H A D | move.pass.cpp | 57 std::thread::id id = t0.get_id(); in main() 60 assert(t1.get_id() == id); in main() 61 assert(t0.get_id() == std::thread::id()); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/ |
| H A D | move.pass.cpp | 56 std::thread::id id = t0.get_id(); in main() 60 assert(t1.get_id() == id); in main() 61 assert(t0.get_id() == std::thread::id()); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/ |
| H A D | non_member_swap.pass.cpp | 39 assert(c1.get_allocator().get_id() == 1); in main() 48 assert(c2.get_allocator().get_id() == 2); in main() 60 assert(c1.get_allocator().get_id() == 1); in main() 69 assert(c2.get_allocator().get_id() == 2); in main() 84 assert(c1.get_allocator().get_id() == 1); in main() 87 assert(c2.get_allocator().get_id() == 2); in main() 98 assert(c1.get_allocator().get_id() == 1); in main() 101 assert(c2.get_allocator().get_id() == 2); in main()
|
| H A D | member_swap.pass.cpp | 38 assert(c1.get_allocator().get_id() == 1); in main() 47 assert(c2.get_allocator().get_id() == 2); in main() 59 assert(c1.get_allocator().get_id() == 1); in main() 68 assert(c2.get_allocator().get_id() == 2); in main() 83 assert(c1.get_allocator().get_id() == 1); in main() 86 assert(c2.get_allocator().get_id() == 2); in main() 97 assert(c1.get_allocator().get_id() == 1); in main() 100 assert(c2.get_allocator().get_id() == 2); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/container.requirements/container.requirements.general/ |
| H A D | allocator_move.pass.cpp | 43 assert(a.get_id() == 101); in test() 54 assert(a.get_id() == test_alloc_base::moved_value); in test() 59 assert(a.get_id() == 101); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/ |
| H A D | move.pass.cpp | 73 assert(a.get_id() == 101); in tests() 84 assert(a.get_id() == test_alloc_base::moved_value); in tests() 89 assert(a.get_id() == 101); in tests()
|
| H A D | swap.pass.cpp | 40 assert(v1.get_allocator().get_id() == 1); in tests() 41 assert(v2.get_allocator().get_id() == 2); in tests()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.cons/ |
| H A D | deduct.pass.cpp | 76 assert(s.get_allocator().get_id() == 42); in main() 127 assert(s.get_allocator().get_id() == 43); in main() 139 assert(s.get_allocator().get_id() == 44); in main() 150 assert(s.get_allocator().get_id() == 45); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
| H A D | deduct.pass.cpp | 77 assert(s.get_allocator().get_id() == 42); in main() 129 assert(s.get_allocator().get_id() == 43); in main() 141 assert(s.get_allocator().get_id() == 44); in main() 152 assert(s.get_allocator().get_id() == 45); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.cons/ |
| H A D | deduct.pass.cpp | 68 assert(m.get_allocator().get_id() == 42); in main() 114 assert(m.get_allocator().get_id() == 43); in main() 124 assert(m.get_allocator().get_id() == 44); in main() 133 assert(m.get_allocator().get_id() == 45); in main()
|
| H A D | deduct_const.pass.cpp | 69 assert(m.get_allocator().get_id() == 42); in main() 94 assert(m.get_allocator().get_id() == 43); in main() 103 assert(m.get_allocator().get_id() == 45); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.cons/ |
| H A D | deduct.pass.cpp | 68 assert(m.get_allocator().get_id() == 42); in main() 114 assert(m.get_allocator().get_id() == 43); in main() 124 assert(m.get_allocator().get_id() == 44); in main() 133 assert(m.get_allocator().get_id() == 45); in main()
|
| H A D | deduct_const.pass.cpp | 69 assert(m.get_allocator().get_id() == 42); in main() 94 assert(m.get_allocator().get_id() == 43); in main() 103 assert(m.get_allocator().get_id() == 45); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/ |
| H A D | move.pass.cpp | 113 assert(a.get_id() == 101); in tests() 124 assert(a.get_id() == test_alloc_base::moved_value); in tests() 129 assert(a.get_id() == 101); in tests()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.special/ |
| H A D | non_member_swap.pass.cpp | 129 assert(m1.get_allocator().get_id() == 1); in main() 131 assert(m2.get_allocator().get_id() == 2); in main()
|