Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 86) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/
Dlock.pass.cpp25 void lock() in lock() function in L0
48 void lock() in lock() function in L1
71 void lock() in lock() function in L2
92 std::lock(l0, l1); in main()
99 std::lock(l0, l1); in main()
106 std::lock(l0, l1); in main()
115 std::lock(l0, l1); in main()
129 std::lock(l0, l1); in main()
143 std::lock(l0, l1); in main()
157 std::lock(l0, l1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_guard.cpp119 uint8_t lock[2]; in get_lock() member
121 return f.lock[1] != 0; in get_lock()
131 uint8_t lock[2]; in set_lock() member
133 f.lock[1] = y; in set_lock()
144 uint8_t lock[2]; in get_lock() member
146 return f.lock[1] != 0; in get_lock()
156 uint8_t lock[2]; in set_lock() member
158 f.lock[1] = y; in set_lock()
198 lock_type lock = get_lock(*guard_object);
199 if (lock)
[all …]
/ndk/tests/build/pthread-rwlock-initializer/jni/
Dtest_pthread_rwlock_initializer.c13 pthread_rwlock_t lock; in build_check() local
14 pthread_rwlock_init(&lock, NULL); in build_check()
15 pthread_rwlock_rdlock(&lock); in build_check()
16 pthread_rwlock_unlock(&lock); in build_check()
17 pthread_rwlock_destroy(&lock); in build_check()
/ndk/sources/cxx-stl/stlport/src/
Dcxa.c87 static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable
91 static pthread_mutex_t lock =
97 static pthread_mutex_t lock = variable
101 static pthread_mutex_t lock = PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP; variable
117 pthread_mutex_lock( &lock ); in __new_exitfn()
149 pthread_mutex_unlock( &lock ); in __new_exitfn()
168 pthread_mutex_lock( &lock ); in __cxa_finalize()
189 pthread_mutex_unlock( &lock ); in __cxa_finalize()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
Dsp_counted_base_spin.hpp32 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_exchange_and_add() local
41 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_increment() local
47 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_conditional_increment() local
122 spinlock_pool<1>::scoped_lock lock( &use_count_ ); in use_count() local
Dspinlock_pt.hpp39 void lock() in lock() function in boost::detail::spinlock
64 sp.lock(); in scoped_lock()
Dspinlock_sync.hpp44 void lock() in lock() function in boost::detail::spinlock
72 sp.lock(); in scoped_lock()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcondition_variable34 void wait(unique_lock<mutex>& lock);
36 void wait(unique_lock<mutex>& lock, Predicate pred);
40 wait_until(unique_lock<mutex>& lock,
45 wait_until(unique_lock<mutex>& lock,
51 wait_for(unique_lock<mutex>& lock,
56 wait_for(unique_lock<mutex>& lock,
79 void wait(Lock& lock);
81 void wait(Lock& lock, Predicate pred);
85 wait_until(Lock& lock,
90 wait_until(Lock& lock,
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dlock.pass.cpp33 lk.lock(); in f()
40 lk.lock(); in f()
51 lk.lock(); in f()
62 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dlock.pass.cpp36 lk.lock(); in f()
43 lk.lock(); in f()
54 lk.lock(); in f()
68 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/
Ddestructor.pass.cpp29 m.lock(); in f()
38 m.lock(); in g()
50 m.lock(); in main()
Dwait.exception.pass.cpp21 void lock() in lock() function
47 mut.lock(); in main()
Dwait_for.exception.pass.cpp21 void lock() in lock() function
47 mut.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
Dlock.pass.cpp34 m.lock(); in f()
36 m.lock(); in f()
45 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
Dlock.pass.cpp34 m.lock(); in f()
36 m.lock(); in f()
45 m.lock(); in main()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_wrappers.cpp71 ScopedGlobalLock lock; in WrapDlopen() local
147 ScopedGlobalLock lock; in WrapDlsym() local
168 ScopedGlobalLock lock; in WrapDladdr() local
201 ScopedGlobalLock lock; in WrapDlclose() local
216 ScopedGlobalLock lock; in WrapDl_unwind_find_exidx() local
229 ScopedGlobalLock lock; in WrapDl_iterate_phdr() local
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Dlock.pass.cpp34 std::shared_ptr<A> sp = wp.lock(); in main()
42 std::shared_ptr<A> sp = wp.lock(); in main()
52 std::shared_ptr<A> sp = wp.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dlock.pass.cpp34 m.lock(); in f()
46 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
Dlock.pass.cpp34 m.lock(); in f()
43 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
Dlock.pass.cpp34 m.lock(); in f()
43 m.lock(); in main()
Dtry_lock_for.pass.cpp52 m.lock(); in main()
59 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
Dswap.pass.cpp42 assert(w1.lock().get() == ptr2); in main()
44 assert(w2.lock().get() == ptr1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
Dswap.pass.cpp42 assert(w1.lock().get() == ptr2); in main()
44 assert(w2.lock().get() == ptr1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/
Dadopt_lock.pass.cpp34 m.lock(); in f()
44 m.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dmutex.cpp29 mutex::lock() in lock() function in mutex
89 recursive_mutex::lock() in lock() function in recursive_mutex
123 timed_mutex::lock() in lock() function in timed_mutex
165 recursive_timed_mutex::lock() in lock() function in recursive_timed_mutex

1234