/third_party/boost/libs/thread/test/ |
D | test_generic_locks.cpp | 25 BOOST_CHECK(!l1.owns_lock()); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK(!l2.owns_lock()); in BOOST_AUTO_TEST_CASE() 30 BOOST_CHECK(l1.owns_lock()); in BOOST_AUTO_TEST_CASE() 31 BOOST_CHECK(l2.owns_lock()); in BOOST_AUTO_TEST_CASE() 142 BOOST_CHECK(!l1.owns_lock()); in BOOST_AUTO_TEST_CASE() 143 BOOST_CHECK(!l2.owns_lock()); in BOOST_AUTO_TEST_CASE() 144 BOOST_CHECK(!l3.owns_lock()); in BOOST_AUTO_TEST_CASE() 145 BOOST_CHECK(!l4.owns_lock()); in BOOST_AUTO_TEST_CASE() 146 BOOST_CHECK(!l5.owns_lock()); in BOOST_AUTO_TEST_CASE() 150 BOOST_CHECK(l1.owns_lock()); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/nested_strict_lock/ |
D | owns_lock_pass.cpp | 25 BOOST_TEST(nlk.owns_lock(&m) == true); in main() 26 BOOST_TEST(!nlk.owns_lock(&m2) == true); in main() 28 BOOST_TEST(lk.owns_lock() == true && lk.mutex()==&m); in main() 35 BOOST_TEST(nlk.owns_lock(&m) == true); in main() 36 BOOST_TEST(!nlk.owns_lock(&m2) == true); in main() 38 BOOST_TEST(lk.owns_lock() == true && lk.mutex()==&m); in main() 44 BOOST_TEST(nlk.owns_lock(&m) == true); in main() 45 BOOST_TEST(!nlk.owns_lock(&m2) == true); in main() 47 BOOST_TEST(lk.owns_lock() == true && lk.mutex()==&m); in main() 53 BOOST_TEST(nlk.owns_lock(&m) == true); in main() [all …]
|
/third_party/boost/boost/thread/ |
D | lock_types.hpp | 207 if (BOOST_THREAD_RV(ul).owns_lock()) in unique_lock() 227 if (BOOST_THREAD_RV(ul).owns_lock()) in unique_lock() 246 if (BOOST_THREAD_RV(ul).owns_lock()) in unique_lock() 266 if (BOOST_THREAD_RV(sl).owns_lock()) in unique_lock() 286 if (BOOST_THREAD_RV(sl).owns_lock()) in unique_lock() 305 if (BOOST_THREAD_RV(sl).owns_lock()) in unique_lock() 329 if (owns_lock()) in ~unique_lock() 341 if (owns_lock()) in lock() 356 if (owns_lock()) in try_lock() 372 if(owns_lock()) in timed_lock() [all …]
|
D | externally_locked.hpp | 121 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 127 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 135 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 143 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 160 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 260 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 266 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 274 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 282 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() 298 …BOOST_THREAD_ASSERT_PRECONDITION( lk.owns_lock(mtx_), lock_error() ); /*< run time check throw if… in get() [all …]
|
D | strict_lock.hpp | 88 bool owns_lock() const BOOST_NOEXCEPT in owns_lock() function in boost::strict_lock 96 bool owns_lock(const mutex_type* l) const BOOST_NOEXCEPT in owns_lock() function in boost::strict_lock 154 if (!lk.owns_lock()) lk.lock(); /*< ensures it is locked >*/ in nested_strict_lock() 166 if (!lk_.owns_lock()) lk_.lock(); /*< ensures it is locked >*/ in nested_strict_lock() 193 bool owns_lock() const BOOST_NOEXCEPT in owns_lock() function in boost::nested_strict_lock 201 bool owns_lock(mutex_type const* l) const BOOST_NOEXCEPT in owns_lock() function in boost::nested_strict_lock
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | conditionvariable_test.cpp | 32 EXPECT_TRUE(lock.owns_lock()); in TEST_F() 35 EXPECT_TRUE(lock.owns_lock()); in TEST_F() 51 EXPECT_TRUE(lock.owns_lock()); in TEST_F() 54 EXPECT_TRUE(lock.owns_lock()); in TEST_F() 75 EXPECT_TRUE(lock.owns_lock()); in TEST_P() 78 EXPECT_TRUE(lock.owns_lock()); in TEST_P() 94 EXPECT_TRUE(lock.owns_lock()); in TEST_P() 97 EXPECT_TRUE(lock.owns_lock()); in TEST_P() 124 EXPECT_TRUE(lock.owns_lock()); in TEST_P() 127 EXPECT_TRUE(lock.owns_lock()); in TEST_P()
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock/cons/ |
D | move_assign_pass.cpp | 36 BOOST_TEST(lk1.owns_lock() == true); in main() 38 BOOST_TEST(lk0.owns_lock() == false); in main() 45 BOOST_TEST(lk1.owns_lock() == true); in main() 52 BOOST_TEST(lk1.owns_lock() == true); in main() 54 BOOST_TEST(lk0.owns_lock() == false); in main() 61 BOOST_TEST(lk1.owns_lock() == true); in main() 68 BOOST_TEST(lk1.owns_lock() == true); in main() 70 BOOST_TEST(lk0.owns_lock() == false); in main() 77 BOOST_TEST(lk1.owns_lock() == true); in main()
|
D | move_ctor_upgrade_lock_pass.cpp | 35 BOOST_TEST(lk.owns_lock() == true); in main() 37 BOOST_TEST(lk0.owns_lock() == false); in main() 42 BOOST_TEST(lk.owns_lock() == true); in main() 48 BOOST_TEST(lk.owns_lock() == false); in main() 50 BOOST_TEST(lk0.owns_lock() == false); in main() 57 BOOST_TEST(lk.owns_lock() == false); in main() 59 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_unique_lock_pass.cpp | 35 BOOST_TEST(lk.owns_lock() == true); in main() 37 BOOST_TEST(lk0.owns_lock() == false); in main() 42 BOOST_TEST(lk.owns_lock() == true); in main() 48 BOOST_TEST(lk.owns_lock() == false); in main() 50 BOOST_TEST(lk0.owns_lock() == false); in main() 57 BOOST_TEST(lk.owns_lock() == false); in main() 59 BOOST_TEST(lk0.owns_lock() == false); in main()
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/ |
D | move_ctor_pass.cpp | 34 BOOST_TEST(lk.owns_lock() == true); in main() 36 BOOST_TEST(lk0.owns_lock() == false); in main() 41 BOOST_TEST(lk.owns_lock() == true); in main() 47 BOOST_TEST(lk.owns_lock() == false); in main() 49 BOOST_TEST(lk0.owns_lock() == false); in main() 56 BOOST_TEST(lk.owns_lock() == false); in main() 58 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_upgrade_lock_pass.cpp | 34 BOOST_TEST(lk.owns_lock() == true); in main() 36 BOOST_TEST(lk0.owns_lock() == false); in main() 41 BOOST_TEST(lk.owns_lock() == true); in main() 47 BOOST_TEST(lk.owns_lock() == false); in main() 49 BOOST_TEST(lk0.owns_lock() == false); in main() 56 BOOST_TEST(lk.owns_lock() == false); in main() 58 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_upgrade_lock_try_pass.cpp | 35 BOOST_TEST(lk.owns_lock() == true); in main() 37 BOOST_TEST(lk0.owns_lock() == false); in main() 42 BOOST_TEST(lk.owns_lock() == true); in main() 48 BOOST_TEST(lk.owns_lock() == false); in main() 50 BOOST_TEST(lk0.owns_lock() == false); in main() 57 BOOST_TEST(lk.owns_lock() == false); in main() 59 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_upgrade_lock_for_pass.cpp | 37 BOOST_TEST(lk.owns_lock() == true); in main() 39 BOOST_TEST(lk0.owns_lock() == false); in main() 45 BOOST_TEST(lk.owns_lock() == true); in main() 51 BOOST_TEST(lk.owns_lock() == false); in main() 53 BOOST_TEST(lk0.owns_lock() == false); in main() 60 BOOST_TEST(lk.owns_lock() == false); in main() 62 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_shared_lock_for_pass.cpp | 39 BOOST_TEST(lk.owns_lock() == true); in main() 41 BOOST_TEST(lk0.owns_lock() == false); in main() 47 BOOST_TEST(lk.owns_lock() == true); in main() 53 BOOST_TEST(lk.owns_lock() == false); in main() 55 BOOST_TEST(lk0.owns_lock() == false); in main() 62 BOOST_TEST(lk.owns_lock() == false); in main() 64 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_shared_lock_try_pass.cpp | 37 BOOST_TEST(lk.owns_lock() == true); in main() 39 BOOST_TEST(lk0.owns_lock() == false); in main() 44 BOOST_TEST(lk.owns_lock() == true); in main() 50 BOOST_TEST(lk.owns_lock() == false); in main() 52 BOOST_TEST(lk0.owns_lock() == false); in main() 59 BOOST_TEST(lk.owns_lock() == false); in main() 61 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_upgrade_lock_until_pass.cpp | 37 BOOST_TEST(lk.owns_lock() == true); in main() 39 BOOST_TEST(lk0.owns_lock() == false); in main() 45 BOOST_TEST(lk.owns_lock() == true); in main() 51 BOOST_TEST(lk.owns_lock() == false); in main() 53 BOOST_TEST(lk0.owns_lock() == false); in main() 60 BOOST_TEST(lk.owns_lock() == false); in main() 62 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_shared_lock_until_pass.cpp | 39 BOOST_TEST(lk.owns_lock() == true); in main() 41 BOOST_TEST(lk0.owns_lock() == false); in main() 47 BOOST_TEST(lk.owns_lock() == true); in main() 53 BOOST_TEST(lk.owns_lock() == false); in main() 55 BOOST_TEST(lk0.owns_lock() == false); in main() 62 BOOST_TEST(lk.owns_lock() == false); in main() 64 BOOST_TEST(lk0.owns_lock() == false); in main()
|
/third_party/boost/boost/fiber/future/detail/ |
D | shared_state.hpp | 48 BOOST_ASSERT( lk.owns_lock() ); in mark_ready_and_notify_() 55 BOOST_ASSERT( lk.owns_lock() ); in owner_destroyed_() 64 BOOST_ASSERT( lk.owns_lock() ); in set_exception_() 73 BOOST_ASSERT( lk.owns_lock() ); in get_exception_ptr_() 79 BOOST_ASSERT( lk.owns_lock() ); in wait_() 86 BOOST_ASSERT( lk.owns_lock() ); in wait_for_() 95 BOOST_ASSERT( lk.owns_lock() ); in wait_until_() 163 BOOST_ASSERT( lk.owns_lock() ); in set_value_() 172 BOOST_ASSERT( lk.owns_lock() ); in set_value_() 181 BOOST_ASSERT( lk.owns_lock() ); in get_() [all …]
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/upgrade_lock/cons/ |
D | move_ctor_shared_lock_try_pass.cpp | 37 BOOST_TEST(lk.owns_lock() == true); in main() 39 BOOST_TEST(lk0.owns_lock() == false); in main() 44 BOOST_TEST(lk.owns_lock() == true); in main() 50 BOOST_TEST(lk.owns_lock() == false); in main() 52 BOOST_TEST(lk0.owns_lock() == false); in main() 59 BOOST_TEST(lk.owns_lock() == false); in main() 61 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_shared_lock_for_pass.cpp | 39 BOOST_TEST(lk.owns_lock() == true); in main() 41 BOOST_TEST(lk0.owns_lock() == false); in main() 47 BOOST_TEST(lk.owns_lock() == true); in main() 53 BOOST_TEST(lk.owns_lock() == false); in main() 55 BOOST_TEST(lk0.owns_lock() == false); in main() 62 BOOST_TEST(lk.owns_lock() == false); in main() 64 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_ctor_shared_lock_until_pass.cpp | 39 BOOST_TEST(lk.owns_lock() == true); in main() 41 BOOST_TEST(lk0.owns_lock() == false); in main() 47 BOOST_TEST(lk.owns_lock() == true); in main() 53 BOOST_TEST(lk.owns_lock() == false); in main() 55 BOOST_TEST(lk0.owns_lock() == false); in main() 62 BOOST_TEST(lk.owns_lock() == false); in main() 64 BOOST_TEST(lk0.owns_lock() == false); in main()
|
D | move_assign_pass.cpp | 36 BOOST_TEST(lk1.owns_lock() == true); in main() 38 BOOST_TEST(lk0.owns_lock() == false); in main() 45 BOOST_TEST(lk1.owns_lock() == true); in main() 52 BOOST_TEST(lk1.owns_lock() == true); in main() 54 BOOST_TEST(lk0.owns_lock() == false); in main() 61 BOOST_TEST(lk1.owns_lock() == true); in main()
|
D | try_to_lock_pass.cpp | 49 BOOST_TEST(lk.owns_lock() == false); in f() 53 BOOST_TEST(lk.owns_lock() == false); in f() 57 BOOST_TEST(lk.owns_lock() == false); in f() 62 if (lk.owns_lock()) { in f() 85 if (lk.owns_lock()) break; in f()
|
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/reverse_lock/ |
D | unique_lock_ctor_pass.cpp | 24 BOOST_TEST(lk.owns_lock()); in main() 29 BOOST_TEST(!lk.owns_lock()); in main() 32 BOOST_TEST(lk.owns_lock()); in main() 39 BOOST_TEST(! lk.owns_lock()); in main() 43 BOOST_TEST(!lk.owns_lock()); in main() 46 BOOST_TEST(lk.owns_lock()); in main()
|
/third_party/boost/boost/fiber/ |
D | condition_variable.hpp | 183 BOOST_ASSERT( lt.owns_lock() ); in wait() 187 BOOST_ASSERT( lt.owns_lock() ); in wait() 194 BOOST_ASSERT( lt.owns_lock() ); in wait() 198 BOOST_ASSERT( lt.owns_lock() ); in wait() 206 BOOST_ASSERT( lt.owns_lock() ); in wait_until() 210 BOOST_ASSERT( lt.owns_lock() ); in wait_until() 219 BOOST_ASSERT( lt.owns_lock() ); in wait_until() 223 BOOST_ASSERT( lt.owns_lock() ); in wait_until() 232 BOOST_ASSERT( lt.owns_lock() ); in wait_for() 236 BOOST_ASSERT( lt.owns_lock() ); in wait_for() [all …]
|