Home
last modified time | relevance | path

Searched refs:StackFrame (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/test/java/lang/StackWalker/
DWalkFunction.java33 import java.lang.StackWalker.StackFrame;
60 Optional<StackFrame> result = walker.walk(WalkFunction::reduce); in testFunctions()
66 static Optional<StackFrame> reduce(Stream<StackFrame> stream) { in reduce()
89 Function<? super Stream<? extends StackFrame>, Void> f1 = WalkFunction::function; in testWildcards()
90 Function<? super Stream<? super StackFrame>, Void> f2 = WalkFunction::function; in testWildcards()
91 Function<? super Stream<StackFrame>, Void> f3 = WalkFunction::function; in testWildcards()
92 Function<Stream<? extends StackFrame>, Void> f4 = WalkFunction::function; in testWildcards()
93 Function<Stream<? super StackFrame>, Void> f5 = WalkFunction::function; in testWildcards()
94 Function<Stream<StackFrame>, Void> f6 = WalkFunction::function; in testWildcards()
DLocalsAndOperands.java46 import java.lang.StackWalker.StackFrame;
127 static Object[] invokeGetLocals(StackFrame arg) { in invokeGetLocals()
139 public static StackFrame[][] knownLocalsProvider() { in knownLocalsProvider()
140 List<StackFrame[]> list = new ArrayList<>(3); in knownLocalsProvider()
147 return list.toArray(new StackFrame[1][1]); in knownLocalsProvider()
158 public static void checkLocalValues(StackFrame... frames) { in checkLocalValues()
170 private static void checkFrameLocals(StackFrame f) { in checkFrameLocals()
260 private synchronized StackFrame[] testLocalsUnused() { in testLocalsUnused()
270 .toArray(StackFrame[]::new) in testLocalsUnused()
278 private synchronized StackFrame[] testLocalsKeepAlive() { in testLocalsKeepAlive()
[all …]
DStackStreamState.java33 import java.lang.StackWalker.StackFrame;
45 private static Stream<StackFrame> staticStream;
46 private Stream<StackFrame> instanceStream;
74 Stream<StackFrame> stream = walker.walk(s -> { in testLocal()
79 void checkStreamState(Stream<StackFrame> stream) { in checkStreamState()
DBasic.java34 import java.lang.StackWalker.StackFrame;
83 List<StackFrame> frames = new StackBuilder(16, 16).build(); in testMethodSignature()
85 for (StackFrame f : frames) { in testMethodSignature()
128 List<StackFrame> frames = new StackBuilder(depth, limit).build(); in walk()
144 public boolean accept(StackFrame f) { in accept()
164 public String frame(StackFrame f) { in frame()
167 List<String> parse(Stream<StackFrame> s) { in parse()
181 private List<StackFrame> result;
186 List<StackFrame> build() { in build()
DNativeMethod.java34 import java.lang.StackWalker.StackFrame;
59 List<StackFrame> nativeFrames = walker.walk(s -> in walk()
60 s.filter(StackFrame::isNativeMethod) in walk()
65 for (StackFrame f : nativeFrames) { in walk()
DHiddenFrames.java34 import java.lang.StackWalker.StackFrame;
53 private final List<StackFrame> lambdas = new ArrayList<>();
54 private final List<StackFrame> reflects = new ArrayList<>();
107 void checkFrame(StackFrame frame) { in checkFrame()
DStackStreamTest.java27 import java.lang.StackWalker.StackFrame;
90 private static boolean isTestClass(StackFrame f) { in isTestClass()
127 .map(StackFrame::getClassName) in g()
136 .map(StackFrame::getMethodName) in g()
148 s.map(StackFrame::toStackTraceElement) in g()
159 … .collect(Collectors.mapping(StackFrame::toStackTraceElement, Collectors.toList())); in g()
208 Optional<StackFrame> frame = sw.walk(s -> in firstFrame()
DAcrossThreads.java40 import java.lang.StackWalker.StackFrame;
110 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
113 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
116 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
DSanityTest.java90 sw.forEach(StackWalker.StackFrame::getDeclaringClass); in testUOEFromGetDeclaringClass()
100 sw.forEach(StackWalker.StackFrame::getMethodType); in testUOEFromGetMethodType()
DEmbeddedStackWalkTest.java35 import java.lang.StackWalker.StackFrame;
79 s.map(StackFrame::getClassName) in call()
126 s.map(StackFrame::getClassName) in call()
DStackRecorderUtil.java27 import java.lang.StackWalker.StackFrame;
65 public void compareFrame(int index, StackFrame sf) { in compareFrame()
DVerifyStackTrace.java31 import java.lang.StackWalker.StackFrame;
283 public void recordSTE(long counter, StringBuilder s, StackFrame f) { in recordSTE()
DReflectionFrames.java33 import java.lang.StackWalker.StackFrame;
807 public boolean takeWhile(StackFrame f) { in takeWhile()
824 public boolean filter(StackFrame f) { in filter()
834 public String frame(StackFrame f) { in frame()
838 List<String> parse(Stream<StackFrame> s) { in parse()
DStackWalkTest.java27 import java.lang.StackWalker.StackFrame;
126 public void consume(StackFrame sf) { in consume()
DMultiThreadStackWalk.java33 import java.lang.StackWalker.StackFrame;
130 public void consume(StackFrame sfi) { in consume()
/libcore/luni/src/test/dex_src/libcore/java/lang/stackwalker/
DTest1.java19 import java.lang.StackWalker.StackFrame;
26 public static List<StackFrame> test() { in test()
27 List<StackFrame> result = invokeWalker(); in test()
31 private static List<StackFrame> invokeWalker() { in invokeWalker()
/libcore/ojluni/src/main/java/java/lang/
DStackStreamFactory.java29 import java.lang.StackWalker.StackFrame;
88 … makeStackTraverser(StackWalker walker, Function<? super Stream<StackFrame>, ? extends T> function) in makeStackTraverser() argument
508 implements Spliterator<StackFrame>
569 final Function<? super Stream<StackFrame>, ? extends T> function; // callback
572 Function<? super Stream<StackFrame>, ? extends T> function) { in StackFrameTraverser() argument
576 Function<? super Stream<StackFrame>, ? extends T> function, in StackFrameTraverser() argument
586 StackFrame nextStackFrame() { in nextStackFrame()
599 Stream<StackFrame> stream = StreamSupport.stream(this, false); in consumeFrames()
630 public Spliterator<StackFrame> trySplit() { in trySplit()
645 public void forEachRemaining(Consumer<? super StackFrame> action) { in forEachRemaining()
[all …]
DLiveStackFrame.java27 import java.lang.StackWalker.StackFrame;
44 interface LiveStackFrame extends StackFrame {
DStackFrameInfo.java28 import java.lang.StackWalker.StackFrame;
31 class StackFrameInfo implements StackFrame {
DStackWalker.java101 public interface StackFrame { interface in StackWalker
491 public <T> T walk(Function<? super Stream<StackFrame>, ? extends T> function) { in walk() argument
520 public void forEach(Consumer<? super StackFrame> action) { in forEach()
/libcore/luni/src/test/java/libcore/java/lang/
DStackWalkerTest.java27 import java.lang.StackWalker.StackFrame;
48 List<StackFrame> stackFrames = (List<StackFrame>) test1Class.getMethod("test") in testGetByteCodeIndex()
52 StackFrame f = stackFrames.get(0); in testGetByteCodeIndex()
/libcore/api/
Dcurrent.txt3969 … method public void forEach(java.util.function.Consumer<? super java.lang.StackWalker.StackFrame>);
3975 ….function.Function<? super java.util.stream.Stream<java.lang.StackWalker.StackFrame>,? extends T>);
3984 public static interface StackWalker.StackFrame {