/external/clang/test/Analysis/ |
D | pthreadlock.c | 47 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok5() 77 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok9() 84 if (pthread_mutex_trylock(&mtx1) != 0) // no-warning in ok10() 208 if (pthread_mutex_trylock(&mtx1)) // no-warning in bad4()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
D | 1-1.c | 47 rc = pthread_mutex_trylock(&mutex); in main() 59 rc = pthread_mutex_trylock(&mutex); in main()
|
D | 1-2.c | 134 td->status = pthread_mutex_trylock(&(td->mtx)); in tf() 329 ret = pthread_mutex_trylock(&(td->mtx)); in main() 333 ret = pthread_mutex_trylock(&(td->mtx)); in main()
|
D | 2-1.c | 111 td->status = pthread_mutex_trylock(&(td->mtx)); in tf() 294 ret = pthread_mutex_trylock(&(td->mtx)); in main() 298 ret = pthread_mutex_trylock(&(td->mtx)); in main()
|
D | 4-1.c | 35 rc = pthread_mutex_trylock(&mutex); in main()
|
D | 3-1.c | 30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_process_lock.h | 271 …KASSERT(pthread_mutex_trylock(&SCTP_BASE_INFO(wq_addr_mtx)) == EBUSY, ("%s: wq_addr_mtx not locked… 297 (!(pthread_mutex_trylock(&SCTP_BASE_INFO(ipi_ep_mtx)))) 387 KASSERT(pthread_mutex_trylock(&(_inp)->inp_mtx) == EBUSY, ("%s: inp_mtx not locked", __func__)) 389 KASSERT(pthread_mutex_trylock(&(_inp)->inp_mtx) == EBUSY, ("%s: inp_mtx not locked", __func__)) 479 KASSERT(pthread_mutex_trylock(&(_tcb)->tcb_mtx) == EBUSY, ("%s: tcb_mtx not locked", __func__)) 480 #define SCTP_TCB_TRYLOCK(_tcb) (!(pthread_mutex_trylock(&(_tcb)->tcb_mtx))) 509 …KASSERT(pthread_mutex_trylock(SOCKBUF_MTX(_so_buf)) == EBUSY, ("%s: socket buffer not locked", __f…
|
/external/llvm-project/clang/test/Analysis/ |
D | pthreadlock.c | 48 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok5() 78 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok9() 85 if (pthread_mutex_trylock(&mtx1) != 0) // no-warning in ok10() 273 if (pthread_mutex_trylock(&mtx1)) // no-warning in bad4()
|
D | block-in-critical-section.cpp | 32 void pthread_mutex_trylock() {} in pthread_mutex_trylock() function 60 pthread_mutex_trylock(); in testBlockInCriticalSectionWithPthreadMutex()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/ |
D | sync_posix.cc | 84 err = pthread_mutex_trylock(&mu->mutex); in gpr_mu_trylock() 86 err = pthread_mutex_trylock(mu); in gpr_mu_trylock()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
D | 17-1-buildonly.c | 20 pthread_mutex_trylock(&a); in dummy_func()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stoptheworld_test.cc | 44 if (pthread_mutex_trylock(&incrementer_thread_exit_mutex) == 0) { in IncrementerThread() 133 if (pthread_mutex_trylock(&advanced_incrementer_thread_exit_mutex) == 0) { in AdvancedIncrementerThread()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stoptheworld_test.cpp | 43 if (pthread_mutex_trylock(&incrementer_thread_exit_mutex) == 0) { in IncrementerThread() 132 if (pthread_mutex_trylock(&advanced_incrementer_thread_exit_mutex) == 0) { in AdvancedIncrementerThread()
|
/external/gwp_asan/gwp_asan/platform_specific/ |
D | mutex_posix.cpp | 22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
D | mutex_posix.cpp | 22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/ |
D | 1-1.c | 44 if ((rc = pthread_mutex_trylock(&mutex)) != 0) { in main()
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-pthread-lock.h | 22 extern int pthread_mutex_trylock(pthread_mutex_t *);
|
/external/compiler-rt/test/tsan/Linux/ |
D | mutex_robust2.cc | 25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
|
/external/llvm-project/compiler-rt/test/tsan/Linux/ |
D | mutex_robust2.cpp | 25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/ |
D | stress.c | 166 ret = pthread_mutex_trylock(td->mtx); in threaded() 351 ret = pthread_mutex_trylock(td.mtx); in main()
|
/external/sfntly/cpp/src/sfntly/port/ |
D | lock.cc | 59 return (pthread_mutex_trylock(&os_lock_) == 0);
|
/external/llvm-project/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cpp | 56 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument 58 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR() 296 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() argument 59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR() 298 INTERCEPT_FUNCTION(pthread_mutex_trylock); in InitializeInterceptors()
|
/external/webrtc/rtc_base/synchronization/ |
D | mutex_pthread.h | 43 return pthread_mutex_trylock(&mutex_) == 0; in TryLock()
|
/external/llvm-project/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-pthread-lock.h | 29 extern int pthread_mutex_trylock(pthread_mutex_t *);
|