/external/clang/test/Analysis/ |
D | pthreadlock.c | 11 extern int pthread_mutex_lock(pthread_mutex_t *); 24 pthread_mutex_lock(&mtx1); // no-warning in ok1() 36 pthread_mutex_lock(&mtx1); // no-warning in ok3() 38 pthread_mutex_lock(&mtx1); // no-warning in ok3() 45 pthread_mutex_lock(&mtx1); // no-warning in ok4() 47 pthread_mutex_lock(&mtx2); // no-warning in ok4() 74 pthread_mutex_lock(&mtx1); // no-warning in bad1() 75 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been acquired}} in bad1() 81 pthread_mutex_lock(&mtx1); // no-warning in bad2() 83 pthread_mutex_lock(&mtx1); // no-warning in bad2() [all …]
|
/external/webkit/Tools/DumpRenderTree/pthreads/ |
D | JavaScriptThreadingPthreads.cpp | 66 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 70 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 75 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 81 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 94 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 105 pthread_mutex_lock(&javaScriptThreadsMutex); in runJavaScriptThread() 118 pthread_mutex_lock(&javaScriptThreadsMutex); in startJavaScriptThreads() 132 pthread_mutex_lock(&javaScriptThreadsMutex); in stopJavaScriptThreads() 139 pthread_mutex_lock(&javaScriptThreadsMutex); in stopJavaScriptThreads()
|
/external/valgrind/main/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 | 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 | 11 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 15 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 19 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 23 at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
D | tc15_laog_lockdel.stderr.exp | 13 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 17 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 21 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 25 at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
|
D | hg02_deadlock.stderr.exp | 15 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 21 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 27 at 0x........: pthread_mutex_lock (hg_intercepts.c:...) 33 at 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/stressapptest/src/ |
D | disk_blocks.cc | 38 pthread_mutex_lock(&data_mutex_); in CleanTable() 63 pthread_mutex_lock(&data_mutex_); in NumElems() 75 pthread_mutex_lock(&data_mutex_); in InsertOnStructure() 101 pthread_mutex_lock(&data_mutex_); in RemoveBlock() 121 pthread_mutex_lock(&data_mutex_); in ReleaseBlock() 143 pthread_mutex_lock(&data_mutex_); in GetRandomBlock() 171 pthread_mutex_lock(¶meter_mutex_); in SetParameters() 194 pthread_mutex_lock(¶meter_mutex_); in GetUnusedBlock() 233 pthread_mutex_lock(&data_mutex_); in GetUnusedBlock() 287 pthread_mutex_lock(&data_mutex_); in SetBlockAsInitialized() [all …]
|
D | logger.cc | 57 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in StopThread() 81 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in QueueLogLine() 121 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in ThreadMain() 150 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in ThreadMain()
|
/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/compiler-rt/lib/tsan/rtl_tests/ |
D | tsan_posix.cc | 33 EXPECT_EQ(pthread_mutex_lock(k->mtx), 0); in thread_secific_dtor() 104 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 110 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 115 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 131 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST() 138 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST()
|
/external/valgrind/unittest/ |
D | libstdc++_tests.cc | 67 pthread_mutex_lock(&mu); in Thread() 95 pthread_mutex_lock(&mu); in TEST() 131 pthread_mutex_lock(&mu); in Thread() 158 pthread_mutex_lock(&mu); in TEST()
|
/external/valgrind/main/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_broadcast.c | 41 pthread_mutex_lock(&p->m_mutex); in csema_p() 51 pthread_mutex_lock(&p->m_mutex); in csema_v() 90 pthread_mutex_lock(&s_mutex); in thread_func() 164 pthread_mutex_lock(&s_mutex); in main()
|
/external/srec/audio/AudioIn/UNIX/src/ |
D | audioin.c | 206 pthread_mutex_lock(&gAudioMutex); in Initialize() 258 pthread_mutex_lock ( &gAudioMutex ); 361 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 464 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 538 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 568 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 666 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 782 pthread_mutex_lock ( &gAudioMutex ); in AcquisitionThread() 994 pthread_mutex_lock ( &gAudioMutex ); in lhs_audioinOpenEx() 1130 pthread_mutex_lock ( &gAudioMutex ); in lhs_audioinClose() [all …]
|
/external/valgrind/main/none/tests/x86/ |
D | yield.c | 21 pthread_mutex_lock(&m_go); in spinner() 36 pthread_mutex_lock(&m_go); in rep_nopper() 61 pthread_mutex_lock(&m_go); in main()
|
/external/bluetooth/bluedroid/hci/src/ |
D | utils.c | 100 pthread_mutex_lock(&utils_mutex); in utils_enqueue() 130 pthread_mutex_lock(&utils_mutex); in utils_dequeue() 205 pthread_mutex_lock(&utils_mutex); in utils_remove_from_queue() 291 pthread_mutex_lock(&utils_mutex); in utils_lock()
|
/external/webp/src/utils/ |
D | thread.c | 64 static int pthread_mutex_lock(pthread_mutex_t* const mutex) { in pthread_mutex_lock() function 127 pthread_mutex_lock(mutex); in pthread_cond_wait() 142 pthread_mutex_lock(&worker->mutex_); in WebPWorkerThreadLoop() 167 pthread_mutex_lock(&worker->mutex_); in WebPWorkerChangeState() 206 pthread_mutex_lock(&worker->mutex_); in WebPWorkerReset()
|