Lines Matching refs:thread
1700 Thread* thread; in threadObjToThread() local
1702 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in threadObjToThread()
1703 if (thread->threadObj == threadObj) in threadObjToThread()
1707 return thread; in threadObjToThread()
1717 Thread* thread; in dvmDbgGetThreadStatus() local
1726 thread = threadObjToThread(threadObj); in dvmDbgGetThreadStatus()
1727 if (thread == NULL) in dvmDbgGetThreadStatus()
1730 switch (thread->status) { in dvmDbgGetThreadStatus()
1747 if (dvmIsSuspended(thread)) in dvmDbgGetThreadStatus()
1765 Thread* thread; in dvmDbgGetThreadSuspendCount() local
1774 thread = threadObjToThread(threadObj); in dvmDbgGetThreadSuspendCount()
1775 if (thread == NULL) in dvmDbgGetThreadSuspendCount()
1778 result = thread->suspendCount; in dvmDbgGetThreadSuspendCount()
1793 Thread* thread; in dvmDbgThreadExists() local
1802 thread = threadObjToThread(threadObj); in dvmDbgThreadExists()
1803 if (thread == NULL) in dvmDbgThreadExists()
1820 Thread* thread; in dvmDbgIsSuspended() local
1829 thread = threadObjToThread(threadObj); in dvmDbgIsSuspended()
1830 if (thread == NULL) in dvmDbgIsSuspended()
1833 result = dvmIsSuspended(thread); in dvmDbgIsSuspended()
1880 Thread* thread = threadObjToThread(threadObj); in dvmDbgGetThreadName() local
1881 if (thread != NULL) in dvmDbgGetThreadName()
1882 sprintf(result, "<%d> %s", thread->threadId, str); in dvmDbgGetThreadName()
1957 Thread* thread; in dvmDbgGetThreadGroupThreads() local
1967 thread = gDvm.threadList; in dvmDbgGetThreadGroupThreads()
1969 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in dvmDbgGetThreadGroupThreads()
1977 if (thread->handle == dvmJdwpGetDebugThread(gDvm.jdwpState)) in dvmDbgGetThreadGroupThreads()
1983 if (thread->threadObj == NULL) in dvmDbgGetThreadGroupThreads()
1986 group = dvmGetFieldObject(thread->threadObj, in dvmDbgGetThreadGroupThreads()
2000 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in dvmDbgGetThreadGroupThreads()
2008 if (thread->handle == dvmJdwpGetDebugThread(gDvm.jdwpState)) in dvmDbgGetThreadGroupThreads()
2014 if (thread->threadObj == NULL) in dvmDbgGetThreadGroupThreads()
2017 group = dvmGetFieldObject(thread->threadObj, in dvmDbgGetThreadGroupThreads()
2021 *ptr++ = objectToObjectId(thread->threadObj); in dvmDbgGetThreadGroupThreads()
2051 Thread* thread; in dvmDbgGetThreadFrameCount() local
2057 thread = threadObjToThread(threadObj); in dvmDbgGetThreadFrameCount()
2058 if (thread != NULL) { in dvmDbgGetThreadFrameCount()
2059 count = dvmComputeExactFrameDepth(thread->interpSave.curFrame); in dvmDbgGetThreadFrameCount()
2073 Thread* thread; in dvmDbgGetThreadFrame() local
2081 thread = threadObjToThread(threadObj); in dvmDbgGetThreadFrame()
2082 if (thread == NULL) in dvmDbgGetThreadFrame()
2085 framePtr = thread->interpSave.curFrame; in dvmDbgGetThreadFrame()
2150 Thread* thread; in dvmDbgSuspendThread() local
2154 thread = threadObjToThread(threadObj); in dvmDbgSuspendThread()
2155 if (thread == NULL) { in dvmDbgSuspendThread()
2159 dvmSuspendThread(thread); in dvmDbgSuspendThread()
2171 Thread* thread; in dvmDbgResumeThread() local
2175 thread = threadObjToThread(threadObj); in dvmDbgResumeThread()
2176 if (thread == NULL) { in dvmDbgResumeThread()
2179 dvmResumeThread(thread); in dvmDbgResumeThread()
2489 void dvmDbgPostThreadStart(Thread* thread) in dvmDbgPostThreadStart() argument
2493 objectToObjectId(thread->threadObj), true); in dvmDbgPostThreadStart()
2496 dvmDdmSendThreadNotification(thread, true); in dvmDbgPostThreadStart()
2502 void dvmDbgPostThreadDeath(Thread* thread) in dvmDbgPostThreadDeath() argument
2506 objectToObjectId(thread->threadObj), false); in dvmDbgPostThreadDeath()
2509 dvmDdmSendThreadNotification(thread, false); in dvmDbgPostThreadDeath()
2564 Thread* thread; in dvmDbgConfigureStep() local
2576 thread = threadObjToThread(threadObj); in dvmDbgConfigureStep()
2578 if (thread == NULL) { in dvmDbgConfigureStep()
2582 if (!dvmIsSuspended(thread)) { in dvmDbgConfigureStep()
2588 assert(dvmIsSuspended(thread)); in dvmDbgConfigureStep()
2589 if (!dvmAddSingleStep(thread, size, depth)) in dvmDbgConfigureStep()
2663 targetThread->invokeReq.thread = threadObj; in dvmDbgInvokeMethod()