OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lk1
(Results
1 - 25
of
30
) sorted by null
1
2
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
mutex.pass.cpp
27
std::unique_lock<std::mutex>
lk1
(m);
28
assert(
lk1
.mutex() == &m);
29
lk1
.unlock();
30
assert(
lk1
.mutex() == &m);
op_bool.pass.cpp
27
std::unique_lock<std::mutex>
lk1
(m);
28
assert(static_cast<bool>(
lk1
) == true);
29
lk1
.unlock();
30
assert(static_cast<bool>(
lk1
) == false);
owns_lock.pass.cpp
27
std::unique_lock<std::mutex>
lk1
(m);
28
assert(
lk1
.owns_lock() == true);
29
lk1
.unlock();
30
assert(
lk1
.owns_lock() == false);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
mutex.pass.cpp
25
std::unique_lock<std::mutex>
lk1
(m);
26
assert(
lk1
.mutex() == &m);
27
lk1
.unlock();
28
assert(
lk1
.mutex() == &m);
op_bool.pass.cpp
25
std::unique_lock<std::mutex>
lk1
(m);
26
assert(static_cast<bool>(
lk1
) == true);
27
lk1
.unlock();
28
assert(static_cast<bool>(
lk1
) == false);
owns_lock.pass.cpp
25
std::unique_lock<std::mutex>
lk1
(m);
26
assert(
lk1
.owns_lock() == true);
27
lk1
.unlock();
28
assert(
lk1
.owns_lock() == false);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
member_swap.pass.cpp
36
std::shared_lock<mutex>
lk1
(m);
38
lk1
.swap(lk2);
39
assert(
lk1
.mutex() == nullptr);
40
assert(
lk1
.owns_lock() == false);
43
static_assert(noexcept(
lk1
.swap(lk2)), "member swap must be noexcept");
nonmember_swap.pass.cpp
37
std::shared_lock<mutex>
lk1
(m);
39
swap(
lk1
, lk2);
40
assert(
lk1
.mutex() == nullptr);
41
assert(
lk1
.owns_lock() == false);
44
static_assert(noexcept(swap(
lk1
, lk2)), "non-member swap must be noexcept");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
member_swap.pass.cpp
34
std::shared_lock<mutex>
lk1
(m);
36
lk1
.swap(lk2);
37
assert(
lk1
.mutex() == nullptr);
38
assert(
lk1
.owns_lock() == false);
41
static_assert(noexcept(
lk1
.swap(lk2)), "member swap must be noexcept");
nonmember_swap.pass.cpp
35
std::shared_lock<mutex>
lk1
(m);
37
swap(
lk1
, lk2);
38
assert(
lk1
.mutex() == nullptr);
39
assert(
lk1
.owns_lock() == false);
42
static_assert(noexcept(swap(
lk1
, lk2)), "non-member swap must be noexcept");
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
move_assign.pass.cpp
32
std::shared_lock<std::shared_timed_mutex>
lk1
(m1);
33
lk1
= std::move(lk0);
34
assert(
lk1
.mutex() == &m0);
35
assert(
lk1
.owns_lock() == true);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
mutex.pass.cpp
32
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
33
assert(
lk1
.mutex() == &m);
34
lk1
.unlock();
35
assert(
lk1
.mutex() == &m);
op_bool.pass.cpp
32
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
33
assert(static_cast<bool>(
lk1
) == true);
34
lk1
.unlock();
35
assert(static_cast<bool>(
lk1
) == false);
owns_lock.pass.cpp
32
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
33
assert(
lk1
.owns_lock() == true);
34
lk1
.unlock();
35
assert(
lk1
.owns_lock() == false);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
copy_assign.fail.cpp
25
std::unique_lock<std::mutex>
lk1
(m1);
26
lk1
= lk0;
27
assert(
lk1
.mutex() == &m0);
28
assert(
lk1
.owns_lock() == true);
move_assign.pass.cpp
28
std::unique_lock<std::mutex>
lk1
(m1);
29
lk1
= std::move(lk0);
30
assert(
lk1
.mutex() == &m0);
31
assert(
lk1
.owns_lock() == true);
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
member_swap.pass.cpp
31
std::unique_lock<mutex>
lk1
(m);
33
lk1
.swap(lk2);
34
assert(
lk1
.mutex() == nullptr);
35
assert(
lk1
.owns_lock() == false);
nonmember_swap.pass.cpp
32
std::unique_lock<mutex>
lk1
(m);
34
swap(
lk1
, lk2);
35
assert(
lk1
.mutex() == nullptr);
36
assert(
lk1
.owns_lock() == false);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
move_assign.pass.cpp
30
std::shared_lock<std::shared_timed_mutex>
lk1
(m1);
31
lk1
= std::move(lk0);
32
assert(
lk1
.mutex() == &m0);
33
assert(
lk1
.owns_lock() == true);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/
mutex.pass.cpp
30
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
31
assert(
lk1
.mutex() == &m);
32
lk1
.unlock();
33
assert(
lk1
.mutex() == &m);
op_bool.pass.cpp
30
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
31
assert(static_cast<bool>(
lk1
) == true);
32
lk1
.unlock();
33
assert(static_cast<bool>(
lk1
) == false);
owns_lock.pass.cpp
30
std::shared_lock<std::shared_timed_mutex>
lk1
(m);
31
assert(
lk1
.owns_lock() == true);
32
lk1
.unlock();
33
assert(
lk1
.owns_lock() == false);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
copy_assign.fail.cpp
25
std::unique_lock<std::mutex>
lk1
(m1);
26
lk1
= lk0;
27
assert(
lk1
.mutex() == &m0);
28
assert(
lk1
.owns_lock() == true);
move_assign.pass.cpp
26
std::unique_lock<std::mutex>
lk1
(m1);
27
lk1
= std::move(lk0);
28
assert(
lk1
.mutex() == &m0);
29
assert(
lk1
.owns_lock() == true);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
member_swap.pass.cpp
29
std::unique_lock<mutex>
lk1
(m);
31
lk1
.swap(lk2);
32
assert(
lk1
.mutex() == nullptr);
33
assert(
lk1
.owns_lock() == false);
Completed in 99 milliseconds
1
2