/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | WalkFunction.java | 33 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()
|
D | LocalsAndOperands.java | 46 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 …]
|
D | StackStreamState.java | 33 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()
|
D | Basic.java | 34 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()
|
D | NativeMethod.java | 34 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()
|
D | HiddenFrames.java | 34 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()
|
D | StackStreamTest.java | 27 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()
|
D | AcrossThreads.java | 40 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()
|
D | SanityTest.java | 90 sw.forEach(StackWalker.StackFrame::getDeclaringClass); in testUOEFromGetDeclaringClass() 100 sw.forEach(StackWalker.StackFrame::getMethodType); in testUOEFromGetMethodType()
|
D | EmbeddedStackWalkTest.java | 35 import java.lang.StackWalker.StackFrame; 79 s.map(StackFrame::getClassName) in call() 126 s.map(StackFrame::getClassName) in call()
|
D | StackRecorderUtil.java | 27 import java.lang.StackWalker.StackFrame; 65 public void compareFrame(int index, StackFrame sf) { in compareFrame()
|
D | VerifyStackTrace.java | 31 import java.lang.StackWalker.StackFrame; 283 public void recordSTE(long counter, StringBuilder s, StackFrame f) { in recordSTE()
|
D | ReflectionFrames.java | 33 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()
|
D | StackWalkTest.java | 27 import java.lang.StackWalker.StackFrame; 126 public void consume(StackFrame sf) { in consume()
|
D | MultiThreadStackWalk.java | 33 import java.lang.StackWalker.StackFrame; 130 public void consume(StackFrame sfi) { in consume()
|
/libcore/luni/src/test/dex_src/libcore/java/lang/stackwalker/ |
D | Test1.java | 19 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/ |
D | StackStreamFactory.java | 29 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 …]
|
D | LiveStackFrame.java | 27 import java.lang.StackWalker.StackFrame; 44 interface LiveStackFrame extends StackFrame {
|
D | StackFrameInfo.java | 28 import java.lang.StackWalker.StackFrame; 31 class StackFrameInfo implements StackFrame {
|
D | StackWalker.java | 101 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/ |
D | StackWalkerTest.java | 27 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/ |
D | current.txt | 3969 … 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 {
|