Home
last modified time | relevance | path

Searched refs:get_id (Results 1 – 25 of 65) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
H A Dswap.pass.cpp52 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 Dget_id.pass.cpp52 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 Dswap.pass.cpp52 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 Ddeduct.pass.cpp93 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 Ddeduct.pass.cpp93 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 Dthread.h104 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 Ddeduct.pass.cpp107 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 Ddeduct_const.pass.cpp108 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 Ddeduct.pass.cpp108 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 Ddeduct_const.pass.cpp107 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 Dmove.pass.cpp57 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 Dmove.pass.cpp56 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 Dnon_member_swap.pass.cpp39 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 Dmember_swap.pass.cpp38 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 Dallocator_move.pass.cpp43 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 Dmove.pass.cpp73 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 Dswap.pass.cpp40 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 Ddeduct.pass.cpp76 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 Ddeduct.pass.cpp77 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 Ddeduct.pass.cpp68 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 Ddeduct_const.pass.cpp69 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 Ddeduct.pass.cpp68 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 Ddeduct_const.pass.cpp69 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 Dmove.pass.cpp113 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 Dnon_member_swap.pass.cpp129 assert(m1.get_allocator().get_id() == 1); in main()
131 assert(m2.get_allocator().get_id() == 2); in main()

123