/bionic/libc/bionic/ |
pthread_self.cpp | 31 pthread_t pthread_self() { function
|
pthread_join.cpp | 37 if (t == pthread_self()) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
6-1-buildonly.c | 10 pthread_t pthread_self(void); 17 pthread_t ptid = pthread_self();
|
/external/skia/src/core/ |
SkThreadID.cpp | 15 SkThreadID SkGetThreadID() { return (int64_t)pthread_self(); }
|
/external/skqp/src/core/ |
SkThreadID.cpp | 15 SkThreadID SkGetThreadID() { return (int64_t)pthread_self(); }
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_self/ |
1-1.c | 8 * Test that pthread_self() 14 * 2. The function that the thread calls will call pthread_self() and store 26 pthread_t new_th2; /* Global thread to hold the value of when pthread_self 31 new_th2 = pthread_self(); 60 if (pthread_equal(new_th1, pthread_self()) != 0) {
|
/frameworks/wilhelm/src/android/ |
CallbackProtector.cpp | 67 mCallbackThread = pthread_self(); 75 (void *) pthread_self(), gettid(), 115 mRequesterThread = pthread_self(); 123 (void *) pthread_self(), gettid()); 136 mRequesterThread = pthread_self(); 144 (void *) pthread_self(), gettid());
|
/external/perfetto/src/base/ |
thread_checker.cc | 27 thread_id_.store(pthread_self()); 42 pthread_t self = pthread_self();
|
/external/compiler-rt/test/msan/ |
pthread_getattr_np_deadlock.cc | 10 int res = pthread_getattr_np(pthread_self(), &attr);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
2-1.c | 25 main_thread = pthread_self();
|
3-1.c | 23 main_thread = pthread_self();
|
7-1.c | 25 main_thread = pthread_self();
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
4-1.c | 122 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); 132 check_param(pthread_self(), SCHED_RR, sp.sched_priority); 137 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); 143 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1);
|
1-1.c | 26 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 31 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedprio/ |
1-1.c | 36 rc = pthread_setschedparam(pthread_self(), policy, &sparam); 41 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam); 52 rc = pthread_setschedprio(pthread_self(), priority + 1); 58 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
1-2.c | 98 threads[0] = pthread_self(); 103 threads[1] = pthread_self(); 108 threads[2] = pthread_self(); 144 if (!pthread_equal(pthread_self(), threads[2])) { 158 if (!pthread_equal(pthread_self(), threads[1])) {
|
/frameworks/base/libs/hwui/ |
GpuMemoryTracker.h | 29 LOG_ALWAYS_FATAL_IF(!pthread_equal(gGpuThread, pthread_self()), \ 32 this, static_cast<int>(mType), mSize, pthread_self(), gGpuThread)
|
/external/compiler-rt/test/tsan/ |
thread_name2.cc | 21 pthread_setname_np(pthread_self(), "foobar2");
|
signal_errno.cc | 37 mainth = pthread_self();
|
/frameworks/wilhelm/src/itf/ |
IThreadSync.cpp | 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { 40 thiz->mOwner = pthread_self(); 56 if (!thiz->mInCriticalSection || !pthread_equal(thiz->mOwner, pthread_self())) {
|
/external/ImageMagick/MagickCore/ |
thread-private.h | 63 return(pthread_self()); 85 magick_thread.id=pthread_self(); 98 if (pthread_equal(id,pthread_self()) != 0)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
4-1.c | 15 * pthread_self(). 17 * and the one from pthread_self()). 45 /* If the value of pthread_self() and the return value from 58 self_th = pthread_self();
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
1-1.c | 35 rc = pthread_getschedparam(pthread_self(), &policy, &sparam);
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
1-2.c | 59 SAFE_PFUNC(pthread_getschedparam(pthread_self(), &policy, ¶m)); 90 SAFE_PFUNC(pthread_getschedparam(pthread_self(), &policy, ¶m)); 118 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, ¶m)); 119 SAFE_PFUNC(pthread_getschedparam(pthread_self(), &policy, ¶m));
|
/external/oj-libjdwp/src/solaris/back/ |
proc_md.h | 38 #define GET_THREAD_ID() pthread_self()
|