/external/clang/test/Analysis/ |
D | pthreadlock.c | 17 pthread_mutex_lock(&mtx1); // no-warning in ok1() 29 pthread_mutex_lock(&mtx1); // no-warning in ok3() 31 pthread_mutex_lock(&mtx1); // no-warning in ok3() 38 pthread_mutex_lock(&mtx1); // no-warning in ok4() 40 pthread_mutex_lock(&mtx2); // no-warning in ok4() 67 pthread_mutex_lock(&mtx1); // no-warning in ok8() 68 pthread_mutex_lock(&mtx2); // no-warning in ok8() 85 pthread_mutex_lock(&mtx1); // no-warning in ok10() 121 pthread_mutex_lock(&mtx1); // no-warning in ok15() 167 pthread_mutex_lock(pmtx); // no-warning in ok21() [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 69 pthread_mutex_lock(&queue->mutex); in queue_put() 86 pthread_mutex_lock(&queue->mutex); in queue_get() 105 pthread_mutex_lock(&queue->mutex); in queue_empty() 118 pthread_mutex_lock(&queue->mutex); in queue_flush() 129 pthread_mutex_lock(&queue->mutex); in dump_queue() 172 pthread_mutex_lock(&queue->mutex); in seq_queue_put() 198 pthread_mutex_lock(&queue->mutex); in seq_queue_get() 238 pthread_mutex_lock(&queue->mutex); in seq_queue_flush() 254 pthread_mutex_lock(&queue->mutex); in dump_seq_queue() 339 pthread_mutex_lock(&cache->mutex); in cache_lookup() [all …]
|
D | progressbar.c | 144 pthread_mutex_lock(&progress_mutex); in enable_progress_bar() 155 pthread_mutex_lock(&progress_mutex); in disable_progress_bar() 166 pthread_mutex_lock(&progress_mutex); in set_progressbar_state() 210 pthread_mutex_lock(&progress_mutex); in progress_thrd() 230 pthread_mutex_lock(&progress_mutex); in progressbar_error() 248 pthread_mutex_lock(&progress_mutex); in progressbar_info()
|
/external/valgrind/helgrind/tests/ |
D | hg02_deadlock.c | 9 pthread_mutex_lock(&m1); in t1() 10 pthread_mutex_lock(&m2); in t1() 19 pthread_mutex_lock(&m2); in t2() 20 pthread_mutex_lock(&m1); in t2() 32 pthread_mutex_lock(&m1); in main()
|
D | tc15_laog_lockdel.c | 27 r = pthread_mutex_lock( mx1 ); assert(r==0); in main() 28 r = pthread_mutex_lock( mx2 ); assert(r==0); in main() 35 r = pthread_mutex_lock( mx2 ); assert(r==0); /* error */ in main() 36 r = pthread_mutex_lock( mx1 ); assert(r==0); in main() 52 r = pthread_mutex_lock( mx2 ); assert(r==0); in main() 53 r = pthread_mutex_lock( mx1 ); assert(r==0); /* no error */ in main()
|
D | hg02_deadlock.stderr.exp | 15 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 22 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 29 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 36 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 43 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 49 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
D | tc13_laog1.c | 17 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main() 18 r = pthread_mutex_lock( &mx2 ); assert(r==0); in main() 23 r = pthread_mutex_lock( &mx2 ); assert(r==0); /* error */ in main() 24 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main()
|
D | tc22_exit_w_lock.c | 18 int r= pthread_mutex_lock( &mxC1 ); assert(!r); in child_fn1() 26 r= pthread_mutex_lock( &mxC2 ); assert(!r); in child_fn2() 27 r= pthread_mutex_lock( &mxC2b ); assert(!r); in child_fn2() 46 r= pthread_mutex_lock( &mxP ); in main()
|
D | tc13_laog1.stderr.exp | 12 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 17 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 22 by 0x........: pthread_mutex_lock (hg_intercepts.c:...) 27 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
D | tc04_free_lock.c | 22 pthread_mutex_lock( &xx->lock ); in main() 38 pthread_mutex_lock( &mx ); in bar() 47 pthread_mutex_lock( &mx ); in foo()
|
D | locked_vs_unlocked2.c | 27 r= pthread_mutex_lock(&mx1a); assert(!r); in child_fn1() 28 r= pthread_mutex_lock(&mx1b); assert(!r); in child_fn1() 43 r= pthread_mutex_lock(&mx2a); assert(!r); in child_fn2() 44 r= pthread_mutex_lock(&mx2b); assert(!r); in child_fn2()
|
D | tc10_rec_lock.c | 28 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main() 30 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main() 32 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main()
|
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 18 pthread_mutex_lock(&mu1); in main() 19 pthread_mutex_lock(&mu2); in main() 24 pthread_mutex_lock(&mu2); in main() 25 pthread_mutex_lock(&mu1); in main()
|
D | must_deadlock.cc | 17 pthread_mutex_lock(&mu2); in Thread() 19 pthread_mutex_lock(&mu1); in Thread() 38 pthread_mutex_lock(&mu1); in main() 40 pthread_mutex_lock(&mu2); in main()
|
D | mutexset6.cc | 11 pthread_mutex_lock(&mtx1); in Thread1() 18 pthread_mutex_lock(&mtx1); in Thread2() 20 pthread_mutex_lock(&mtx2); in Thread2()
|
/external/libusb/libusb/ |
D | core.c | 518 pthread_mutex_lock(&ctx->usb_devs_lock); in usbi_alloc_device() 560 pthread_mutex_lock(&ctx->usb_devs_lock); in usbi_get_device_by_session_id() 802 pthread_mutex_lock(&dev->lock); in libusb_ref_device() 820 pthread_mutex_lock(&dev->lock); in libusb_unref_device() 830 pthread_mutex_lock(&dev->ctx->usb_devs_lock); in libusb_unref_device() 885 pthread_mutex_lock(&ctx->open_devs_lock); in libusb_open() 899 pthread_mutex_lock(&ctx->pollfd_modify_lock); in libusb_open() 907 pthread_mutex_lock(&ctx->pollfd_modify_lock); in libusb_open() 922 pthread_mutex_lock(&ctx->pollfd_modify_lock); in libusb_open() 986 pthread_mutex_lock(&ctx->open_devs_lock); in do_close() [all …]
|
D | io.c | 1098 pthread_mutex_lock(&ctx->flying_transfers_lock); in add_to_flying_list() 1226 pthread_mutex_lock(&itransfer->lock); in libusb_submit_transfer() 1238 pthread_mutex_lock(&ctx->flying_transfers_lock); in libusb_submit_transfer() 1281 pthread_mutex_lock(&itransfer->lock); in libusb_cancel_transfer() 1370 pthread_mutex_lock(&ctx->flying_transfers_lock); in usbi_handle_transfer_completion() 1403 pthread_mutex_lock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion() 1453 pthread_mutex_lock(&ctx->pollfd_modify_lock); in libusb_try_lock_events() 1490 pthread_mutex_lock(&ctx->events_lock); in libusb_lock_events() 1511 pthread_mutex_lock(&ctx->event_waiters_lock); in libusb_unlock_events() 1544 pthread_mutex_lock(&ctx->pollfd_modify_lock); in libusb_event_handling_ok() [all …]
|
/external/skia/platform_tools/android/third_party/native_app_glue/ |
D | android_native_app_glue.c | 39 pthread_mutex_lock(&android_app->mutex); in free_saved_state() 92 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 109 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 125 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 149 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd() 157 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd() 176 pthread_mutex_lock(&android_app->mutex); in android_app_destroy() 227 pthread_mutex_lock(&android_app->mutex); in android_app_entry() 271 pthread_mutex_lock(&android_app->mutex); in android_app_create() 287 pthread_mutex_lock(&android_app->mutex); in android_app_set_input() [all …]
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix.cc | 33 EXPECT_EQ(pthread_mutex_lock(k->mtx), 0); in thread_secific_dtor() 109 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 115 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 120 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 136 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST() 143 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | event_timer_posix.cc | 63 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Set() 72 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait() 120 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait() 138 pthread_mutex_lock(&mutex_); in StartTimer() 172 pthread_mutex_lock(&mutex_); in Process() 205 pthread_mutex_lock(&mutex_); in Process()
|
/external/opencv3/3rdparty/openexr/IlmThread/ |
D | IlmThreadSemaphorePosixCompat.cpp | 80 ::pthread_mutex_lock (&_semaphore.mutex); in wait() 106 ::pthread_mutex_lock (&_semaphore.mutex); in tryWait() 125 ::pthread_mutex_lock (&_semaphore.mutex); in post() 146 ::pthread_mutex_lock (&_semaphore.mutex); in value()
|
/external/valgrind/drd/tests/ |
D | pth_cancel_locked.c | 17 pthread_mutex_lock(&s_mutex2); in thread() 19 pthread_mutex_lock(&s_mutex1); in thread() 35 pthread_mutex_lock(&s_mutex1); in main()
|
D | pth_cond_race.c | 44 pthread_mutex_lock(&s_mutex); in main() 62 pthread_mutex_lock(&s_mutex); in thread_func() 66 if (s_use_mutex) pthread_mutex_lock(&s_mutex); in thread_func()
|
D | pth_cond_destroy_busy.c | 27 pthread_mutex_lock(&s_mutex); in thread_func() 47 pthread_mutex_lock(&s_mutex); in main() 56 pthread_mutex_lock(&s_mutex); in main()
|
/external/libcxx/src/ |
D | mutex.cpp | 32 int ec = pthread_mutex_lock(&__m_); in lock() 92 int ec = pthread_mutex_lock(&__m_); in lock() 250 pthread_mutex_lock(&mut); in __call_once() 262 pthread_mutex_lock(&mut); in __call_once() 270 pthread_mutex_lock(&mut); in __call_once()
|