Home
last modified time | relevance | path

Searched defs:lk (Results 1 – 25 of 62) sorted by relevance

123

/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp33 std::unique_lock<std::mutex> lk(mut); in f1() local
43 std::unique_lock<std::mutex> lk(mut); in f2() local
57 std::unique_lock<std::mutex>lk(mut); in main() local
64 std::unique_lock<std::mutex>lk(mut); in main() local
83 std::unique_lock<std::mutex>lk(mut); in main() local
Dnotify_all.pass.cpp32 std::unique_lock<std::mutex> lk(mut); in f1() local
42 std::unique_lock<std::mutex> lk(mut); in f2() local
56 std::unique_lock<std::mutex>lk(mut); in main() local
63 std::unique_lock<std::mutex>lk(mut); in main() local
Ddestructor.pass.cpp32 Lock lk(m); in f() local
40 Lock lk(m); in g() local
51 Lock lk(m); in main() local
Dwait_for.pass.cpp41 std::unique_lock<std::mutex> lk(mut); in f() local
66 std::unique_lock<std::mutex>lk(mut); in main() local
80 std::unique_lock<std::mutex>lk(mut); in main() local
Dwait_for_pred.pass.cpp49 std::unique_lock<std::mutex> lk(mut); in f() local
73 std::unique_lock<std::mutex>lk(mut); in main() local
87 std::unique_lock<std::mutex>lk(mut); in main() local
Dwait.pass.cpp31 std::unique_lock<std::mutex> lk(mut); in f() local
42 std::unique_lock<std::mutex>lk(mut); in main() local
Dwait_until.pass.cpp54 std::unique_lock<std::mutex> lk(mut); in f() local
79 std::unique_lock<std::mutex>lk(mut); in main() local
93 std::unique_lock<std::mutex>lk(mut); in main() local
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp38 L1 lk(m0); in f1() local
48 L1 lk(m0); in f2() local
62 L1 lk(m0); in main() local
69 L1 lk(m0); in main() local
86 L1 lk(m0); in main() local
Dnotify_all.pass.cpp36 L1 lk(m0); in f1() local
46 L1 lk(m0); in f2() local
60 L1 lk(m0); in main() local
67 L1 lk(m0); in main() local
Dwait_for.pass.cpp42 L1 lk(m0); in f() local
67 L1 lk(m0); in main() local
81 L1 lk(m0); in main() local
Dwait_for_pred.pass.cpp53 L1 lk(m0); in f() local
78 L1 lk(m0); in main() local
93 L1 lk(m0); in main() local
/external/libxml2/
Dlist.c59 xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk) in xmlLinkDeallocator()
100 xmlLinkPtr lk; in xmlListLowerSearch() local
120 xmlLinkPtr lk; in xmlListHigherSearch() local
140 xmlLinkPtr lk; in xmlListLinkSearch() local
165 xmlLinkPtr lk; in xmlListLinkReverseSearch() local
233 xmlLinkPtr lk; in xmlListSearch() local
254 xmlLinkPtr lk; in xmlListReverseSearch() local
355 xmlLinkPtr lk; in xmlListRemoveFirst() local
380 xmlLinkPtr lk; in xmlListRemoveLast() local
424 xmlLinkPtr lk; in xmlListClear() local
[all …]
/external/drm_hwcomposer/
Dworker.cpp33 std::lock_guard<std::mutex> lk(mutex_); in InitWorker() local
46 std::unique_lock<std::mutex> lk(mutex_); in Exit() local
61 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in WaitForSignalOrExitLocked() local
83 std::unique_lock<std::mutex> lk(mutex_, std::defer_lock); in InternalRoutine() local
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmutex_try_to_lock.pass.cpp35 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local
39 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local
43 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local
48 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() local
Dmutex_adopt_lock.pass.cpp28 std::unique_lock<M> lk(m, std::adopt_lock); in main() local
36 std::unique_lock<M> lk(m, std::adopt_lock); in main() local
Dmutex_defer_lock.pass.cpp27 std::unique_lock<M> lk(m, std::defer_lock); in main() local
34 std::unique_lock<M> lk(m, std::defer_lock); in main() local
Dmove_ctor.pass.cpp28 std::unique_lock<M> lk = std::move(lk0); in main() local
38 std::unique_lock<M> lk = std::move(lk0); in main() local
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_try_to_lock.pass.cpp39 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
43 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
47 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
52 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() local
Dmutex_defer_lock.pass.cpp28 std::unique_lock<M> lk(m, std::defer_lock); in main() local
35 std::unique_lock<M> lk(m, std::defer_lock); in main() local
Dmutex_adopt_lock.pass.cpp29 std::unique_lock<M> lk(m, std::adopt_lock); in main() local
37 std::unique_lock<M> lk(m, std::adopt_lock); in main() local
Dmove_ctor.pass.cpp29 std::shared_lock<M> lk = std::move(lk0); in main() local
39 std::shared_lock<M> lk = std::move(lk0); in main() local
/external/libcxx/src/
Dshared_mutex.cpp28 unique_lock<mutex> lk(__mut_); in lock() local
39 unique_lock<mutex> lk(__mut_); in try_lock() local
61 unique_lock<mutex> lk(__mut_); in lock_shared() local
72 unique_lock<mutex> lk(__mut_); in try_lock_shared() local
Dmutex.cpp103 unique_lock<mutex> lk(__m_); in lock() local
112 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local
146 unique_lock<mutex> lk(__m_); in lock() local
164 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() local
179 unique_lock<mutex> lk(__m_); in unlock() local
Dcondition_variable.cpp39 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait()
50 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait()
80 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
/external/libcxx/test/libcxx/thread/thread.condition/
DPR30202_notify_from_pthread_created_thread.pass.cpp42 std::unique_lock<std::mutex> lk(mut); in func() local
52 std::unique_lock<std::mutex> lk(mut); in main() local
66 std::unique_lock<std::mutex> lk(mut); in main() local

123