/bionic/libc/bionic/ |
pthread_self.cpp | 31 pthread_t pthread_self() { function
|
raise.cpp | 32 int rc = pthread_kill(pthread_self(), sig);
|
pthread_join.cpp | 35 if (t == pthread_self()) {
|
pthread_setname_np.cpp | 55 if (t == pthread_self()) {
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
errno.c | 77 if ((self = pthread_self ()).p == NULL)
|
pthread_mutex_trylock.c | 80 mx->ownerThread = pthread_self (); 86 pthread_equal (mx->ownerThread, pthread_self ())) 114 self = pthread_self(); 131 pthread_equal (mx->ownerThread, pthread_self ()))
|
pthread_testcancel.c | 72 pthread_t self = pthread_self ();
|
pthread_mutex_unlock.c | 87 if (pthread_equal (mx->ownerThread, pthread_self())) 114 pthread_t self = pthread_self();
|
pthread_join.c | 113 self = pthread_self();
|
pthread_self.c | 2 * pthread_self.c 41 pthread_self (void) function 141 } /* pthread_self */
|
pthread_setcancelstate.c | 84 pthread_t self = pthread_self ();
|
pthread_setcanceltype.c | 84 pthread_t self = pthread_self ();
|
signal.c | 102 pthread_t thread = pthread_self ();
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/ |
thread_checker.h | 43 ThreadChecker() : thread_id_(pthread_self()) {} 46 return thread_id_ == pthread_self();
|
/external/compiler-rt/test/msan/ |
pthread_getattr_np_deadlock.cc | 10 int res = pthread_getattr_np(pthread_self(), &attr);
|
/external/compiler-rt/test/tsan/ |
thread_name2.cc | 15 pthread_setname_np(pthread_self(), "foobar2");
|
thread_name.cc | 19 pthread_setname_np(pthread_self(), "Thread2");
|
signal_errno.cc | 34 mainth = pthread_self();
|
/external/chromium_org/third_party/skia/src/ports/ |
SkMutex_pthread.h | 17 // on Darwin it's a pointer. So assuming pthread_self() never returns 0, it works as a sentinel. 26 SkASSERT(0 == pthread_equal(fOwner, pthread_self())); // SkMutex is not re-entrant 28 SkDEBUGCODE(fOwner = pthread_self();) 36 SkASSERT(0 != pthread_equal(fOwner, pthread_self()));
|
/external/chromium_org/third_party/sqlite/src/src/ |
mutex_unix.c | 74 return (p->nRef!=0 && pthread_equal(p->owner, pthread_self())); 77 return p->nRef==0 || pthread_equal(p->owner, pthread_self())==0; 223 pthread_t self = pthread_self(); 239 p->owner = pthread_self(); 266 pthread_t self = pthread_self(); 284 p->owner = pthread_self();
|
/external/chromium_org/third_party/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) {
|
/external/chromium_org/base/threading/ |
platform_thread_posix.cc | 72 *(thread_params->handle) = PlatformThreadHandle(pthread_self(), 150 return pthread_mach_thread_np(pthread_self()); 156 return pthread_self(); 158 return pthread_self(); 161 return reinterpret_cast<int32>(pthread_self()); 163 return reinterpret_cast<int64>(pthread_self()); 169 return PlatformThreadRef(pthread_self()); 174 return PlatformThreadHandle(pthread_self(), CurrentId());
|
/external/chromium_org/rlz/lib/ |
recursive_cross_process_lock_posix.cc | 26 if (pthread_equal(pthread_self(), locking_thread_) == 0) { 36 locking_thread_ = pthread_self();
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 152 return reinterpret_cast<uptr>(pthread_self()); 159 uptr stacksize = pthread_get_stacksize_np(pthread_self()); 174 void *stackaddr = pthread_get_stackaddr_np(pthread_self()); 227 CHECK_NE(owner_, (uptr)pthread_self()); 230 owner_ = (uptr)pthread_self(); 234 CHECK(owner_ == (uptr)pthread_self()); 240 CHECK_EQ((uptr)pthread_self(), owner_);
|
/external/chromium_org/third_party/webrtc/base/ |
criticalsection.h | 90 TRACK_OWNER(thread_ = pthread_self()); 94 TRACK_OWNER(thread_ = pthread_self()); 105 bool CurrentThreadIsOwner() const { return pthread_equal(thread_, pthread_self()); }
|