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

1 2

  /device/google/contexthub/firmware/os/inc/
trylock.h 24 #include <plat/trylock.h>
27 struct TryLock {
31 #define TRYLOCK_DECL_STATIC(name) struct TryLock name
34 void trylockInit(struct TryLock *lock);
35 void trylockRelease(struct TryLock *lock);
36 bool trylockTryTake(struct TryLock *lock); //true if we took it
  /device/google/contexthub/firmware/os/core/
trylock.c 17 #include <trylock.h>
21 void trylockInit(struct TryLock *lock)
26 void trylockRelease(struct TryLock *lock)
31 bool trylockTryTake(struct TryLock *lock)
  /external/v8/src/base/platform/
mutex.h 29 // either |Lock()| or |TryLock()| until it calls |Unlock()|.
31 // |Lock()|) or receive a |false| return value (for |TryLock()|) if they
34 // |TryLock()|. The behavior of a program is undefined if a mutex is destroyed
54 bool TryLock() WARN_UNUSED_RESULT;
118 // when it successfully calls either |Lock()| or |TryLock()|. During this
119 // period, the thread may make additional calls to |Lock()| or |TryLock()|.
123 // calls to |Lock()|) or receive a |false| return value (for |TryLock()|) if
127 // probably abort the process and calls to |TryLock()| return false.
153 bool TryLock() WARN_UNUSED_RESULT;
mutex.cc 139 bool Mutex::TryLock() {
180 bool RecursiveMutex::TryLock() {
  /external/regex-re2/util/
mutex.h 39 // lines, and change TryLock() to assert(0) or something.
60 inline bool TryLock(); // If free, Lock() and return true, else return false
99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
112 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; }
127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; }
138 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; }
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_mutex.cc 30 CHECK(t.TryLock(m));
34 CHECK(!t.TryLock(m));
48 CHECK(t.TryLock(m));
52 CHECK(!t.TryLock(m));
66 CHECK(t.TryLock(m));
70 CHECK(!t.TryLock(m));
84 CHECK(!t.TryLock(m));
tsan_test_util.h 51 bool TryLock();
107 bool TryLock(const Mutex &m);
tsan_test_util_posix.cc 194 bool Mutex::TryLock() {
347 ev->res = static_cast<Mutex*>(ev->ptr)->TryLock();
482 bool ScopedThread::TryLock(const Mutex &m) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h 30 if (TryLock())
35 bool TryLock() {
sanitizer_quarantine.h 71 if (cache_.Size() > GetSize() && recycle_mutex_.TryLock())
  /external/clang/test/SemaCXX/
warn-thread-safety-verbose.cpp 32 bool TryLock() __attribute__((exclusive_trylock_function(true)));
warn-thread-safety-negative.cpp 35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
warn-thread-safety-analysis.cpp 35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
3700 bool Foo::trylock() { return true; } function in class:MultipleAttributeTest::Foo
    [all...]
  /art/runtime/base/
mutex_test.cc 52 ASSERT_TRUE(mu.TryLock(Thread::Current()));
84 ASSERT_TRUE(mu.TryLock(Thread::Current()));
86 ASSERT_TRUE(mu.TryLock(Thread::Current()));
mutex.h 240 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); }
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_mutex_test.cc 43 if (!mtx_->TryLock())
  /external/libchrome/base/synchronization/
lock_unittest.cc 112 TEST(LockTest, TryLock) {
  /external/sfntly/cpp/src/test/
lock_test.cc 237 TEST(LockTest, TryLock) {
  /external/valgrind/drd/tests/
tsan_thread_wrappers_pthread.h 203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));}
211 bool ReaderTryLock() { return TryLock();}
  /external/clang/test/PCH/
thread-safety-attrs.cpp 38 bool TryLock() __attribute__((exclusive_trylock_function(true)));
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
msputils.h 103 WINBOOL TryLock() { return TryEnterCriticalSection(&m_CritSec); }
  /art/runtime/
monitor.h 65 static mirror::Object* MonitorEnter(Thread* thread, mirror::Object* obj, bool trylock)
197 bool TryLock(Thread* self)
  /external/toolchain-utils/dejagnu/
run_dejagnu.py 371 if machine.TryLock(timeout=300, exclusive=True):
  /external/toolchain-utils/
file_lock_machine.py 282 def TryLock(self, timeout=300, exclusive=False, reason=''):
  /external/webrtc/webrtc/base/
stream.h 405 bool TryLock();

Completed in 488 milliseconds

1 2