Lines Matching refs:Thread
230 static Thread* allocThread(int interpStackSize);
231 static bool prepareThread(Thread* thread);
232 static void setThreadSelf(Thread* thread);
233 static void unlinkThread(Thread* thread);
234 static void freeThread(Thread* thread);
235 static void assignThreadId(Thread* thread);
236 static bool createFakeEntryFrame(Thread* thread);
237 static bool createFakeRunFrame(Thread* thread);
240 static void threadExitUncaughtException(Thread* thread, Object* group);
242 static void waitForThreadSuspend(Thread* self, Thread* thread);
263 Thread* thread; in dvmThreadStartup()
484 void dvmLockThreadList(Thread* self) in dvmLockThreadList()
554 Thread* self = dvmThreadSelf(); in lockThreadSuspend()
631 Thread* self = dvmThreadSelf(); // may be null in dvmSlayDaemons()
632 Thread* target; in dvmSlayDaemons()
739 Thread* nextTarget = target->next; in dvmSlayDaemons()
756 Thread* self; in dvmPrepMainForJni()
781 Thread* thread; in dvmPrepMainThread()
907 static Thread* allocThread(int interpStackSize) in allocThread()
909 Thread* thread; in allocThread()
912 thread = (Thread*) calloc(1, sizeof(Thread)); in allocThread()
993 static bool prepareThread(Thread* thread) in prepareThread()
1052 static void unlinkThread(Thread* thread) in unlinkThread()
1070 static void freeThread(Thread* thread) in freeThread()
1109 Thread* dvmThreadSelf(void) in dvmThreadSelf()
1111 return (Thread*) pthread_getspecific(gDvm.pthreadKeySelf); in dvmThreadSelf()
1117 static void setThreadSelf(Thread* thread) in setThreadSelf()
1160 Thread* self = (Thread*) arg; in threadExitCheck()
1201 static void assignThreadId(Thread* thread) in assignThreadId()
1223 static void releaseThreadId(Thread* thread) in releaseThreadId()
1238 static bool createFakeEntryFrame(Thread* thread) in createFakeEntryFrame()
1300 static bool createFakeRunFrame(Thread* thread) in createFakeRunFrame()
1397 Thread* self; in dvmCreateInterpThread()
1398 Thread* newThread = NULL; in dvmCreateInterpThread()
1632 Thread* self = (Thread*) arg; in interpThreadStart()
1734 static void threadExitUncaughtException(Thread* self, Object* group) in threadExitUncaughtException()
1812 volatile Thread* newThread = NULL; in dvmCreateInternalThread()
1855 Thread* self = dvmThreadSelf(); in dvmCreateInternalThread()
1946 Thread* self = NULL; in dvmAttachCurrentThread()
2170 Thread* self = dvmThreadSelf(); in dvmDetachCurrentThread()
2350 void dvmSuspendThread(Thread* thread) in dvmSuspendThread()
2378 void dvmResumeThread(Thread* thread) in dvmResumeThread()
2408 Thread* self = dvmThreadSelf(); in dvmSuspendSelf()
2502 static void dumpWedgedThread(Thread* thread) in dumpWedgedThread()
2522 int dvmRaiseThreadPriorityIfNeeded(Thread* thread, int* pSavedThreadPrio, in dvmRaiseThreadPriorityIfNeeded()
2575 void dvmResetThreadPriority(Thread* thread, int changeFlags, in dvmResetThreadPriority()
2626 static void waitForThreadSuspend(Thread* self, Thread* thread) in waitForThreadSuspend()
2744 Thread* self = dvmThreadSelf(); in dvmSuspendAllThreads()
2745 Thread* thread; in dvmSuspendAllThreads()
2834 Thread* self = dvmThreadSelf(); in dvmResumeAllThreads()
2835 Thread* thread; in dvmResumeAllThreads()
2926 Thread* self = dvmThreadSelf(); in dvmUndoDebuggerSuspensions()
2927 Thread* thread; in dvmUndoDebuggerSuspensions()
2983 bool dvmIsSuspended(const Thread* thread) in dvmIsSuspended()
3016 void dvmWaitForSuspend(Thread* thread) in dvmWaitForSuspend()
3018 Thread* self = dvmThreadSelf(); in dvmWaitForSuspend()
3039 static bool fullSuspendCheck(Thread* self) in fullSuspendCheck()
3080 bool dvmCheckSuspendPending(Thread* self) in dvmCheckSuspendPending()
3097 ThreadStatus dvmChangeStatus(Thread* self, ThreadStatus newStatus) in dvmChangeStatus()
3221 Thread* dvmGetThreadFromThreadObject(Object* vmThreadObj) in dvmGetThreadFromThreadObject()
3228 Thread* thread = gDvm.threadList; in dvmGetThreadFromThreadObject()
3230 if ((Thread*)vmData == thread) in dvmGetThreadFromThreadObject()
3238 vmThreadObj, (Thread*)vmData); in dvmGetThreadFromThreadObject()
3243 return (Thread*) vmData; in dvmGetThreadFromThreadObject()
3252 Thread* dvmGetThreadByHandle(pthread_t handle) in dvmGetThreadByHandle()
3254 Thread* thread; in dvmGetThreadByHandle()
3268 Thread* dvmGetThreadByThreadId(u4 threadId) in dvmGetThreadByThreadId()
3270 Thread* thread; in dvmGetThreadByThreadId()
3304 void dvmChangeThreadPriority(Thread* thread, int newPriority) in dvmChangeThreadPriority()
3366 bool dvmIsOnThreadList(const Thread* thread) in dvmIsOnThreadList()
3385 void dvmDumpThread(Thread* thread, bool isRunning) in dvmDumpThread()
3497 void dvmDumpThreadEx(const DebugOutputTarget* target, Thread* thread, in dvmDumpThreadEx()
3638 char* dvmGetThreadName(Thread* thread) in dvmGetThreadName()
3673 Thread* thread; in dvmDumpAllThreadsEx()
3719 void dvmNukeThread(Thread* thread) in dvmNukeThread()
3766 static int getThreadObjectCount(const Thread* self) in getThreadObjectCount()
3788 void dvmAddToMonitorList(Thread* self, Object* obj, bool withTrace) in dvmAddToMonitorList()
3830 void dvmRemoveFromMonitorList(Thread* self, Object* obj) in dvmRemoveFromMonitorList()
3875 LockedObjectData* dvmFindInMonitorList(const Thread* self, const Object* obj) in dvmFindInMonitorList()
3897 static void gcScanInterpStackReferences(Thread *thread) in gcScanInterpStackReferences()
4130 static void gcScanThread(Thread *thread) in gcScanThread()
4146 Thread* self = dvmThreadSelf(); in gcScanThread()
4188 Thread *thread; in gcScanAllThreads()