/third_party/boost/libs/thread/test/ |
D | test_thread_id.cpp | 6 #define BOOST_TEST_MODULE Boost.Threads: thread::get_id test suite 18 BOOST_CHECK(t.get_id()==boost::thread::id()); in BOOST_AUTO_TEST_CASE() 24 BOOST_CHECK(t.get_id()!=boost::thread::id()); in BOOST_AUTO_TEST_CASE() 32 BOOST_CHECK(t.get_id()!=t2.get_id()); in BOOST_AUTO_TEST_CASE() 42 BOOST_CHECK(t.get_id()!=t2.get_id()); in BOOST_AUTO_TEST_CASE() 43 BOOST_CHECK(t.get_id()!=t3.get_id()); in BOOST_AUTO_TEST_CASE() 44 BOOST_CHECK(t2.get_id()!=t3.get_id()); in BOOST_AUTO_TEST_CASE() 46 BOOST_CHECK((t.get_id()<t2.get_id()) != (t2.get_id()<t.get_id())); in BOOST_AUTO_TEST_CASE() 47 BOOST_CHECK((t.get_id()<t3.get_id()) != (t3.get_id()<t.get_id())); in BOOST_AUTO_TEST_CASE() 48 BOOST_CHECK((t2.get_id()<t3.get_id()) != (t3.get_id()<t2.get_id())); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_3837.cpp | 21 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in dummy_class_tracks_deletions() 26 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in ~dummy_class_tracks_deletions() 42 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in other_thread() 44 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in other_thread() 46 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in other_thread() 50 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in other_thread() 57 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in main() 59 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in main() 61 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in main() 63 std::cout << __FILE__ << ":" << __LINE__ << boost::this_thread::get_id() << std::endl; in main() [all …]
|
D | test_thread_exit.cpp | 23 exit_func_thread_id=boost::this_thread::get_id(); in exit_func() 29 BOOST_CHECK(exit_func_thread_id!=boost::this_thread::get_id()); in tf1() 36 boost::thread::id const t_id=t.get_id(); in BOOST_AUTO_TEST_CASE() 45 exit_func_thread_id=boost::this_thread::get_id(); in operator ()() 52 BOOST_CHECK(exit_func_thread_id!=boost::this_thread::get_id()); in tf2() 60 boost::thread::id const t_id=t.get_id(); in BOOST_AUTO_TEST_CASE()
|
D | test_move_function.cpp | 20 boost::thread::id src_id=src.get_id(); in BOOST_AUTO_TEST_CASE() 22 boost::thread::id dest_id=dest.get_id(); in BOOST_AUTO_TEST_CASE() 24 BOOST_CHECK(src.get_id()==boost::thread::id()); in BOOST_AUTO_TEST_CASE() 31 boost::thread::id src_id=src.get_id(); in BOOST_AUTO_TEST_CASE() 34 boost::thread::id dest_id=dest.get_id(); in BOOST_AUTO_TEST_CASE() 36 BOOST_CHECK(src.get_id()==boost::thread::id()); in BOOST_AUTO_TEST_CASE() 48 BOOST_CHECK(x.get_id()!=boost::thread::id()); in BOOST_AUTO_TEST_CASE() 56 BOOST_CHECK(x.get_id()!=boost::thread::id()); in BOOST_AUTO_TEST_CASE()
|
D | test_thread.cpp | 35 boost::thread::id const my_id=boost::this_thread::get_id(); in comparison_thread() 38 boost::thread::id const my_id2=boost::this_thread::get_id(); in comparison_thread() 70 boost::thread::id const self=boost::this_thread::get_id(); in do_test_id_comparison() 211 boost::thread::id id1=t.get_id(); in BOOST_AUTO_TEST_CASE() 212 boost::thread::id id2=t2.get_id(); in BOOST_AUTO_TEST_CASE() 215 BOOST_CHECK(t.get_id()==id2); in BOOST_AUTO_TEST_CASE() 216 BOOST_CHECK(t2.get_id()==id1); in BOOST_AUTO_TEST_CASE() 219 BOOST_CHECK(t.get_id()==id1); in BOOST_AUTO_TEST_CASE() 220 BOOST_CHECK(t2.get_id()==id2); in BOOST_AUTO_TEST_CASE()
|
D | test_4648.cpp | 26 std::cout<<"Entering "<<boost::this_thread::get_id()<<" "<<"firstFunction"<<std::endl; in firstFunction() 29 std::cout<<"Returned From Call "<<boost::this_thread::get_id()<<" "<<"firstFunction"<<std::endl; in firstFunction() 30 std::cout<<"Returning from "<<boost::this_thread::get_id()<<" "<<"firstFunction"<<std::endl; in firstFunction() 34 …std::cout<<"Before Exclusive Locking "<<boost::this_thread::get_id()<<" "<<"secondFunction"<<std::… in secondFunction() 36 …std::cout<<"After Exclusive Locking "<<boost::this_thread::get_id()<<" "<<"secondFunction"<<std::e… in secondFunction()
|
D | test_11818.cpp | 29 std::cout << std::this_thread::get_id() << ": callback" << std::endl; in main() 36 std::cout << std::this_thread::get_id() << ": function" << std::endl; in main() 51 std::cout << std::this_thread::get_id() << ": callback" << std::endl; in main() 58 std::cout << std::this_thread::get_id() << ": function" << std::endl; in main()
|
D | test_thread_move.cpp | 13 *my_id=boost::this_thread::get_id(); in do_nothing() 20 boost::thread::id x_id=x.get_id(); in BOOST_AUTO_TEST_CASE() 34 boost::thread::id x_id=x.get_id(); in BOOST_AUTO_TEST_CASE() 45 boost::thread::id y_id=y.get_id(); in BOOST_AUTO_TEST_CASE()
|
D | test_3628.cpp | 33 cout << "Added " << boost::this_thread::get_id() << " " << &con1 << endl; in ThreadFuncWaiter() 36 cout << "Woke Up " << boost::this_thread::get_id() << " " << &con1 << endl; in ThreadFuncWaiter() 40 cout << "*****Timed Out " << boost::this_thread::get_id() << " " << &con1 << endl; in ThreadFuncWaiter() 45 cout << "Removed " << boost::this_thread::get_id() << " " << &con1 << endl; in ThreadFuncWaiter()
|
D | test_2309.cpp | 29 cerr << "Thread " << boost::this_thread::get_id() << " got interrupted" << endl; in perform() 35 … cerr << "Thread " << boost::this_thread::get_id() << " caught std::exception" << e.what() << endl; in perform() 40 cerr << "Thread " << boost::this_thread::get_id() << " caught something else" << endl; in perform()
|
/third_party/boost/boost/thread/ |
D | testable_mutex.hpp | 53 id_ = this_thread::get_id(); in lock() 68 id_ = this_thread::get_id(); in try_lock() 83 id_ = this_thread::get_id(); in try_lock_for() 97 id_ = this_thread::get_id(); in try_lock_until() 109 return this_thread::get_id() == id_; in is_locked_by_this_thread() 116 thread::id get_id() const in get_id() function in boost::testable_mutex
|
/third_party/boost/libs/fiber/test/ |
D | test_buffered_channel_dispatch.cpp | 320 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 323 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 326 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 329 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 333 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 337 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 340 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 346 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 349 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 352 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() [all …]
|
D | test_buffered_channel_post.cpp | 320 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 323 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 326 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 329 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 333 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 337 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 340 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 346 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 349 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() 352 ids.push_back( boost::this_fiber::get_id() ); in test_wm_1() [all …]
|
/third_party/boost/libs/locale/src/shared/ |
D | ios_prop.hpp | 21 int id=get_id(); in set() 36 int id=get_id(); in get() 44 int id=get_id(); in has() 53 int id=get_id(); in unset() 61 get_id(); in global_init() 88 static int get_id() in get_id() function in boost::locale::impl::ios_prop
|
/third_party/boost/libs/thread/test/threads/thread/non_members/ |
D | swap_pass.cpp | 62 boost::thread::id id0 = t0.get_id(); in main() 64 boost::thread::id id1 = t1.get_id(); in main() 66 BOOST_TEST(t0.get_id() == id1); in main() 67 BOOST_TEST(t1.get_id() == id0); in main()
|
/third_party/boost/libs/thread/test/threads/thread/members/ |
D | swap_pass.cpp | 63 boost::thread::id id0 = t0.get_id(); in main() 65 boost::thread::id id1 = t1.get_id(); in main() 67 BOOST_TEST(t0.get_id() == id1); in main() 68 BOOST_TEST(t1.get_id() == id0); in main()
|
D | get_id_pass.cpp | 66 boost::thread::id id1 = t1.get_id(); in main() 67 BOOST_TEST(t0.get_id() != id1); in main() 68 BOOST_TEST(t1.get_id() == boost::thread::id()); in main()
|
/third_party/boost/libs/thread/example/ |
D | thread_pool.cpp | 29 << boost::this_thread::get_id() << " P1" << BOOST_THREAD_END_LOG; in p1() 35 << boost::this_thread::get_id() << " P2" << BOOST_THREAD_END_LOG; in p2() 55 << boost::this_thread::get_id() << " <MAIN" << BOOST_THREAD_END_LOG; in main() 76 << boost::this_thread::get_id() << "MAIN>" << BOOST_THREAD_END_LOG; in main()
|
D | user_scheduler.cpp | 27 << boost::this_thread::get_id() << " P1" << BOOST_THREAD_END_LOG; in p1() 33 << boost::this_thread::get_id() << " P2" << BOOST_THREAD_END_LOG; in p2() 52 << boost::this_thread::get_id() << " <MAIN" << BOOST_THREAD_END_LOG; in main() 77 << boost::this_thread::get_id() << "MAIN>" << BOOST_THREAD_END_LOG; in main()
|
/third_party/boost/libs/thread/doc/ |
D | scoped_thread.qbk | 159 [[Postconditions:] [`*this.t_` refers to the newly created thread of execution and `this->get_id()!… 210 id get_id() const noexcept; 268 [[Postconditions:] [`this->get_id()==thread::id()`]] 284 [[Postconditions:] [`other.get_id()==thread::id()` and `get_id()` returns the value of `other.get_i… 303 [[Postconditions:] [`other->get_id()==thread::id()` and `get_id()` returns the value of `other.get_… 320 [[Postconditions:] [other.get_id()==thread::id() and get_id() returns the value of other.get_id() p… 337 [[Postconditions:] [`*this.t_` refers to the newly created thread of execution and `this->get_id()!… 429 [section:get_id Member function `get_id()`] 431 thread::id get_id() const noexcept; 435 [[Effects:] [Equivalent to return `t_.get_id()`.]]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | PerThreadProcTests.cpp | 69 EXPECT_EQ(std::this_thread::get_id(), threadIdA); in TEST_F() 90 EXPECT_EQ(std::this_thread::get_id(), threadIdB); in TEST_F() 107 threadIdA = threadA.get_id(); in TEST_F() 108 threadIdB = threadB.get_id(); in TEST_F()
|
/third_party/boost/libs/fiber/examples/ |
D | work_stealing.cpp | 34 std::thread::id my_thread = std::this_thread::get_id(); /*< get ID of initial thread >*/ in whatevah() 42 … std::thread::id new_thread = std::this_thread::get_id(); /*< get ID of current thread >*/ in whatevah() 66 buffer << "thread started " << std::this_thread::get_id() << std::endl; in thread() 86 std::cout << "main thread started " << std::this_thread::get_id() << std::endl; in main()
|
D | work_sharing.cpp | 34 std::thread::id my_thread = std::this_thread::get_id(); /*< get ID of initial thread >*/ in whatevah() 42 … std::thread::id new_thread = std::this_thread::get_id(); /*< get ID of current thread >*/ in whatevah() 66 buffer << "thread started " << std::this_thread::get_id() << std::endl; in thread() 87 std::cout << "main thread started " << std::this_thread::get_id() << std::endl; in main()
|
/third_party/boost/libs/thread/test/threads/thread/constr/ |
D | copy_fail.cpp | 75 boost::thread::id id = t0.get_id(); in main() 77 BOOST_TEST(t1.get_id() == id); in main() 78 BOOST_TEST(t0.get_id() == boost::thread::id()); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | scheduler_test.cpp | 116 auto threadID = std::this_thread::get_id(); in TEST_P() 118 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 143 auto threadID = std::this_thread::get_id(); in TEST_P() 145 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 175 threads.emplace(std::this_thread::get_id()); in TEST_F() 181 ASSERT_EQ(threads.count(std::this_thread::get_id()), 0U); in TEST_F()
|