/external/guice/core/test/com/google/inject/spi/ |
D | ModuleSourceTest.java | 11 private static final StackTraceElement BINDER_INSTALL = 12 new StackTraceElement( 43 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeOne() 51 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeTwo() 54 new StackTraceElement( in checkSizeTwo() 64 StackTraceElement[] callStack = moduleSource.getStackTrace(); in checkSizeThree() 66 assertEquals(new StackTraceElement("class1", "method1", "Unknown Source", 1), callStack[1]); in checkSizeThree() 67 assertEquals(new StackTraceElement("class2", "method2", "Unknown Source", 2), callStack[2]); in checkSizeThree() 69 new StackTraceElement( in checkSizeThree() 75 new StackTraceElement( in checkSizeThree() [all …]
|
D | ElementSourceTest.java | 21 private static final StackTraceElement BINDER_INSTALL = 22 new StackTraceElement( 30 StackTraceElement[] bindingCallStack = new StackTraceElement[3]; in testCallStackSize() 32 new StackTraceElement( in testCallStackSize() 35 new StackTraceElement( in testCallStackSize() 38 new StackTraceElement( in testCallStackSize() 65 StackTraceElement[] callStack = elementSource.getStackTrace(); in testGetCallStack_IntegrationTest() 69 StackTraceElement stackTraceElement = in testGetCallStack_IntegrationTest() 70 (StackTraceElement) elementSource.getDeclaringSource(); in testGetCallStack_IntegrationTest() 72 new StackTraceElement( in testGetCallStack_IntegrationTest() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/exceptions/stacktrace/ |
D | StackTraceFilterTest.java | 22 StackTraceElement[] t = new TraceBuilder().classes( in shouldFilterOutCglibGarbage() 27 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutCglibGarbage() 34 StackTraceElement[] t = new TraceBuilder().classes( in shouldFilterOutByteBuddyGarbage() 39 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutByteBuddyGarbage() 47 StackTraceElement[] t = new TraceBuilder().classes( in shouldFilterOutMockitoPackage() 52 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutMockitoPackage() 59 StackTraceElement[] t = new TraceBuilder().classes( in shouldNotFilterOutTracesMiddleGoodTraces() 67 StackTraceElement[] filtered = filter.filter(t, false); in shouldNotFilterOutTracesMiddleGoodTraces() 74 StackTraceElement[] t = new TraceBuilder().classes( in shouldKeepRunners() 81 StackTraceElement[] filtered = filter.filter(t, false); in shouldKeepRunners() [all …]
|
/external/truth/core/src/test/java/com/google/common/truth/ |
D | StackTraceCleanerTest.java | 66 assertThat(throwable.getStackTrace()).isEqualTo(new StackTraceElement[0]); in emptyTrace() 85 new StackTraceElement[] { in collapseStreaks() 124 new StackTraceElement[] { in dontCollapseStreaksOfOneFrame() 154 new StackTraceElement[] { in mixedStreaks() 173 new StackTraceElement[] { in classNestedInSubject() 197 new StackTraceElement[] { in removesTestingAndReflectiveFramesOnBottom() 215 new StackTraceElement[] { in packagesAreIgnoredForTestClasses() 234 new StackTraceElement[] { in allFramesAboveStandardSubjectBuilderCleaned() 252 new StackTraceElement[] { in allFramesAboveSubjectCleaned() 270 new StackTraceElement[] { in allFramesBelowJUnitStatementCleaned() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/stacktrace/ |
D | StackTraceFilter.java | 28 public StackTraceElement[] filter(StackTraceElement[] target, boolean keepTop) { in filter() 31 final List<StackTraceElement> filtered = new ArrayList<StackTraceElement>(); in filter() 32 for (StackTraceElement element : target) { in filter() 37 StackTraceElement[] result = new StackTraceElement[filtered.size()]; in filter()
|
/external/mockito/src/test/java/org/mockito/exceptions/base/ |
D | TraceBuilder.java | 23 private List<StackTraceElement> toTraceList() { in toTraceList() 26 List<StackTraceElement> trace = new LinkedList<StackTraceElement>(); in toTraceList() 28 trace.add(new StackTraceElement("SomeClass", method, "SomeClass.java", 50)); in toTraceList() 31 trace.add(new StackTraceElement(clazz, "someMethod", clazz + ".java", 50)); in toTraceList() 38 public StackTraceElement[] toTraceArray() { in toTraceArray() 39 return toTraceList().toArray(new StackTraceElement[0]); in toTraceArray()
|
D | StackTraceBuilder.java | 20 public StackTraceElement[] toStackTrace() { in toStackTrace() 21 StackTraceElement[] trace = new StackTraceElement[methods.length]; in toStackTrace() 24 trace[i] = new StackTraceElement("DummyClass", methods[i], "DummyClass.java", 100); in toStackTrace() 30 public List<StackTraceElement> toStackTraceList() { in toStackTraceList()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | StackTraceRecovery.kt | 101 …le> createFinalException(cause: E, result: E, resultStackTrace: ArrayDeque<StackTraceElement>): E { in createFinalException() 110 val mergedStackTrace = arrayOfNulls<StackTraceElement>(resultStackTrace.size + size) in createFinalException() 127 private fun <E : Throwable> E.causeAndStacktrace(): Pair<E, Array<StackTraceElement>> { in causeAndStacktrace() 139 …mergeRecoveredTraces(recoveredStacktrace: Array<StackTraceElement>, result: ArrayDeque<StackTraceE… in mergeRecoveredTraces() 179 private fun createStackTrace(continuation: CoroutineStackFrame): ArrayDeque<StackTraceElement> { in createStackTrace() 180 val stack = ArrayDeque<StackTraceElement>() in createStackTrace() 191 internal fun StackTraceElement.isArtificial() = className.startsWith(ARTIFICIAL_FRAME_PACKAGE_NAME) in isArtificial() 192 private fun Array<StackTraceElement>.firstFrameIndex(methodName: String) = indexOfFirst { methodNam… in isArtificial() 194 private fun StackTraceElement.elementWiseEquals(e: StackTraceElement): Boolean { in StackTraceElement() method 207 internal actual typealias StackTraceElement = java.lang.StackTraceElement typealias
|
/external/guice/core/src/com/google/inject/spi/ |
D | ModuleSource.java | 55 ModuleSource(Object module, StackTraceElement[] partialCallStack) { in ModuleSource() 69 /* @Nullable */ ModuleSource parent, Object module, StackTraceElement[] partialCallStack) { in ModuleSource() 92 StackTraceElement[] getPartialCallStack() { in getPartialCallStack() 109 ModuleSource createChild(Object module, StackTraceElement[] partialCallStack) { in createChild() 161 StackTraceElement[] getStackTrace() { in getStackTrace() 163 StackTraceElement[] callStack = new StackTraceElement[stackTraceSize]; in getStackTrace() 167 StackTraceElement[] chunk = in getStackTrace()
|
/external/testng/src/main/java/org/testng/reporters/util/ |
D | StackTraceTools.java | 16 public static int getTestRoot(StackTraceElement[] stack,ITestNGMethod method) { in getTestRoot() 32 …public static StackTraceElement[] getTestNGInstrastructure(StackTraceElement[] stack,ITestNGMethod… in getTestNGInstrastructure() 35 StackTraceElement[] r=new StackTraceElement[stack.length-slot]; in getTestNGInstrastructure() 41 return new StackTraceElement[0]; in getTestNGInstrastructure()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | StatusRuntimeExceptionTest.java | 33 StackTraceElement[] trace = in internalCtorRemovesStack() 41 StackTraceElement[] trace = in normalCtorKeepsStack() 49 StackTraceElement[] trace = new StatusRuntimeException(Status.CANCELLED) {}.getStackTrace(); in extendPreservesStack() 56 final StackTraceElement element = new StackTraceElement("a", "b", "c", 4); in extendAndOverridePreservesStack() 62 setStackTrace(new StackTraceElement[]{element}); in extendAndOverridePreservesStack()
|
D | StatusExceptionTest.java | 33 StackTraceElement[] trace = in internalCtorRemovesStack() 41 StackTraceElement[] trace = in normalCtorKeepsStack() 49 StackTraceElement[] trace = new StatusException(Status.CANCELLED) {}.getStackTrace(); in extendPreservesStack() 56 final StackTraceElement element = new StackTraceElement("a", "b", "c", 4); in extendAndOverridePreservesStack() 61 setStackTrace(new StackTraceElement[]{element}); in extendAndOverridePreservesStack()
|
/external/guice/core/src/com/google/inject/internal/util/ |
D | StackTraceElements.java | 35 private static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0]; 83 return new StackTraceElement(declaringClass.getName(), memberName, fileName, lineNumber); in forMember() 97 return new StackTraceElement(implementation.getName(), "class", fileName, lineNumber); in forType() 108 StackTraceElement[] stackTraceElements) { in convertToInMemoryStackTraceElement() 124 public static StackTraceElement[] convertToStackTraceElement( in convertToStackTraceElement() 129 StackTraceElement[] stackTraceElements = in convertToStackTraceElement() 130 new StackTraceElement[inMemoryStackTraceElements.length]; in convertToStackTraceElement() 136 new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber); in convertToStackTraceElement() 171 InMemoryStackTraceElement(StackTraceElement ste) { in InMemoryStackTraceElement()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StackTraceElementDeserializer.java | 12 extends StdScalarDeserializer<StackTraceElement> 16 public StackTraceElementDeserializer() { super(StackTraceElement.class); } in StackTraceElementDeserializer() 19 … public StackTraceElement deserialize(JsonParser p, DeserializationContext ctxt) throws IOException in deserialize() 66 final StackTraceElement value = deserialize(p, ctxt); in deserialize() 72 return (StackTraceElement) ctxt.handleUnexpectedToken(_valueClass, p); in deserialize() 76 protected StackTraceElement constructValue(DeserializationContext ctxt, in constructValue() 88 protected StackTraceElement constructValue(DeserializationContext ctxt, in constructValue() 94 return new StackTraceElement(className, methodName, fileName, lineNumber); in constructValue()
|
/external/truth/core/src/main/java/com/google/common/truth/ |
D | StackTraceCleaner.java | 84 StackTraceElement[] stackFrames = throwable.getStackTrace(); in clean() 140 StackTraceElement[] result = new StackTraceElement[cleanedStackTrace.size()]; in clean() 198 private static boolean isTruthEntrance(StackTraceElement stackTraceElement) { in isTruthEntrance() 214 private static boolean isJUnitIntrastructure(StackTraceElement stackTraceElement) { in isJUnitIntrastructure() 220 StackTraceElement stackTraceElement, ImmutableSet<String> recognizedClasses) { in isFromClassOrClassNestedInside() 265 StackTraceElement stackTraceElement, ImmutableSet<String> recognizedClasses) { in isFromClassDirectly() 303 private final StackTraceElement stackTraceElement; 307 StackTraceElementWrapper(StackTraceElement stackTraceElement) { in StackTraceElementWrapper() 312 StackTraceElementWrapper(StackTraceElement stackTraceElement, StackFrameType stackFrameType) { in StackTraceElementWrapper() 323 StackTraceElement getStackTraceElement() { in getStackTraceElement() [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/ |
D | CoroutineInfo.kt | 39 public val creationStackTrace: List<StackTraceElement> get() = creationStackTrace() 48 public fun lastObservedStackTrace(): List<StackTraceElement> { in lastObservedStackTrace() 50 val result = ArrayList<StackTraceElement>() in lastObservedStackTrace() 58 private fun creationStackTrace(): List<StackTraceElement> { in creationStackTrace() 61 return sequence<StackTraceElement> { yieldFrames(bottom.callerFrame) }.toList() in creationStackTrace() 64 …private tailrec suspend fun SequenceScope<StackTraceElement>.yieldFrames(frame: CoroutineStackFram… in yieldFrames()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/ |
D | DebugProbesImpl.kt | 11 import java.lang.StackTraceElement in <lambda>() 303 private fun printStackTrace(out: PrintStream, frames: List<StackTraceElement>) { in <lambda>() 316 coroutineTrace: List<StackTraceElement> in <lambda>() 317 ): List<StackTraceElement> = in <lambda>() 329 coroutineTrace: List<StackTraceElement> in <lambda>() 330 ): List<StackTraceElement> { in <lambda>() 367 val result = ArrayList<StackTraceElement>(expectedSize) in <lambda>() 391 actualTrace: Array<StackTraceElement>, in <lambda>() 392 coroutineTrace: List<StackTraceElement> in <lambda>() 407 actualTrace: Array<StackTraceElement>, in <lambda>() [all …]
|
D | DebugCoroutineInfoImpl.kt | 39 public val creationStackTrace: List<StackTraceElement> get() = creationStackTrace() 153 internal fun lastObservedStackTrace(): List<StackTraceElement> { in lastObservedStackTrace() 155 val result = ArrayList<StackTraceElement>() in lastObservedStackTrace() 163 private fun creationStackTrace(): List<StackTraceElement> { in creationStackTrace() 169 …private tailrec suspend fun SequenceScope<StackTraceElement>.yieldFrames(frame: CoroutineStackFram… in yieldFrames()
|
/external/webrtc/sdk/android/native_api/stacktrace/ |
D | stacktrace.h | 19 struct StackTraceElement { struct 34 std::vector<StackTraceElement> GetStackTrace(int tid); argument 37 std::vector<StackTraceElement> GetStackTrace(); 41 const std::vector<StackTraceElement>& stack_trace);
|
D | stacktrace.cc | 209 std::vector<StackTraceElement> FormatStackTrace( in FormatStackTrace() 211 std::vector<StackTraceElement> stack_trace; in FormatStackTrace() 223 StackTraceElement stack_trace_element; in FormatStackTrace() 237 std::vector<StackTraceElement> GetStackTrace(int tid) { in GetStackTrace() 257 std::vector<StackTraceElement> GetStackTrace() { in GetStackTrace() 267 const std::vector<StackTraceElement>& stack_trace) { in StackTraceToString() 271 const StackTraceElement& stack_trace_element = stack_trace[i]; in StackTraceToString()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/ |
D | CoroutineDebugging.kt | 34 …fun coroutineCreation(): StackTraceElement = Exception().artificialFrame(_CREATION::class.java.sim… in coroutineCreation() 46 …fun coroutineBoundary(): StackTraceElement = Exception().artificialFrame(_BOUNDARY::class.java.sim… in coroutineCreation() 64 private fun Throwable.artificialFrame(name: String): StackTraceElement = in coroutineCreation() 65 …with(stackTrace[0]) { StackTraceElement(ARTIFICIAL_FRAME_PACKAGE_NAME + "." + name, "_", fileName,… in coroutineCreation()
|
/external/testng/src/main/java/org/testng/ |
D | SkipException.java | 14 private StackTraceElement[] m_stackTrace; 47 StackTraceElement[] newStack= new StackTraceElement[1]; in reduceStackTrace() 48 StackTraceElement[] originalStack= getStackTrace(); in reduceStackTrace()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | Allocation.java | 38 private static final Interner<StackTraceElement> steInterner = Interners.newWeakInterner(); 52 private final ImmutableList<StackTraceElement> location; 54 Allocation(String description, long size, List<StackTraceElement> location) { in Allocation() 57 ImmutableList.Builder<StackTraceElement> locationBuilder = ImmutableList.builder(); in Allocation() 58 for (StackTraceElement ste : location) { in Allocation()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | StackTracker.java | 66 public static String stackToString(StackTraceElement[] stackTrace, int skip) { in stackToString() 116 public static StackTraceElement currentElement(int skip) { in currentElement() 129 public static StackTraceElement firstCallerMatching(Predicate<StackTraceElement> matchFirst) { in firstCallerMatching() 130 final StackTraceElement stacks[] = Thread.currentThread().getStackTrace(); in firstCallerMatching()
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | InlineByteBuddyMockMakerTest.java | 180 StackTraceElement[] stack = new StackTraceElement[]{ in should_remove_recursive_self_call_from_stack_trace() 181 new StackTraceElement("foo", "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 182 new StackTraceElement(SampleInterface.class.getName(), "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 183 new StackTraceElement("qux", "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 184 new StackTraceElement("bar", "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 185 new StackTraceElement("baz", "", "", -1) in should_remove_recursive_self_call_from_stack_trace() 192 assertThat(throwable.getStackTrace()).isEqualTo(new StackTraceElement[]{ in should_remove_recursive_self_call_from_stack_trace() 193 new StackTraceElement("foo", "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 194 new StackTraceElement("bar", "", "", -1), in should_remove_recursive_self_call_from_stack_trace() 195 new StackTraceElement("baz", "", "", -1) in should_remove_recursive_self_call_from_stack_trace() [all …]
|