Searched refs:trace (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/ |
D | Throwable.java | 668 StackTraceElement[] trace = getOurStackTrace(); in printStackTrace() local 669 for (StackTraceElement traceElement : trace) in printStackTrace() 674 se.printEnclosedStackTrace(s, trace, SUPPRESSED_CAPTION, "\t", dejaVu); in printStackTrace() 679 ourCause.printEnclosedStackTrace(s, trace, CAUSE_CAPTION, "", dejaVu); in printStackTrace() 700 StackTraceElement[] trace = getOurStackTrace(); in printEnclosedStackTrace() local 701 int m = trace.length - 1; in printEnclosedStackTrace() 703 while (m >= 0 && n >=0 && trace[m].equals(enclosingTrace[n])) { in printEnclosedStackTrace() 706 int framesInCommon = trace.length - 1 - m; in printEnclosedStackTrace() 711 s.println(prefix + "\tat " + trace[i]); in printEnclosedStackTrace() 717 se.printEnclosedStackTrace(s, trace, SUPPRESSED_CAPTION, in printEnclosedStackTrace() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThrowableTest.java | 99 private String fixStacktrace(String trace) { in fixStacktrace() argument 103 while (lastIndex < trace.length()) { in fixStacktrace() 104 int index = trace.indexOf('\n', lastIndex); in fixStacktrace() 106 index = trace.length(); in fixStacktrace() 107 String line = trace.substring(lastIndex, index); in fixStacktrace()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 200 StackTraceElement trace[] = th.getStackTrace(); in format() local 201 for (int i = 0; i < trace.length; i++) { in format() 202 StackTraceElement frame = trace[i]; in format()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 198 StackTraceElement trace = traces[traces.length - 2]; in testGetStackTrace() local 201 assertTrue(trace.getClassName().contains("ThreadTest") in testGetStackTrace() 202 && trace.getMethodName().equals("doSomething")); in testGetStackTrace()
|