/external/clang/test/Analysis/ |
D | pthreadlock.c | 23 pthread_mutex_unlock(&mtx1); // no-warning in ok2() 30 pthread_mutex_unlock(&mtx1); // no-warning in ok3() 32 pthread_mutex_unlock(&mtx1); // no-warning in ok3() 39 pthread_mutex_unlock(&mtx1); // no-warning in ok4() 41 pthread_mutex_unlock(&mtx2); // no-warning in ok4() 48 pthread_mutex_unlock(&mtx1); // no-warning in ok5() 69 pthread_mutex_unlock(&mtx2); // no-warning in ok8() 70 pthread_mutex_unlock(&mtx1); // no-warning in ok8() 76 pthread_mutex_unlock(&mtx1); // no-warning in ok9() 78 pthread_mutex_unlock(&mtx1); // no-warning in ok9() [all …]
|
/external/valgrind/drd/tests/ |
D | thread_name.stderr.exp | 7 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 16 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 25 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 34 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 43 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 52 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 61 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 70 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 79 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 88 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
|
D | tc09_bad_unlock.stderr.exp-s390 | 3 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 13 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 23 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 37 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) 46 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
|
D | pth_cond_race.c | 49 pthread_mutex_unlock(&s_mutex); in main() 63 pthread_mutex_unlock(&s_mutex); in thread_func() 68 if (s_use_mutex) pthread_mutex_unlock(&s_mutex); in thread_func()
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 68 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_put() 85 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_get() 104 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_empty() 117 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_flush() 128 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in dump_queue() 171 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_put() 197 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_get() 237 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_flush() 253 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in dump_seq_queue() 338 pthread_cleanup_push((void *) pthread_mutex_unlock, &cache->mutex); in cache_lookup() [all …]
|
D | process_fragments.c | 127 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in get_fragment() 133 pthread_mutex_unlock(&dup_mutex); in get_fragment() 143 pthread_mutex_unlock(&dup_mutex); in get_fragment() 166 pthread_mutex_unlock(&dup_mutex); in get_fragment() 170 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment() 228 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in get_fragment_cksum() 242 pthread_mutex_unlock(&dup_mutex); in get_fragment_cksum() 271 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in frag_thrd() 313 pthread_mutex_unlock(&dup_mutex); in frag_thrd() 326 pthread_mutex_unlock(&dup_mutex); in frag_thrd()
|
D | progressbar.c | 143 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in enable_progress_bar() 154 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in disable_progress_bar() 165 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in set_progressbar_state() 214 pthread_mutex_unlock(&progress_mutex); in progress_thrd() 229 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in progressbar_error() 247 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in progressbar_info()
|
/external/valgrind/helgrind/tests/ |
D | hg02_deadlock.c | 11 pthread_mutex_unlock(&m1); in t1() 12 pthread_mutex_unlock(&m2); in t1() 21 pthread_mutex_unlock(&m1); in t2() 22 pthread_mutex_unlock(&m2); in t2() 33 pthread_mutex_unlock(&m1); in main()
|
D | tc15_laog_lockdel.c | 30 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main() 31 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main() 38 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main() 39 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main() 55 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main() 56 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main()
|
D | tc09_bad_unlock.stderr.exp | 9 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 31 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 46 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 54 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 62 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 102 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 117 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) 125 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
|
D | tc09_bad_unlock.c | 11 pthread_mutex_unlock( (pthread_mutex_t*)arg ); /* ERROR */ in child_fn() 25 pthread_mutex_unlock( &mx1 ); in nearly_main() 27 pthread_mutex_unlock( &mx1 ); /* ERROR */ in nearly_main() 41 pthread_mutex_unlock( (pthread_mutex_t*) &bogus[50] ); /* ERROR */ in nearly_main()
|
D | tc13_laog1.c | 20 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main() 21 r = pthread_mutex_unlock( &mx2 ); assert(r==0); in main() 26 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main() 27 r = pthread_mutex_unlock( &mx2 ); assert(r==0); in main()
|
D | tc10_rec_lock.c | 35 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main() 37 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main() 39 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main() 42 r = pthread_mutex_unlock( &mx1 ); /* FAILS: assert(r == 0); */ in nearly_main()
|
D | locked_vs_unlocked2.c | 30 r= pthread_mutex_unlock(&mx1b); assert(!r); in child_fn1() 31 r= pthread_mutex_unlock(&mx1a); assert(!r); in child_fn1() 46 r= pthread_mutex_unlock(&mx2b); assert(!r); in child_fn2() 47 r= pthread_mutex_unlock(&mx2a); assert(!r); in child_fn2()
|
D | tc17_sembar.c | 61 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_destroy() 75 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_reinit() 106 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_wait() 117 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_wait() 124 pthread_mutex_unlock (&bar->mutex2); in gomp_barrier_wait()
|
/external/lldb/test/functionalities/thread/ |
D | main.c | 10 pthread_mutex_unlock(&mutex2); // Set break point at this line. in thread3() 11 pthread_mutex_unlock(&mutex1); in thread3() 18 pthread_mutex_unlock(&mutex3); in thread2() 20 pthread_mutex_unlock(&mutex2); in thread2() 32 pthread_mutex_unlock(&mutex1); in thread1()
|
/external/libusb/libusb/ |
D | core.c | 520 pthread_mutex_unlock(&ctx->usb_devs_lock); in usbi_alloc_device() 566 pthread_mutex_unlock(&ctx->usb_devs_lock); in usbi_get_device_by_session_id() 804 pthread_mutex_unlock(&dev->lock); in libusb_ref_device() 822 pthread_mutex_unlock(&dev->lock); in libusb_unref_device() 832 pthread_mutex_unlock(&dev->ctx->usb_devs_lock); in libusb_unref_device() 887 pthread_mutex_unlock(&ctx->open_devs_lock); in libusb_open() 901 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open() 909 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open() 924 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open() 988 pthread_mutex_unlock(&ctx->open_devs_lock); in do_close() [all …]
|
D | io.c | 1132 pthread_mutex_unlock(&ctx->flying_transfers_lock); in add_to_flying_list() 1240 pthread_mutex_unlock(&ctx->flying_transfers_lock); in libusb_submit_transfer() 1256 pthread_mutex_unlock(&itransfer->lock); in libusb_submit_transfer() 1286 pthread_mutex_unlock(&itransfer->lock); in libusb_cancel_transfer() 1373 pthread_mutex_unlock(&ctx->flying_transfers_lock); in usbi_handle_transfer_completion() 1405 pthread_mutex_unlock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion() 1455 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_try_lock_events() 1506 pthread_mutex_unlock(&ctx->events_lock); in libusb_unlock_events() 1513 pthread_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_events() 1546 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_event_handling_ok() [all …]
|
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 20 pthread_mutex_unlock(&mu2); in main() 21 pthread_mutex_unlock(&mu1); in main() 29 pthread_mutex_unlock(&mu1); in main() 30 pthread_mutex_unlock(&mu2); in main()
|
D | must_deadlock.cc | 21 pthread_mutex_unlock(&mu1); in Thread() 22 pthread_mutex_unlock(&mu2); in Thread() 41 pthread_mutex_unlock(&mu2); in main() 42 pthread_mutex_unlock(&mu1); in main()
|
/external/bison/lib/glthread/ |
D | lock.c | 64 pthread_mutex_unlock (&lock->guard); in glthread_rwlock_rdlock_multithreaded() 68 err = pthread_mutex_unlock (&lock->guard); in glthread_rwlock_rdlock_multithreaded() 90 pthread_mutex_unlock (&lock->guard); in glthread_rwlock_wrlock_multithreaded() 94 err = pthread_mutex_unlock (&lock->guard); in glthread_rwlock_wrlock_multithreaded() 167 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_rdlock_multithreaded() 172 return pthread_mutex_unlock (&lock->lock); in glthread_rwlock_rdlock_multithreaded() 193 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_wrlock_multithreaded() 199 return pthread_mutex_unlock (&lock->lock); in glthread_rwlock_wrlock_multithreaded() 215 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_unlock_multithreaded() 225 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_unlock_multithreaded() [all …]
|
/external/fio/ |
D | idletime.c | 87 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn() 94 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn() 110 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn() 118 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn() 125 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn() 131 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn() 154 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn() 273 pthread_mutex_unlock(&ipt->init_lock); in fio_idle_prof_init() 290 pthread_mutex_unlock(&ipt->init_lock); in fio_idle_prof_init() 320 pthread_mutex_unlock(&ipt->start_lock); in fio_idle_prof_start() [all …]
|
/external/libcxx/src/ |
D | mutex.cpp | 45 int ec = pthread_mutex_unlock(&__m_); in unlock() 99 int e = pthread_mutex_unlock(&__m_); in unlock() 256 pthread_mutex_unlock(&mut); in __call_once() 260 pthread_mutex_unlock(&mut); in __call_once() 268 pthread_mutex_unlock(&mut); in __call_once() 275 pthread_mutex_unlock(&mut); in __call_once()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix.cc | 36 EXPECT_EQ(pthread_mutex_unlock(k->mtx), 0); in thread_secific_dtor() 108 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread() 113 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread() 118 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread() 135 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in TEST() 141 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in TEST()
|
/external/lldb/test/functionalities/expr-doesnt-deadlock/ |
D | locking.c | 30 pthread_mutex_unlock(&thread_started_mutex); in lock_acquirer_1() 42 pthread_mutex_unlock (&contended_mutex); in lock_acquirer_1() 68 pthread_mutex_unlock (&control_mutex); in main()
|