Home
last modified time | relevance | path

Searched refs:stackTrace (Results 1 – 25 of 78) sorted by relevance

1234

/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java31 private final String stackTrace; field in FailureLogMessage
37 public FailureLogMessage(String stackTrace) { in FailureLogMessage() argument
38 this.stackTrace = checkNotNull(stackTrace); in FailureLogMessage()
41 public String stackTrace() { in stackTrace() method in FailureLogMessage
42 return stackTrace; in stackTrace()
52 return stackTrace.hashCode(); in hashCode()
61 return this.stackTrace.equals(that.stackTrace); in equals()
/external/v8/src/inspector/
Dv8-stack-trace-impl.cc44 void toFramesVector(v8::Local<v8::StackTrace> stackTrace, in toFramesVector() argument
48 int frameCount = stackTrace->GetFrameCount(); in toFramesVector()
52 v8::Local<v8::StackFrame> stackFrame = stackTrace->GetFrame(i); in toFramesVector()
110 v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize, in create() argument
115 if (!stackTrace.IsEmpty()) in create()
116 toFramesVector(stackTrace, frames, maxStackSize, isolate); in create()
139 if (stackTrace.IsEmpty() && !asyncCallChain) return nullptr; in create()
162 v8::Local<v8::StackTrace> stackTrace; in capture() local
170 stackTrace = v8::StackTrace::CurrentStackTrace( in capture()
173 return V8StackTraceImpl::create(debugger, contextGroupId, stackTrace, in capture()
[all …]
Dv8-console-message.cc194 std::unique_ptr<V8StackTraceImpl> stackTrace, in setLocation() argument
199 m_stackTrace = std::move(stackTrace); in setLocation()
356 std::unique_ptr<V8StackTraceImpl> stackTrace, in createForConsoleAPI() argument
366 if (stackTrace && !stackTrace->isEmpty()) { in createForConsoleAPI()
367 message->m_url = toString16(stackTrace->topSourceURL()); in createForConsoleAPI()
368 message->m_lineNumber = stackTrace->topLineNumber(); in createForConsoleAPI()
369 message->m_columnNumber = stackTrace->topColumnNumber(); in createForConsoleAPI()
371 message->m_stackTrace = std::move(stackTrace); in createForConsoleAPI()
404 std::unique_ptr<V8StackTraceImpl> stackTrace, int scriptId, in createForException() argument
410 std::move(stackTrace), scriptId); in createForException()
Dv8-inspector-impl.cc186 v8::Local<v8::StackTrace> stackTrace) { in createStackTrace() argument
187 return m_debugger->createStackTrace(stackTrace); in createStackTrace()
294 std::unique_ptr<V8StackTrace> stackTrace, int scriptId) { in exceptionThrown() argument
298 wrapUnique(static_cast<V8StackTraceImpl*>(stackTrace.release())); in exceptionThrown()
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java53 String stackTrace= ""; in logResults() local
56 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
63 stackTrace, in logResults()
88 String stackTrace= ""; in logResults() local
91 stackTrace= Utils.stackTrace(ex, false)[0]; in logResults()
95 logResult("FAILED", tr, stackTrace); in logResults()
101 logResult("SKIPPED", tr, throwable != null ? Utils.stackTrace(throwable, false)[0] : null); in logResults()
124 private void logResult(String status, ITestResult tr, String stackTrace) { in logResult() argument
125 logResult(status, tr.getName(), tr.getMethod().getDescription(), stackTrace, in logResult()
140 String description, String stackTrace, in logResult() argument
[all …]
DVerboseReporter.java167 String stackTrace = ""; in logTestResult() local
174 stackTrace = itr.getThrowable() != null in logTestResult()
175 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult()
179 stackTrace = itr.getThrowable() != null in logTestResult()
180 ? Utils.stackTrace(itr.getThrowable(), false)[0] : ""; in logTestResult()
240 if (!Utils.isStringEmpty(stackTrace)) { in logTestResult()
241 …sb.append("\n").append(stackTrace.substring(0, stackTrace.lastIndexOf(System.getProperty("line.sep… in logTestResult()
DJUnitReportReporter.java125 testTag.stackTrace = sw.toString(); in generateReport()
153 if (testTag.stackTrace == null) { in generateReport()
165 xsb.addCDATA(testTag.stackTrace); in generateReport()
251 public String stackTrace; field in JUnitReportReporter.TestTag
DTestHTMLReporter.java148 String stackTrace = ""; in generateTable() local
155 String[] stackTraces = Utils.stackTrace(tw, true); in generateTable()
157 stackTrace = "<div><pre>" + stackTraces[0] + "</pre></div>"; in generateTable()
159 sb.append(stackTrace); in generateTable()
DJqReporter.java209 StringBuilder stackTrace = new StringBuilder(); in generateMethod() local
211 stackTrace.append(str.toString()).append("<br>"); in generateMethod()
213 xsb.addOptional(D, stackTrace.toString() + "\n", in generateMethod()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DProxyWorkerException.java28 ProxyWorkerException(String stackTrace) { in ProxyWorkerException() argument
29 super(formatMesssage(stackTrace)); in ProxyWorkerException()
32 private static String formatMesssage(String stackTrace) { in formatMesssage() argument
33 StringBuilder builder = new StringBuilder(stackTrace.length() + 512) in formatMesssage()
35 Joiner.on("\n\t").appendTo(builder, Splitter.on('\n').split(stackTrace)); in formatMesssage()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DShadowWranglerTest.java140 String stackTrace = stringWriter.getBuffer().toString(); in shouldRemoveNoiseFromStackTraces() local
142 assertThat(stackTrace, containsString("fake exception")); in shouldRemoveNoiseFromStackTraces()
143 … assertThat(stackTrace, containsString(ExceptionThrowingShadowFoo.class.getName() + ".getName(")); in shouldRemoveNoiseFromStackTraces()
144 assertThat(stackTrace, containsString(Foo.class.getName() + ".getName(")); in shouldRemoveNoiseFromStackTraces()
145 …assertThat(stackTrace, containsString(ShadowWranglerTest.class.getName() + ".shouldRemoveNoiseFrom… in shouldRemoveNoiseFromStackTraces()
147 assertThat(stackTrace, not(containsString("sun.reflect"))); in shouldRemoveNoiseFromStackTraces()
148 assertThat(stackTrace, not(containsString("java.lang.reflect"))); in shouldRemoveNoiseFromStackTraces()
149 assertThat(stackTrace, not(containsString(ShadowWrangler.class.getName() + "."))); in shouldRemoveNoiseFromStackTraces()
150 assertThat(stackTrace, not(containsString(RobolectricInternals.class.getName() + "."))); in shouldRemoveNoiseFromStackTraces()
/external/proguard/src/proguard/gui/
DReTraceRunnable.java42 private final String stackTrace; field in ReTraceRunnable
55 String stackTrace) in ReTraceRunnable() argument
60 this.stackTrace = stackTrace; in ReTraceRunnable()
78 new ByteArrayInputStream(stackTrace.getBytes()); in run()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
71 for (; i < stackTrace.FrameCount; i++) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java48 StackTraceElement[] stackTrace = new Exception().getStackTrace();
51 for (int i = startIndex; i < stackTrace.length; i++) {
52 StackTraceElement element = stackTrace[i];
67 new Allocation(desc, size, asList(stackTrace).subList(startIndex, endIndex + 1)));
/external/testng/src/main/java/org/testng/remote/strprotocol/
DTestResultMessage.java51 final String stackTrace, in TestResultMessage() argument
60 stackTrace, in TestResultMessage()
81 String stackTrace = null; in TestResultMessage() local
90 stackTrace = sw.getBuffer().toString(); in TestResultMessage()
93 stackTrace= "unknown stack trace"; in TestResultMessage()
98 stackTrace= throwable.getMessage(); in TestResultMessage()
103 stackTrace = sw.toString(); in TestResultMessage()
111 MessageHelper.replaceUnicodeCharactersWithAscii(stackTrace), in TestResultMessage()
134 final String stackTrace, in init() argument
148 m_stackTrace = stackTrace; in init()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java143 String stackTrace = body.get("error.stacktrace"); in generateGithubIssueBody() local
144 if (stackTrace == null || stackTrace.isEmpty()) { in generateGithubIssueBody()
145 stackTrace = "invalid stacktrace"; in generateGithubIssueBody()
159 result += "\n```\n" + stackTrace + "\n```\n"; in generateGithubIssueBody()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
40 <stackTrace; separator="\n">
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
46 <stackTrace; separator="\n">
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
55 <stackTrace; separator="\n">
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DExceptionExtensions.cs52 Array stackTrace = new StackTrace(true).GetFrames(); in getStackTrace()
53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length); in getStackTrace()
/external/testng/src/main/java/org/testng/reporters/jq/
DSuitePanel.java86 StringBuilder stackTrace = new StringBuilder(); in generateMethod() local
87 stackTrace.append(Utils.stackTrace(tr.getThrowable(), true)[0]); in generateMethod()
88 xsb.addOptional(D, stackTrace.toString() + "\n", in generateMethod()
/external/junit/src/main/java/org/junit/internal/runners/statements/
DFailOnTimeout.java133 StackTraceElement[] stackTrace = thread.getStackTrace(); in createTimeoutException() local
135 if (stackTrace != null) { in createTimeoutException()
136 currThreadException.setStackTrace(stackTrace); in createTimeoutException()
/external/guice/core/src/com/google/inject/internal/
DInterceptorStackCallback.java108 StackTraceElement[] stackTrace = t.getStackTrace(); in pruneStacktrace() local
110 for (StackTraceElement element : stackTrace) { in pruneStacktrace()
/external/mockito/src/test/java/org/mockitoutil/
DTestBase.java103 public static String filterLineNo(String stackTrace) { in filterLineNo() argument
104 return stackTrace.replaceAll("(\\((\\w+\\.java):(\\d)+\\))", "($2:0)"); in filterLineNo()
/external/skia/experimental/SkV8Example/
DGlobal.cpp63 v8::String::Utf8Value stackTrace(tryCatch->StackTrace()); in reportException() local
64 if (stackTrace.length() > 0) { in reportException()
65 const char* stackTraceString = to_cstring(stackTrace); in reportException()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterChainInvocation.java128 StackTraceElement[] stackTrace = t.getStackTrace(); in pruneStacktrace() local
130 for (StackTraceElement element : stackTrace) { in pruneStacktrace()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DPeerConnectionFactory.java206 for (StackTraceElement stackTrace : stackTraces) { in printStackTrace()
207 Logging.d(TAG, stackTrace.toString()); in printStackTrace()

1234