Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 24 of 24) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc52 bool trylock) override;
153 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument
168 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector2.cc96 bool trylock);
274 bool trylock) { in MutexAfterLock() argument
276 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
294 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector_interface.h84 bool trylock) {} in MutexAfterLock()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cpp51 bool trylock) override;
152 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument
167 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector2.cpp95 bool trylock);
269 bool trylock) { in MutexAfterLock() argument
271 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
289 if (!trylock) in MutexAfterLock()
Dsanitizer_deadlock_detector_interface.h86 bool trylock) {} in MutexAfterLock()
/external/tensorflow/tensorflow/tools/test/
Dupload_test_benchmarks.py133 def trylock(fd): function
213 if trylock(fd):
/external/compiler-rt/lib/tsan/dd/
Ddd_rtl.cc125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() argument
133 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); in MutexAfterLock()
Ddd_rtl.h62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
Ddd_interceptors.cc248 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { in __dsan_after_mutex_lock() argument
251 MutexAfterLock(thr, m, writelock, trylock); in __dsan_after_mutex_lock()
/external/llvm-project/compiler-rt/lib/tsan/dd/
Ddd_rtl.cpp124 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() argument
132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); in MutexAfterLock()
Ddd_rtl.h61 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
Ddd_interceptors.cpp247 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { in __dsan_after_mutex_lock() argument
250 MutexAfterLock(thr, m, writelock, trylock); in __dsan_after_mutex_lock()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc232 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() argument
252 if (!trylock) in MutexReadLock()
254 ctx->dd->MutexAfterLock(&cb, &s->dd, false, trylock); in MutexReadLock()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex.cc107 bool locking, bool trylock,
444 const bool trylock = (flags & SYNCH_F_TRY) != 0; in PostSynchEvent() local
446 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1764 bool locking, bool trylock, in EvalConditionAnnotated() argument
1773 const int tryflags = flags | (trylock ? __tsan_mutex_try_lock : 0); in EvalConditionAnnotated()
1800 static_cast<void>(trylock); in EvalConditionAnnotated()
/external/abseil-cpp/absl/synchronization/
Dmutex.cc126 bool locking, bool trylock,
442 const bool trylock = (flags & SYNCH_F_TRY) != 0; in PostSynchEvent() local
444 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1762 bool locking, bool trylock, in EvalConditionAnnotated() argument
1771 const int tryflags = flags | (trylock ? __tsan_mutex_try_lock : 0); in EvalConditionAnnotated()
1798 static_cast<void>(trylock); in EvalConditionAnnotated()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex.cc107 bool locking, bool trylock,
444 const bool trylock = (flags & SYNCH_F_TRY) != 0; in PostSynchEvent() local
446 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1764 bool locking, bool trylock, in EvalConditionAnnotated() argument
1773 const int tryflags = flags | (trylock ? __tsan_mutex_try_lock : 0); in EvalConditionAnnotated()
1800 static_cast<void>(trylock); in EvalConditionAnnotated()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc126 bool locking, bool trylock,
442 const bool trylock = (flags & SYNCH_F_TRY) != 0; in PostSynchEvent() local
444 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1762 bool locking, bool trylock, in EvalConditionAnnotated() argument
1771 const int tryflags = flags | (trylock ? __tsan_mutex_try_lock : 0); in EvalConditionAnnotated()
1798 static_cast<void>(trylock); in EvalConditionAnnotated()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc107 bool locking, bool trylock,
444 const bool trylock = (flags & SYNCH_F_TRY) != 0; in PostSynchEvent() local
446 EvalConditionAnnotated(&cond, mu, locking, trylock, read_lock); in PostSynchEvent()
1764 bool locking, bool trylock, in EvalConditionAnnotated() argument
1773 const int tryflags = flags | (trylock ? __tsan_mutex_try_lock : 0); in EvalConditionAnnotated()
1800 static_cast<void>(trylock); in EvalConditionAnnotated()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp3672 bool trylock() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_)
3700 bool Foo::trylock() { return true; } in trylock() function in MultipleAttributeTest::Foo
3730 if (trylock()) { in test()
/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp4041 bool trylock() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_)
4074 bool Foo::trylock() { return true; } in trylock() function in MultipleAttributeTest::Foo
4104 if (trylock()) { in test()
/external/libevent/
DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi30456 …<var-decl name="trylock" type-id="18277869" visibility="default" filepath="drivers/hwspinlock/hwsp…
44141 …<var-decl name="trylock" type-id="18277869" visibility="default" filepath="drivers/hwspinlock/hwsp…
Dtest-PR27569-v1.abi30484 …<var-decl name="trylock" type-id="18277869" visibility="default" filepath="drivers/hwspinlock/hwsp…
44170 …<var-decl name="trylock" type-id="18277869" visibility="default" filepath="drivers/hwspinlock/hwsp…