/external/valgrind/drd/tests/ |
D | monitor_example.cpp | 107 m_owner = pthread_self(); in lock() 119 assert(m_owner == pthread_self()); in wait() 123 m_owner = pthread_self(); in wait() 139 result = m_recursion_count > 0 && m_owner == pthread_self(); in is_locked_by_self()
|
D | pth_barrier.c | 53 printf("thread %lx iteration 0\n", pthread_self()); in threadfunc() 59 pthread_self(), i + 1, &array[i]); in threadfunc()
|
D | pth_detached_sem.c | 35 pthread_detach(pthread_self()); in thread_func2()
|
D | pth_detached.c | 31 pthread_detach(pthread_self()); in thread_func2()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mac.cc | 157 return reinterpret_cast<uptr>(pthread_self()); in GetTid() 164 uptr stacksize = pthread_get_stacksize_np(pthread_self()); in GetThreadStackTopAndBottom() 179 void *stackaddr = pthread_get_stackaddr_np(pthread_self()); in GetThreadStackTopAndBottom() 238 CHECK_NE(owner_, (uptr)pthread_self()); in Lock() 241 owner_ = (uptr)pthread_self(); in Lock() 245 CHECK(owner_ == (uptr)pthread_self()); in Unlock() 251 CHECK_EQ((uptr)pthread_self(), owner_); in CheckLocked()
|
/external/valgrind/memcheck/tests/ |
D | threadname.c | 25 pthread_setname_np(pthread_self(), threadname); in child_fn_2() 41 pthread_setname_np(pthread_self(), threadname); in child_fn_1()
|
/external/skia/include/ports/ |
D | SkMutex_pthread.h | 33 SkDEBUGCODE(fOwner = pthread_self();) in acquire() 42 SkASSERT(0 != pthread_equal(fOwner, pthread_self())); in assertHeld()
|
/external/libunwind/tests/ |
D | Gtest-concurrent.c | 64 printf ("%lx: IP=%lx\n", (long) pthread_self (), (unsigned long) ip); in handler() 79 pthread_kill (pthread_self (), SIGUSR1); in worker()
|
/external/libxml2/ |
D | threads.c | 82 extern pthread_t pthread_self () 365 if (pthread_equal(tok->tid, pthread_self())) { in xmlRMutexLock() 376 tok->tid = pthread_self(); in xmlRMutexLock() 777 id = pthread_self(); in xmlGetThreadId() 816 return (pthread_equal(mainthread,pthread_self())); in xmlIsMainThread() 880 (pthread_self != NULL) && in xmlInitThreads() 958 mainthread = pthread_self(); in xmlOnceInit()
|
/external/mesa3d/src/glx/apple/ |
D | apple_glx_log.c | 80 thread = (uint64_t)(uintptr_t)pthread_self(); in _apple_glx_vlog() 85 thread = (uint64_t)(uintptr_t)pthread_self(); in _apple_glx_vlog()
|
D | apple_glx.c | 72 updated = apple_glx_context_surface_changed(uid, pthread_self()); in surface_notify_handler()
|
/external/compiler-rt/lib/asan/ |
D | asan_mac.cc | 292 block, pthread_self()); in asan_dispatch_call_block_and_release() 325 asan_ctxt, pthread_self()); \ 356 asan_ctxt, pthread_self()); in INTERCEPTOR()
|
/external/libcxx/src/ |
D | mutex.cpp | 167 pthread_t id = pthread_self(); in lock() 185 pthread_t id = pthread_self(); in try_lock()
|
/external/compiler-rt/test/msan/ |
D | pthread_getattr_np_deadlock.cc | 10 int res = pthread_getattr_np(pthread_self(), &attr); in ThreadFn()
|
/external/libvpx/libvpx/vp8/common/ |
D | threading.h | 39 #define pthread_self() GetCurrentThreadId() macro 62 #define pthread_self() _gettid()
|
/external/compiler-rt/test/tsan/ |
D | thread_name2.cc | 18 pthread_setname_np(pthread_self(), "foobar2"); in Thread2()
|
D | signal_errno.cc | 33 mainth = pthread_self(); in main()
|
D | thread_name.cc | 27 pthread_setname_np(pthread_self(), "Thread2"); in Thread2()
|
/external/skia/src/utils/ |
D | SkThreadUtils_pthread_linux.cpp | 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) { in setProcessorAffinity()
|
/external/fio/os/ |
D | os-openbsd.h | 53 return (int) pthread_self(); in gettid()
|
/external/valgrind/none/tests/ |
D | pth_blockedsig.c | 49 main_thread = pthread_self (); in main()
|
/external/google-breakpad/src/client/ios/handler/ |
D | ios_exception_minidump_generator.mm | 71 pthread_mach_thread_np(pthread_self())); 145 exception_ptr->thread_id = pthread_mach_thread_np(pthread_self()); 165 if (pthread_mach_thread_np(pthread_self()) != thread_id)
|
/external/valgrind/helgrind/tests/ |
D | tc22_exit_w_lock.c | 28 r= pthread_detach( pthread_self() ); assert(!r); in child_fn2()
|
D | stackteardown.c | 82 r= pthread_detach( pthread_self() ); assert(!r); in child_fn()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cc | 218 pthread_getattr_np(pthread_self(), &attr); in thread_descriptor_size_test_func() 262 ASSERT_EQ(pthread_self(), ThreadSelf()); in TEST()
|