Home
last modified time | relevance | path

Searched refs:pthread_mutex_trylock (Results 1 – 25 of 102) sorted by relevance

12345

/external/clang/test/Analysis/
Dpthreadlock.c47 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/
D1-1.c47 rc = pthread_mutex_trylock(&mutex); in main()
59 rc = pthread_mutex_trylock(&mutex); in main()
D1-2.c134 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()
D2-1.c111 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()
D4-1.c35 rc = pthread_mutex_trylock(&mutex); in main()
D3-1.c30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
/external/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h271 …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/
Dpthreadlock.c48 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()
Dblock-in-critical-section.cpp32 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/
Dsync_posix.cc84 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/
D17-1-buildonly.c20 pthread_mutex_trylock(&a); in dummy_func()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc44 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/
Dsanitizer_stoptheworld_test.cpp43 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/
Dmutex_posix.cpp22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
Dmutex_posix.cpp22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/
D1-1.c44 if ((rc = pthread_mutex_trylock(&mutex)) != 0) { in main()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-for-pthread-lock.h22 extern int pthread_mutex_trylock(pthread_mutex_t *);
/external/compiler-rt/test/tsan/Linux/
Dmutex_robust2.cc25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
/external/llvm-project/compiler-rt/test/tsan/Linux/
Dmutex_robust2.cpp25 if (pthread_mutex_trylock(&m) != EOWNERDEAD) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c166 ret = pthread_mutex_trylock(td->mtx); in threaded()
351 ret = pthread_mutex_trylock(td.mtx); in main()
/external/sfntly/cpp/src/sfntly/port/
Dlock.cc59 return (pthread_mutex_trylock(&os_lock_) == 0);
/external/llvm-project/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cpp56 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/
Ddd_interceptors.cc57 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/
Dmutex_pthread.h43 return pthread_mutex_trylock(&mutex_) == 0; in TryLock()
/external/llvm-project/clang/test/Analysis/Inputs/
Dsystem-header-simulator-for-pthread-lock.h29 extern int pthread_mutex_trylock(pthread_mutex_t *);

12345