Home
last modified time | relevance | path

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

1234

/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()
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()
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()
D4-1.c35 rc = pthread_mutex_trylock(&mutex); in main()
D3-1.c30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
D4-3.c248 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
256 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
Dcoverage.txt1 This document defines the coverage for the pthread_mutex_trylock function:
/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/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
D17-1-buildonly.c20 pthread_mutex_trylock(&a); in dummy_func()
/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/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/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/sfntly/cpp/src/sfntly/port/
Dlock.cc59 return (pthread_mutex_trylock(&os_lock_) == 0);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c97 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()
403 ret = pthread_mutex_trylock(&(data.mtx)); in main()
/external/swiftshader/third_party/LLVM/test/Linker/
D2011-08-22-ResolveAlias.ll21 …_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock
59 declare extern_weak i32 @pthread_mutex_trylock(%union.pthread_mutex_t*)
D2011-08-22-ResolveAlias2.ll24 …_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock
64 declare extern_weak i32 @pthread_mutex_trylock(%union.pthread_mutex_t*)
/external/libusb/libusb/os/
Dthreads_posix.h38 #define usbi_mutex_trylock pthread_mutex_trylock
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D2-5.c108 ret = pthread_mutex_trylock(&(data.mtx1)); in threaded()
146 ret = pthread_mutex_trylock(&(data.mtx2)); in threaded()
D2-6.c71 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()
402 ret = pthread_mutex_trylock(&(data.mtx)); in main()
/external/swiftshader/src/Reactor/
DMutexLock.hpp42 return pthread_mutex_trylock(&mutex) == 0; in attemptLock()
/external/deqp/framework/delibs/dethread/unix/
DdeMutexUnix.c112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()
/external/swiftshader/src/Common/
DMutexLock.hpp42 return pthread_mutex_trylock(&mutex) == 0; in attemptLock()

1234