Home
last modified time | relevance | path

Searched refs:stackDepth (Results 1 – 7 of 7) sorted by relevance

/dalvik/vm/native/
Ddalvik_system_VMStack.cpp184 size_t stackDepth; in Dalvik_dalvik_system_VMStack_getThreadStackTrace() local
185 int* traceBuf = getTraceBuf(targetThreadObj, &stackDepth); in Dalvik_dalvik_system_VMStack_getThreadStackTrace()
193 ArrayObject* trace = dvmGetStackTraceRaw(traceBuf, stackDepth); in Dalvik_dalvik_system_VMStack_getThreadStackTrace()
209 size_t stackDepth; in Dalvik_dalvik_system_VMStack_fillStackTraceElements() local
210 int* traceBuf = getTraceBuf(targetThreadObj, &stackDepth); in Dalvik_dalvik_system_VMStack_fillStackTraceElements()
218 if (stackDepth > steArray->length) { in Dalvik_dalvik_system_VMStack_fillStackTraceElements()
219 stackDepth = steArray->length; in Dalvik_dalvik_system_VMStack_fillStackTraceElements()
221 dvmFillStackTraceElements(traceBuf, stackDepth, steArray); in Dalvik_dalvik_system_VMStack_fillStackTraceElements()
223 RETURN_INT(stackDepth); in Dalvik_dalvik_system_VMStack_fillStackTraceElements()
/dalvik/vm/
DAllocTracker.cpp170 int stackDepth = 0; in getStackFrames() local
175 while ((fp != NULL) && (stackDepth < kMaxAllocRecordStackDepth)) { in getStackFrames()
180 pRec->stackElem[stackDepth].method = method; in getStackFrames()
182 pRec->stackElem[stackDepth].pc = 0; in getStackFrames()
187 pRec->stackElem[stackDepth].pc = in getStackFrames()
190 stackDepth++; in getStackFrames()
198 while (stackDepth < kMaxAllocRecordStackDepth) { in getStackFrames()
199 pRec->stackElem[stackDepth].method = NULL; in getStackFrames()
200 pRec->stackElem[stackDepth].pc = 0; in getStackFrames()
201 stackDepth++; in getStackFrames()
DException.cpp829 size_t stackDepth; in dvmFillInStackTraceInternal() local
865 stackDepth = 0; in dvmFillInStackTraceInternal()
870 stackDepth++; in dvmFillInStackTraceInternal()
877 if (!stackDepth) in dvmFillInStackTraceInternal()
886 stackData = dvmAllocPrimitiveArray('I', stackDepth*2, ALLOC_DEFAULT); in dvmFillInStackTraceInternal()
895 simpleData = (int*) malloc(sizeof(int) * stackDepth*2); in dvmFillInStackTraceInternal()
903 *pCount = stackDepth; in dvmFillInStackTraceInternal()
924 stackDepth--; // for verification in dvmFillInStackTraceInternal()
930 assert(stackDepth == 0); in dvmFillInStackTraceInternal()
965 ArrayObject* dvmGetStackTraceRaw(const int* intVals, size_t stackDepth) in dvmGetStackTraceRaw() argument
[all …]
DException.h197 ArrayObject* dvmGetStackTraceRaw(const int* intVals, size_t stackDepth);
198 void dvmFillStackTraceElements(const int* intVals, size_t stackDepth, ArrayObject* steArray);
203 void dvmLogRawStackTrace(const int* intVals, int stackDepth);
DDdm.cpp449 size_t stackDepth; in dvmDdmGetStackTraceById() local
452 traceBuf = dvmFillInStackTraceRaw(thread, &stackDepth); in dvmDdmGetStackTraceById()
460 ArrayObject* trace = dvmGetStackTraceRaw(traceBuf, stackDepth); in dvmDdmGetStackTraceById()
DProfile.cpp184 size_t stackDepth = 0; in getStackTrace() local
189 stackDepth++; in getStackTrace()
194 *pCount = stackDepth; in getStackTrace()
201 stackDepth); in getStackTrace()
214 stackDepth--; in getStackTrace()
219 assert(stackDepth == 0); in getStackTrace()
/dalvik/hit/src/com/android/hit/
DHprofParser.java576 int stackDepth = mInput.readInt(); in loadJniMonitor() local
579 stackDepth); in loadJniMonitor()