HomeSort by relevance Sort by last modified time
    Searched refs:try_lock (Results 1 - 25 of 40) sorted by null

1 2

  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
try_lock.pass.cpp 16 // bool try_lock();
25 bool try_lock() function in struct:mutex
38 assert(lk.try_lock() == true);
43 lk.try_lock();
51 assert(lk.try_lock() == false);
57 lk.try_lock();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
try_lock.pass.cpp 16 // bool try_lock();
34 assert(!m.try_lock());
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 while(!m.try_lock())
40 assert(m.try_lock());
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
try_lock.pass.cpp 16 // bool try_lock();
34 assert(!m.try_lock());
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 while(!m.try_lock())
40 assert(m.try_lock());
try_lock_for.pass.cpp 37 assert(m.try_lock());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
try_lock.pass.cpp 14 // bool try_lock();
23 bool try_lock() function in struct:mutex
36 assert(lk.try_lock() == true);
41 lk.try_lock();
49 assert(lk.try_lock() == false);
55 lk.try_lock();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
try_lock.pass.cpp 14 // bool try_lock();
32 assert(!m.try_lock());
33 assert(!m.try_lock());
34 assert(!m.try_lock());
35 while(!m.try_lock())
38 assert(m.try_lock());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
try_lock.pass.cpp 14 // bool try_lock();
32 assert(!m.try_lock());
33 assert(!m.try_lock());
34 assert(!m.try_lock());
35 while(!m.try_lock())
38 assert(m.try_lock());
  /system/core/adb/sysdeps/
mutex.h 50 bool try_lock() { function in class:std::recursive_mutex
86 bool try_lock() { function in class:std::mutex
87 if (!mutex_.try_lock()) {
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
try_lock.pass.cpp 16 // bool try_lock();
43 assert(lk.try_lock() == true);
48 lk.try_lock();
56 assert(lk.try_lock() == false);
62 lk.try_lock();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
try_lock.pass.cpp 16 // bool try_lock();
34 assert(!m.try_lock());
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 while(!m.try_lock())
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
try_lock.pass.cpp 17 // bool try_lock();
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 assert(!m.try_lock());
38 while(!m.try_lock())
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock.pass.cpp 17 // bool try_lock();
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 assert(!m.try_lock());
38 while(!m.try_lock())
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
try_lock.pass.cpp 16 // bool try_lock();
34 assert(!m.try_lock());
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 while(!m.try_lock())
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
try_lock.pass.cpp 14 // bool try_lock();
41 assert(lk.try_lock() == true);
46 lk.try_lock();
54 assert(lk.try_lock() == false);
60 lk.try_lock();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
try_lock.pass.cpp 14 // bool try_lock();
32 assert(!m.try_lock());
33 assert(!m.try_lock());
34 assert(!m.try_lock());
35 while(!m.try_lock())
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
try_lock.pass.cpp 14 // bool try_lock();
34 assert(!m.try_lock());
35 assert(!m.try_lock());
36 assert(!m.try_lock());
37 while(!m.try_lock())
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
try_lock.pass.cpp 14 // bool try_lock();
32 assert(!m.try_lock());
33 assert(!m.try_lock());
34 assert(!m.try_lock());
35 while(!m.try_lock())
  /external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/
try_lock.pass.cpp 15 // int try_lock(L1&, L2&, L3&...);
27 bool try_lock() function in class:L0
45 bool try_lock() function in class:L1
63 bool try_lock() function in class:L2
79 assert(std::try_lock(l0, l1) == -1);
86 assert(std::try_lock(l0, l1) == 1);
93 assert(std::try_lock(l0, l1) == 0);
102 std::try_lock(l0, l1);
116 std::try_lock(l0, l1);
130 assert(std::try_lock(l0, l1, l2) == -1)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/
try_lock.pass.cpp 13 // int try_lock(L1&, L2&, L3&...);
25 bool try_lock() function in class:L0
43 bool try_lock() function in class:L1
61 bool try_lock() function in class:L2
77 assert(std::try_lock(l0, l1) == -1);
84 assert(std::try_lock(l0, l1) == 1);
91 assert(std::try_lock(l0, l1) == 0);
100 std::try_lock(l0, l1);
114 std::try_lock(l0, l1);
128 assert(std::try_lock(l0, l1, l2) == -1)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/
spinlock_sync.hpp 38 bool try_lock() function in class:boost::detail::spinlock
46 for( unsigned k = 0; !try_lock(); ++k )
spinlock_pt.hpp 34 bool try_lock() function in class:boost::detail::spinlock
  /external/libcxx/src/
shared_mutex.cpp 38 __shared_mutex_base::try_lock() function in class:__shared_mutex_base
109 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } function in class:shared_timed_mutex
mutex.cpp 38 mutex::try_lock() _NOEXCEPT
106 recursive_mutex::try_lock() _NOEXCEPT
133 timed_mutex::try_lock() _NOEXCEPT
184 recursive_timed_mutex::try_lock() _NOEXCEPT
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
mutex.cpp 37 mutex::try_lock() _NOEXCEPT
105 recursive_mutex::try_lock() _NOEXCEPT
132 timed_mutex::try_lock() _NOEXCEPT
183 recursive_timed_mutex::try_lock() _NOEXCEPT
  /system/core/adb/
sysdeps_test.cpp 253 ASSERT_FALSE(m.try_lock());
255 ASSERT_FALSE(m.try_lock());
278 ASSERT_FALSE(m.try_lock());
287 ASSERT_TRUE(m.try_lock());
291 ASSERT_FALSE(m.try_lock());
300 ASSERT_FALSE(m.try_lock());

Completed in 339 milliseconds

1 2