Home
last modified time | relevance | path

Searched refs:owns_lock (Results 1 – 25 of 95) sorted by relevance

1234

/external/swiftshader/third_party/marl/src/
Dconditionvariable_test.cpp32 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()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
Downs_lock.pass.cpp33 assert(lk0.owns_lock() == false); in main()
35 assert(lk1.owns_lock() == true); in main()
37 assert(lk1.owns_lock() == false); in main()
38 static_assert(noexcept(lk0.owns_lock()), "owns_lock must be noexcept"); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
Downs_lock.pass.cpp27 assert(lk0.owns_lock() == false); in main()
29 assert(lk1.owns_lock() == true); in main()
31 assert(lk1.owns_lock() == false); in main()
32 static_assert(noexcept(lk0.owns_lock()), "owns_lock must be noexcept"); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmove_ctor.pass.cpp37 assert(lk.owns_lock() == true); in main()
39 assert(lk0.owns_lock() == false); in main()
47 assert(lk.owns_lock() == true); in main()
49 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp40 assert(lk1.owns_lock() == true); in main()
42 assert(lk0.owns_lock() == false); in main()
52 assert(lk1.owns_lock() == true); in main()
54 assert(lk0.owns_lock() == false); in main()
Dmutex_try_to_lock.pass.cpp47 assert(lk.owns_lock() == false); in f()
51 assert(lk.owns_lock() == false); in f()
55 assert(lk.owns_lock() == false); in f()
60 if (lk.owns_lock()) in f()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmove_ctor.pass.cpp31 assert(lk.owns_lock() == true); in main()
33 assert(lk0.owns_lock() == false); in main()
41 assert(lk.owns_lock() == true); in main()
43 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp34 assert(lk1.owns_lock() == true); in main()
36 assert(lk0.owns_lock() == false); in main()
46 assert(lk1.owns_lock() == true); in main()
48 assert(lk0.owns_lock() == false); in main()
Dmutex_try_to_lock.pass.cpp40 assert(lk.owns_lock() == false); in f()
44 assert(lk.owns_lock() == false); in f()
48 assert(lk.owns_lock() == false); in f()
53 if (lk.owns_lock()) in f()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmove_ctor.pass.cpp31 assert(lk.owns_lock() == true); in main()
33 assert(lk0.owns_lock() == false); in main()
41 assert(lk.owns_lock() == true); in main()
43 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp33 assert(lk1.owns_lock() == true); in main()
35 assert(lk0.owns_lock() == false); in main()
45 assert(lk1.owns_lock() == true); in main()
47 assert(lk0.owns_lock() == false); in main()
Dmutex_try_to_lock.pass.cpp39 assert(lk.owns_lock() == false); in f()
43 assert(lk.owns_lock() == false); in f()
47 assert(lk.owns_lock() == false); in f()
52 if (lk.owns_lock()) in f()
Dcopy_ctor.compile.fail.cpp26 assert(lk.owns_lock() == true); in main()
28 assert(lk0.owns_lock() == false); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmove_ctor.pass.cpp30 assert(lk.owns_lock() == true); in main()
32 assert(lk0.owns_lock() == false); in main()
40 assert(lk.owns_lock() == true); in main()
42 assert(lk0.owns_lock() == false); in main()
Dmove_assign.pass.cpp32 assert(lk1.owns_lock() == true); in main()
34 assert(lk0.owns_lock() == false); in main()
44 assert(lk1.owns_lock() == true); in main()
46 assert(lk0.owns_lock() == false); in main()
Dmutex_try_to_lock.pass.cpp36 assert(lk.owns_lock() == false); in f()
40 assert(lk.owns_lock() == false); in f()
44 assert(lk.owns_lock() == false); in f()
49 if (lk.owns_lock()) in f()
Dcopy_ctor.fail.cpp27 assert(lk.owns_lock() == true); in main()
29 assert(lk0.owns_lock() == false); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
Downs_lock.pass.cpp26 assert(lk0.owns_lock() == false); in main()
28 assert(lk1.owns_lock() == true); in main()
30 assert(lk1.owns_lock() == false); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
Downs_lock.pass.cpp27 assert(lk0.owns_lock() == false); in main()
29 assert(lk1.owns_lock() == true); in main()
31 assert(lk1.owns_lock() == false); in main()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DUniqueLock.h39 if (owns_lock())
47 ~unique_lock() { if (owns_lock()) M->unlock(); } in ~unique_lock()
63 bool owns_lock() { return locked; } in owns_lock() function
/external/llvm/include/llvm/Support/
DUniqueLock.h39 if (owns_lock())
47 ~unique_lock() { if (owns_lock()) M->unlock(); } in ~unique_lock()
63 bool owns_lock() { return locked; } in owns_lock() function
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Dmember_swap.pass.cpp35 assert(lk1.owns_lock() == false); in main()
37 assert(lk2.owns_lock() == true); in main()
Dnonmember_swap.pass.cpp36 assert(lk1.owns_lock() == false); in main()
38 assert(lk2.owns_lock() == true); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Dmember_swap.pass.cpp36 assert(lk1.owns_lock() == false); in main()
38 assert(lk2.owns_lock() == true); in main()
Dnonmember_swap.pass.cpp37 assert(lk1.owns_lock() == false); in main()
39 assert(lk2.owns_lock() == true); in main()

1234