/device/google/contexthub/firmware/src/ |
trylock.c | 17 #include <trylock.h> 21 void trylockInit(struct TryLock *lock) 26 void trylockRelease(struct TryLock *lock) 31 bool trylockTryTake(struct TryLock *lock)
|
heap.c | 17 #include <trylock.h>
|
/bionic/libc/bionic/ |
pthread_spinlock.cpp | 58 return lock->lock.trylock() ? 0 : EBUSY; 63 return lock->lock.trylock() ? 0 : EBUSY; 69 if (lock->lock.trylock()) {
|
/device/google/contexthub/firmware/inc/ |
trylock.h | 24 #include <plat/inc/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
|
/external/fio/ |
filelock.c | 52 static struct fio_filelock *get_filelock(int trylock, int *retry) 58 if (ff || trylock) 133 static struct fio_filelock *fio_hash_get(uint32_t hash, int trylock) 141 ff = get_filelock(trylock, &retry); 168 static int __fio_lock_file(const char *fname, int trylock) 176 ff = fio_hash_get(hash, trylock); 182 assert(!trylock); 186 if (!trylock) {
|
iolog.c | 957 static int finish_log(struct thread_data *td, struct io_log *log, int trylock) 962 if (trylock) {
|
/external/valgrind/drd/tests/ |
trylock.stderr.exp | 11 by 0x........: main (trylock.c:?) 14 by 0x........: main (trylock.c:?)
|
/bionic/libc/private/ |
bionic_lock.h | 53 bool trylock() { function in class:Lock
|
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.h | 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
|
dd_rtl.cc | 125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { 133 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock);
|
dd_interceptors.cc | 251 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { 254 MutexAfterLock(thr, m, writelock, trylock);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_deadlock_detector_interface.h | 84 bool trylock) {}
|
sanitizer_deadlock_detector1.cc | 52 bool trylock) override; 148 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { 163 if (!trylock)
|
sanitizer_deadlock_detector2.cc | 96 bool trylock); 274 bool trylock) { 276 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); 294 if (!trylock)
|
/external/valgrind/drd/ |
drd_mutex.h | 45 const Bool trylock);
|
drd_mutex.c | 252 const Bool trylock) 263 trylock ? "pre_mutex_lock " : "mutex_trylock ", 282 if (! trylock
|
/device/google/contexthub/firmware/ |
Makefile | 70 SRCS_os += src/printf.c src/timer.c src/seos.c src/heap.c src/slab.c src/spi.c src/trylock.c
|
/external/opencv3/modules/core/src/ |
system.cpp | 858 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } function in struct:cv::Mutex::Impl 882 bool trylock() { return pthread_mutex_trylock(&mt) == 0; } 920 bool Mutex::trylock() { return impl->trylock(); } function in class:cv::Mutex [all...] |
alloc.cpp | 114 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } 139 bool trylock() { return pthread_mutex_trylock(&mutex) == 0; }
|
/external/opencv3/modules/videoio/src/ |
cap_ffmpeg_impl.hpp | 384 bool trylock(); 412 bool trylock() { return TryEnterCriticalSection(&cs) != 0; } function in struct:ImplMutex::Impl 440 bool trylock() { return OSSpinLockTry(&sl); } function in struct:ImplMutex::Impl 455 bool trylock() { return pthread_spin_trylock(&sl) == 0; } function in struct:ImplMutex::Impl 470 bool trylock() { return pthread_mutex_trylock(&sl) == 0; } function in struct:ImplMutex::Impl 492 bool ImplMutex::trylock() { return impl->trylock(); } function in class:ImplMutex [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_mutex.cc | 231 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { 251 if (!trylock) 253 ctx->dd->MutexAfterLock(&cb, &s->dd, false, trylock);
|
/external/opencv3/modules/core/include/opencv2/core/ |
utility.hpp | 496 bool trylock();
|
/external/clang/test/SemaCXX/ |
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...] |