Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
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()
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()
/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/swiftshader/third_party/marl/src/
Dscheduler_test.cpp95 auto threadID = std::this_thread::get_id(); in TEST_P()
97 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
118 auto threadID = std::this_thread::get_id(); in TEST_P()
120 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
148 threads.emplace(std::this_thread::get_id()); in TEST_F()
154 ASSERT_EQ(threads.count(std::this_thread::get_id()), 0U); in TEST_F()
/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()
/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/containers/sequences/vector.bool/
Dmove.pass.cpp73 assert(a.get_id() == 101); in main()
84 assert(a.get_id() == test_alloc_base::moved_value); in main()
89 assert(a.get_id() == 101); in main()
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/container.requirements/container.requirements.general/
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()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DDebugAnnotator11.cpp65 return mUserDefinedAnnotation != nullptr && std::this_thread::get_id() == mAnnotationThread; in loggingEnabledForThisThread()
79 mAnnotationThread = std::this_thread::get_id(); in initialize()
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dmove.pass.cpp113 assert(a.get_id() == 101); in main()
124 assert(a.get_id() == test_alloc_base::moved_value); in main()
129 assert(a.get_id() == 101); in main()
/external/tensorflow/tensorflow/core/platform/default/
Denv.cc62 GetThreadNameRegistry().emplace(thread_.get_id(), name); in StdThread()
66 std::thread::id thread_id = thread_.get_id(); in ~StdThread()
128 GetThreadNameRegistry().find(std::this_thread::get_id()); in GetCurrentThreadName()
/external/tensorflow/tensorflow/core/platform/windows/
Denv.cc59 GetThreadNameRegistry().emplace(thread_.get_id(), name); in StdThread()
63 std::thread::id thread_id = thread_.get_id(); in ~StdThread()
111 auto thread_name = GetThreadNameRegistry().find(std::this_thread::get_id()); in GetCurrentThreadName()
/external/adhd/cras/client/libcras/src/
Dcras_client_message.rs104 match message.get_id()? { in handle_server_message()
167 match self.get_id()? { in check_fd_nums()
184 fn get_id(&self) -> Result<CRAS_CLIENT_MESSAGE_ID> { in get_id() method
/external/libepoxy/
Dmeson.build77 if cc.get_id() == 'msvc'
99 elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
147 if cc.get_id() != 'msvc'
159 if cc.get_id() == 'msvc'
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_ar_eventhandlerfile.hpp73 fstr << outDir.str().c_str() << "\\ar_event" << std::this_thread::get_id(); in EventHandlerFile()
81 fstr << "/tmp/ar_event" << std::this_thread::get_id(); in EventHandlerFile()
/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/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.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()

1234