/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/ |
D | SDLOSXCAGuard.c | 98 if(pthread_self() != cag->mOwner) in SDLOSXCAGuard_Lock() 103 cag->mOwner = pthread_self(); in SDLOSXCAGuard_Lock() 113 assert(pthread_self() == cag->mOwner); in SDLOSXCAGuard_Unlock() 126 if (pthread_self() == cag->mOwner) { in SDLOSXCAGuard_Try() 132 cag->mOwner = pthread_self(); in SDLOSXCAGuard_Try() 144 assert(pthread_self() == cag->mOwner); in SDLOSXCAGuard_Wait() 151 cag->mOwner = pthread_self(); in SDLOSXCAGuard_Wait()
|
/external/valgrind/main/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/asan/ |
D | asan_mac.cc | 323 size_t stacksize = pthread_get_stacksize_np(pthread_self()); in SetThreadStackTopAndBottom() 324 void *stackaddr = pthread_get_stackaddr_np(pthread_self()); in SetThreadStackTopAndBottom() 338 CHECK(owner_ != (uintptr_t)pthread_self()); in Lock() 341 owner_ = (uintptr_t)pthread_self(); in Lock() 345 CHECK(owner_ == (uintptr_t)pthread_self()); in Unlock() 483 block, pthread_self()); in asan_dispatch_call_block_and_release() 521 asan_ctxt, pthread_self()); in INTERCEPTOR() 534 asan_ctxt, pthread_self()); in INTERCEPTOR() 560 asan_ctxt, pthread_self()); in INTERCEPTOR() 574 asan_ctxt, pthread_self()); in INTERCEPTOR() [all …]
|
D | asan_linux.cc | 305 CHECK(pthread_getattr_np(pthread_self(), &attr) == 0); in SetThreadStackTopAndBottom() 333 owner_ = (uintptr_t)pthread_self(); in Lock() 337 CHECK(owner_ == (uintptr_t)pthread_self()); in Unlock()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | StackBounds.cpp | 82 pthread_t thread = pthread_self(); in initialize() 93 pthread_t thread = pthread_self(); in initialize() 97 threadInfo.tid = pthread_self(); in initialize() 127 pthread_t thread = pthread_self(); in initialize() 162 pthread_t thread = pthread_self(); in initialize()
|
D | ThreadingPthreads.cpp | 203 ThreadIdentifier id = identifierByPthreadHandle(pthread_self()); in initializeCurrentThreadInternal() 246 id = establishIdentifierForPthreadHandle(pthread_self()); in currentThread()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-pthread.c | 129 pthread_t self = pthread_self (); in _dbus_pthread_mutex_lock() 245 _dbus_assert (pthread_equal (pmutex->holder, pthread_self ())); in _dbus_pthread_condvar_wait() 251 pmutex->holder = pthread_self(); /* other threads may have locked the mutex in the meantime */ in _dbus_pthread_condvar_wait() 272 _dbus_assert (pthread_equal (pmutex->holder, pthread_self ())); in _dbus_pthread_condvar_wait_timeout() 305 pmutex->holder = pthread_self(); /* other threads may have locked the mutex in the meantime */ in _dbus_pthread_condvar_wait_timeout()
|
/external/chromium/base/threading/ |
D | platform_thread_posix.cc | 129 return reinterpret_cast<int64>(pthread_self()); in CurrentId() 131 return pthread_self(); in CurrentId() 175 int err = dynamic_pthread_setname_np(pthread_self(),
|
/external/webkit/Source/JavaScriptCore/heap/ |
D | MachineStackMarker.cpp | 183 return pthread_mach_thread_np(pthread_self()); in getCurrentPlatformThread() 185 return pthread_getw32threadhandle_np(pthread_self()); in getCurrentPlatformThread() 187 return pthread_self(); in getCurrentPlatformThread() 209 …Thread* thread = new Thread(pthread_self(), getCurrentPlatformThread(), m_heap->globalData()->stac… in addCurrentThread() 225 pthread_t currentPosixThread = pthread_self(); in removeCurrentThread() 481 if (!pthread_equal(thread->posixThread, pthread_self())) in gatherConservativeRoots()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | criticalsection.h | 97 TRACK_OWNER(thread_ = pthread_self()); in Enter() 105 bool CurrentThreadIsOwner() const { return pthread_equal(thread_, pthread_self()); } in CurrentThreadIsOwner()
|
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/ |
D | SDL_sysmutex.c | 90 this_thread = pthread_self(); in SDL_mutexP() 127 if ( pthread_self() == mutex->owner ) { in SDL_mutexV()
|
D | SDL_systhread.c | 127 return((Uint32)pthread_self()); in SDL_ThreadID()
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
D | SDL_sysmutex.c | 91 this_thread = pthread_self(); in SDL_mutexP() 128 if ( pthread_self() == mutex->owner ) { in SDL_mutexV()
|
D | SDL_systhread.c | 102 return((Uint32)pthread_self()); in SDL_ThreadID()
|
/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() 776 id = pthread_self(); in xmlGetThreadId() 815 return (pthread_equal(mainthread,pthread_self())); in xmlIsMainThread() 879 (pthread_self != NULL) && in xmlInitThreads() 956 mainthread = pthread_self(); in xmlOnceInit()
|
/external/valgrind/main/none/tests/ |
D | pth_blockedsig.c | 49 main_thread = pthread_self (); in main()
|
/external/valgrind/main/helgrind/tests/ |
D | tc22_exit_w_lock.c | 28 r= pthread_detach( pthread_self() ); assert(!r); in child_fn2()
|
/external/llvm/test/Linker/ |
D | 2011-08-22-ResolveAlias.ll | 16 @_ZL20__gthrw_pthread_selfv = alias weak i64 ()* @pthread_self 49 declare extern_weak i64 @pthread_self()
|
D | 2011-08-22-ResolveAlias2.ll | 19 @_ZL20__gthrw_pthread_selfv = alias weak i64 ()* @pthread_self 54 declare extern_weak i64 @pthread_self()
|
/external/webkit/Source/JavaScriptCore/wtf/mac/ |
D | MainThreadMac.mm | 67 mainThreadPthread = pthread_self(); 137 return pthread_equal(pthread_self(), mainThreadPthread);
|
/external/llvm/test/CodeGen/Thumb2/ |
D | 2010-01-06-TailDuplicateLabels.ll | 27 %1 = tail call %struct._opaque_pthread_t* @pthread_self() nounwind 86 declare %struct._opaque_pthread_t* @pthread_self()
|
/external/webkit/Tools/DumpRenderTree/pthreads/ |
D | JavaScriptThreadingPthreads.cpp | 109 javaScriptThreads()->remove(pthread_self()); in runJavaScriptThread()
|