/art/runtime/arch/arm/ |
thread_arm.cc | 17 #include "thread.h" 24 void Thread::InitCpu() { 25 CHECK_EQ(THREAD_FLAGS_OFFSET, OFFSETOF_MEMBER(Thread, state_and_flags_)); 26 CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_));
|
/art/runtime/arch/mips/ |
thread_mips.cc | 17 #include "thread.h" 24 void Thread::InitCpu() { 25 CHECK_EQ(THREAD_FLAGS_OFFSET, OFFSETOF_MEMBER(Thread, state_and_flags_)); 26 CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_));
|
/dalvik/vm/os/ |
os.h | 17 struct Thread; 20 * Raises the scheduling priority of the current thread. Returns the 29 * Sets the current thread scheduling priority. Used to undo the effects 37 * Changes the priority of a system thread to match that of the Thread object. 42 void os_changeThreadPriority(Thread* thread, int newPriority); 45 * Returns the thread priority for the current thread by querying the system. 46 * This is useful when attaching a thread through JNI [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
VMThread.java | 20 Thread thread; field in class:VMThread 23 VMThread(Thread t) { 24 thread = t; 27 native static void create(Thread t, long stackSize); 29 static native Thread currentThread(); 39 * Starts the VMThread (and thus the Java Thread) with the given 43 VMThread.create(thread, stackSize); 47 * Queries whether this Thread holds a monitor lock on the 56 * Holds a mapping from native Thread statuses to Java one. Required fo [all...] |
/art/runtime/ |
closure.h | 22 class Thread; 27 virtual void Run(Thread* self) = 0;
|
monitor_linux.cc | 21 void Monitor::LogContentionEvent(Thread*, uint32_t, uint32_t, const char*, uint32_t) {
|
barrier.h | 32 void Pass(Thread* self); 35 void Wait(Thread* self); 39 void Init(Thread* self, int count); 42 void Increment(Thread* self, int delta); 45 void SetCountLocked(Thread* self, int count) EXCLUSIVE_LOCKS_REQUIRED(lock_);
|
/external/valgrind/main/helgrind/tests/ |
tc04_free_lock.stderr.exp | 2 ---Thread-Announcement------------------------------------------ 4 Thread #x is the program's root thread 8 Thread #x: Exiting thread still holds 2 locks
|
/external/valgrind/main/gdbserver_tests/ |
mcbreak.stdout.exp | 1 pid .... Thread .... first 2 pid .... Thread .... second 3 pid .... Thread .... third 4 pid .... Thread .... fourth 5 pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb 6 pid .... Thread .... called from level 8 pid .... Thread .... called from main
|
/external/chromium_org/third_party/re2/util/ |
thread.cc | 8 #include "util/thread.h" 10 Thread::Thread() { 16 Thread::~Thread() { 20 Thread* t = (Thread*)v; 25 void Thread::Start() { 33 void Thread::Join() { 41 void Thread::SetJoinable(bool j) [all...] |
thread.h | 10 class Thread { 12 Thread(); 13 virtual ~Thread();
|
/external/regex-re2/util/ |
thread.cc | 8 #include "util/thread.h" 10 Thread::Thread() { 16 Thread::~Thread() { 20 Thread* t = (Thread*)v; 25 void Thread::Start() { 33 void Thread::Join() { 41 void Thread::SetJoinable(bool j) [all...] |
thread.h | 10 class Thread { 12 Thread(); 13 virtual ~Thread();
|
/dalvik/vm/mterp/ |
Mterp.h | 39 extern "C" void dvmMterpStdRun(Thread* self); 40 extern "C" void dvmMterpStdBail(Thread* self);
|
/external/compiler-rt/lib/tsan/lit_tests/ |
thread_leak3.c | 5 void *Thread(void *x) { 11 pthread_create(&t, 0, Thread, 0); 16 // CHECK: WARNING: ThreadSanitizer: thread leak 17 // CHECK: SUMMARY: ThreadSanitizer: thread leak{{.*}}main
|
/device/generic/goldfish/opengl/shared/OpenglOsUtils/ |
osThreadUnix.cpp | 20 Thread::Thread() : 28 Thread::~Thread() 34 Thread::start() 38 int ret = pthread_create(&m_thread, NULL, Thread::thread_main, this); 47 Thread::wait(int *exitStatus) 66 Thread::trywait(int *exitStatus) 80 Thread::thread_main(void *p_arg) 82 Thread *self = (Thread *)p_arg [all...] |
osThreadWin.cpp | 20 Thread::Thread() : 27 Thread::~Thread() 35 Thread::start() 38 m_thread = CreateThread(NULL, 0, &Thread::thread_main, this, 0, &m_threadId); 46 Thread::wait(int *exitStatus) 70 Thread::trywait(int *exitStatus) 93 Thread::thread_main(void *p_arg) 95 Thread *self = (Thread *)p_arg [all...] |
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
osThreadUnix.cpp | 20 Thread::Thread() : 28 Thread::~Thread() 34 Thread::start() 38 int ret = pthread_create(&m_thread, NULL, Thread::thread_main, this); 47 Thread::wait(int *exitStatus) 66 Thread::trywait(int *exitStatus) 80 Thread::thread_main(void *p_arg) 82 Thread *self = (Thread *)p_arg [all...] |
osThreadWin.cpp | 20 Thread::Thread() : 27 Thread::~Thread() 35 Thread::start() 38 m_thread = CreateThread(NULL, 0, &Thread::thread_main, this, 0, &m_threadId); 46 Thread::wait(int *exitStatus) 70 Thread::trywait(int *exitStatus) 93 Thread::thread_main(void *p_arg) 95 Thread *self = (Thread *)p_arg [all...] |
/external/valgrind/main/drd/tests/ |
boost_thread.stderr.exp | 2 Thread 1. 3 Thread 2.
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadFactory.java | 10 * An object that creates new threads on demand. Using thread factories 11 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 12 * enabling applications to use special thread subclasses, priorities, etc. 18 * public Thread newThread(Runnable r) { 19 * return new Thread(r); 24 * useful simple implementation, that sets the created thread context 32 * Constructs a new {@code Thread}. Implementations may also initialize 35 * @param r a runnable to be executed by new thread instanc [all...] |
/dalvik/vm/interp/ |
Interp.h | 40 void dvmInterpret(Thread* thread, const Method* method, JValue* pResult); 56 void dvmInitInterpreterState(Thread* self); 64 bool dvmAddSingleStep(Thread* thread, int size, int depth); 65 void dvmClearSingleStep(Thread* thread); 80 extern "C" void dvmCheckBefore(const u2 *dPC, u4 *fp, Thread* self); 81 extern "C" void dvmReportExceptionThrow(Thread* self, Object* exception); 82 extern "C" void dvmReportPreNativeInvoke(const Method* methodToCall, Thread* self, u4* fp) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-platform-tls.cc | 36 using v8::internal::Thread; 40 static Thread::LocalStorageKey keys[kValueCount]; 49 CHECK(!Thread::HasThreadLocal(keys[i])); 52 Thread::SetThreadLocal(keys[i], GetValue(i)); 55 CHECK(Thread::HasThreadLocal(keys[i])); 58 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys[i])); 59 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys[i])); 62 Thread::SetThreadLocal(keys[i], GetValue(kValueCount - i - 1)); 65 CHECK(Thread::HasThreadLocal(keys[i])); 69 Thread::GetThreadLocal(keys[i])) 90 TestThread thread; local [all...] |
/external/v8/test/cctest/ |
test-platform-tls.cc | 11 using v8::internal::Thread; 15 static Thread::LocalStorageKey keys[kValueCount]; 23 CHECK(!Thread::HasThreadLocal(keys[i])); 26 Thread::SetThreadLocal(keys[i], GetValue(i)); 29 CHECK(Thread::HasThreadLocal(keys[i])); 32 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys[i])); 33 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys[i])); 36 Thread::SetThreadLocal(keys[i], GetValue(kValueCount - i - 1)); 39 CHECK(Thread::HasThreadLocal(keys[i])); 43 Thread::GetThreadLocal(keys[i])) 63 TestThread thread; local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadStateTest.java | 23 Thread.State [] exStates = { Thread.State.NEW, Thread.State.RUNNABLE, 24 Thread.State.BLOCKED, Thread.State.WAITING, 25 Thread.State.TIMED_WAITING, Thread.State.TERMINATED }; 32 assertEquals(exStates[i], Thread.State.valueOf(spNames[i])); 38 Thread.State.valueOf(s); 47 Thread.State [] thStates = Thread.State.values() [all...] |