Home
last modified time | relevance | path

Searched refs:pthread_mutex_lock (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/external/clang/test/Analysis/
Dpthreadlock.c17 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/
Dcaches-queues-lists.c69 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 …]
Dprogressbar.c144 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/
Dhg02_deadlock.c9 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()
Dtc15_laog_lockdel.c27 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()
Dhg02_deadlock.stderr.exp15 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:...)
Dtc13_laog1.c17 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()
Dtc22_exit_w_lock.c18 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()
Dtc13_laog1.stderr.exp12 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:...)
Dtc04_free_lock.c22 pthread_mutex_lock( &xx->lock ); in main()
38 pthread_mutex_lock( &mx ); in bar()
47 pthread_mutex_lock( &mx ); in foo()
Dlocked_vs_unlocked2.c27 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()
Dtc10_rec_lock.c28 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/
Dmutex_cycle2.c18 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()
Dmust_deadlock.cc17 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()
Dmutexset6.cc11 pthread_mutex_lock(&mtx1); in Thread1()
18 pthread_mutex_lock(&mtx1); in Thread2()
20 pthread_mutex_lock(&mtx2); in Thread2()
/external/libusb/libusb/
Dcore.c518 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 …]
Dio.c1098 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/
Dandroid_native_app_glue.c39 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/
Dtsan_posix.cc33 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/
Devent_timer_posix.cc63 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/
DIlmThreadSemaphorePosixCompat.cpp80 ::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/
Dpth_cancel_locked.c17 pthread_mutex_lock(&s_mutex2); in thread()
19 pthread_mutex_lock(&s_mutex1); in thread()
35 pthread_mutex_lock(&s_mutex1); in main()
Dpth_cond_race.c44 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()
Dpth_cond_destroy_busy.c27 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/
Dmutex.cpp32 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()

12345678910>>...13