Home
last modified time | relevance | path

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

123

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
Dget_id.pass.cpp50 std::thread::id id0 = t0.get_id(); in main()
52 std::thread::id id1 = t1.get_id(); in main()
53 assert(t0.get_id() == id0); in main()
55 assert(t1.get_id() == std::thread::id()); in main()
Dswap.pass.cpp50 std::thread::id id0 = t0.get_id(); in main()
52 std::thread::id id1 = t1.get_id(); in main()
54 assert(t0.get_id() == id1); in main()
55 assert(t1.get_id() == id0); in main()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Dswap.pass.cpp50 std::thread::id id0 = t0.get_id(); in main()
52 std::thread::id id1 = t1.get_id(); in main()
54 assert(t0.get_id() == id1); in main()
55 assert(t1.get_id() == id0); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/
Dmember_swap.pass.cpp36 assert(c1.get_allocator().get_id() == 1); in main()
45 assert(c2.get_allocator().get_id() == 2); in main()
57 assert(c1.get_allocator().get_id() == 1); in main()
66 assert(c2.get_allocator().get_id() == 2); in main()
81 assert(c1.get_allocator().get_id() == 1); in main()
84 assert(c2.get_allocator().get_id() == 2); in main()
95 assert(c1.get_allocator().get_id() == 1); in main()
98 assert(c2.get_allocator().get_id() == 2); in main()
Dnon_member_swap.pass.cpp37 assert(c1.get_allocator().get_id() == 1); in main()
46 assert(c2.get_allocator().get_id() == 2); in main()
58 assert(c1.get_allocator().get_id() == 1); in main()
67 assert(c2.get_allocator().get_id() == 2); in main()
82 assert(c1.get_allocator().get_id() == 1); in main()
85 assert(c2.get_allocator().get_id() == 2); in main()
96 assert(c1.get_allocator().get_id() == 1); in main()
99 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/
Dmove.pass.cpp53 std::thread::id id = t0.get_id(); in main()
56 assert(t1.get_id() == id); in main()
57 assert(t0.get_id() == std::thread::id()); in main()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
Dcopy.fail.cpp58 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()
Dmove.pass.cpp61 std::thread::id id = t0.get_id(); in main()
63 assert(t1.get_id() == id); in main()
64 assert(t0.get_id() == std::thread::id()); in main()
Ddefault.pass.cpp24 assert(t.get_id() == std::thread::id()); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dswap_member.pass.cpp44 assert(c1.get_allocator().get_id() == 1); in main()
53 assert(c2.get_allocator().get_id() == 2); in main()
92 assert(c1.get_allocator().get_id() == 1); in main()
101 assert(c2.get_allocator().get_id() == 2); in main()
130 assert(c1.get_allocator().get_id() == 1); in main()
143 assert(c2.get_allocator().get_id() == 2); in main()
191 assert(c1.get_allocator().get_id() == 1); in main()
204 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/
Dswap_non_member.pass.cpp44 assert(c1.get_allocator().get_id() == 1); in main()
53 assert(c2.get_allocator().get_id() == 2); in main()
92 assert(c1.get_allocator().get_id() == 1); in main()
101 assert(c2.get_allocator().get_id() == 2); in main()
130 assert(c1.get_allocator().get_id() == 1); in main()
143 assert(c2.get_allocator().get_id() == 2); in main()
191 assert(c1.get_allocator().get_id() == 1); in main()
204 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dswap_member.pass.cpp44 assert(c1.get_allocator().get_id() == 1); in main()
53 assert(c2.get_allocator().get_id() == 2); in main()
92 assert(c1.get_allocator().get_id() == 1); in main()
101 assert(c2.get_allocator().get_id() == 2); in main()
130 assert(c1.get_allocator().get_id() == 1); in main()
143 assert(c2.get_allocator().get_id() == 2); in main()
191 assert(c1.get_allocator().get_id() == 1); in main()
204 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.set/unord.set.swap/
Dswap_non_member.pass.cpp44 assert(c1.get_allocator().get_id() == 1); in main()
53 assert(c2.get_allocator().get_id() == 2); in main()
92 assert(c1.get_allocator().get_id() == 1); in main()
101 assert(c2.get_allocator().get_id() == 2); in main()
130 assert(c1.get_allocator().get_id() == 1); in main()
143 assert(c2.get_allocator().get_id() == 2); in main()
191 assert(c1.get_allocator().get_id() == 1); in main()
204 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/include/
Dthread44 id get_id() const noexcept;
72 thread::id get_id() noexcept;
210 _LIBCPP_INLINE_VISIBILITY __thread_id get_id() _NOEXCEPT;
257 friend __thread_id this_thread::get_id() _NOEXCEPT;
278 get_id() _NOEXCEPT
328 id get_id() const _NOEXCEPT {return __libcpp_thread_get_id(&__t_);}
/external/libcxx/test/std/containers/unord/unord.map/
Dswap_member.pass.cpp45 assert(c1.get_allocator().get_id() == 1); in main()
54 assert(c2.get_allocator().get_id() == 2); in main()
93 assert(c1.get_allocator().get_id() == 1); in main()
102 assert(c2.get_allocator().get_id() == 2); in main()
131 assert(c1.get_allocator().get_id() == 1); in main()
144 assert(c2.get_allocator().get_id() == 2); in main()
192 assert(c1.get_allocator().get_id() == 1); in main()
205 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
Dswap_non_member.pass.cpp45 assert(c1.get_allocator().get_id() == 1); in main()
54 assert(c2.get_allocator().get_id() == 2); in main()
93 assert(c1.get_allocator().get_id() == 1); in main()
102 assert(c2.get_allocator().get_id() == 2); in main()
131 assert(c1.get_allocator().get_id() == 1); in main()
144 assert(c2.get_allocator().get_id() == 2); in main()
192 assert(c1.get_allocator().get_id() == 1); in main()
205 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/sequences/vector.bool/
Dswap.pass.cpp40 assert(v1.get_allocator().get_id() == 1); in main()
41 assert(v2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/
Dswap_member.pass.cpp46 assert(c1.get_allocator().get_id() == 1); in main()
55 assert(c2.get_allocator().get_id() == 2); in main()
94 assert(c1.get_allocator().get_id() == 1); in main()
103 assert(c2.get_allocator().get_id() == 2); in main()
132 assert(c1.get_allocator().get_id() == 1); in main()
147 assert(c2.get_allocator().get_id() == 2); in main()
195 assert(c1.get_allocator().get_id() == 1); in main()
210 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/
Dswap_non_member.pass.cpp45 assert(c1.get_allocator().get_id() == 1); in main()
54 assert(c2.get_allocator().get_id() == 2); in main()
93 assert(c1.get_allocator().get_id() == 1); in main()
102 assert(c2.get_allocator().get_id() == 2); in main()
131 assert(c1.get_allocator().get_id() == 1); in main()
146 assert(c2.get_allocator().get_id() == 2); in main()
194 assert(c1.get_allocator().get_id() == 1); in main()
209 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/associative/multiset/multiset.special/
Dnon_member_swap.pass.cpp129 assert(m1.get_allocator().get_id() == 1); in main()
131 assert(m2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/containers/associative/set/set.special/
Dnon_member_swap.pass.cpp129 assert(m1.get_allocator().get_id() == 1); in main()
131 assert(m2.get_allocator().get_id() == 2); in main()
/external/libexif/libexif/
Dexif-mnote-data.c119 if (!d || !d->methods.get_id) return 0; in exif_mnote_data_get_id()
120 return d->methods.get_id (d, n); in exif_mnote_data_get_id()
/external/eigen/unsupported/test/
Dcxx11_eventcount.cpp93 …gned int rnd = static_cast<unsigned int>(std::hash<std::thread::id>()(std::this_thread::get_id())); in test_stress_eventcount()
110 …gned int rnd = static_cast<unsigned int>(std::hash<std::thread::id>()(std::this_thread::get_id())); in test_stress_eventcount()
/external/libcxx/test/std/containers/sequences/deque/deque.special/
Dswap.pass.cpp72 assert(c1.get_allocator().get_id() == 1); in main()
74 assert(c2.get_allocator().get_id() == 2); in main()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Dstream.pass.cpp26 std::thread::id id0 = std::this_thread::get_id(); in main()

123