Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 10 of 10) 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/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/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/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/libevent/
DChangeLog-2.0873 o Revise the locking API: deprecate the old locking callbacks and add trylock. (347952f)