/libcore/json/src/main/java/org/json/ |
D | JSONStringer.java | 117 private final List<Scope> stack = new ArrayList<Scope>(); field in JSONStringer 181 if (stack.isEmpty() && out.length() > 0) { in open() 185 stack.add(empty); in open() 201 stack.remove(stack.size() - 1); in close() 214 if (stack.isEmpty()) { in peek() 217 return stack.get(stack.size() - 1); in peek() 225 stack.set(stack.size() - 1, topOfStack); in replaceTop() 237 if (stack.isEmpty()) { in value() 273 if (stack.isEmpty()) { in value() 289 if (stack.isEmpty()) { in value() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeWalker.java | 61 private final ArrayDeque<DirectoryNode> stack = new ArrayDeque<>(); field in FileTreeWalker 239 for (DirectoryNode ancestor: stack) { in wouldLoop() 286 int depth = stack.size(); in visit() 310 stack.push(new DirectoryNode(entry, attrs.fileKey(), stream)); in visit() 334 DirectoryNode top = stack.peek(); in next() 367 stack.pop(); in next() 388 if (!stack.isEmpty()) { in pop() 389 DirectoryNode node = stack.pop(); in pop() 401 if (!stack.isEmpty()) { in skipRemainingSiblings() 402 stack.peek().skip(); in skipRemainingSiblings() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | CloseGuard.java | 237 Throwable stack = new Throwable(message); in open() local 238 closerNameOrAllocationInfo = stack; in open() 241 tracker.open(stack); in open() 285 Throwable stack = (Throwable) closerNameOrAllocationInfo; in warnIfOpen() local 286 reporter.report(message, stack); in warnIfOpen()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | StackTest.java | 133 Stack<Object> stack = new Stack<Object>(); in test_pushLjava_lang_Object() local 135 stack.push(array[i]); in test_pushLjava_lang_Object() 138 assertEquals(array.length - i, stack.search(array[i])); in test_pushLjava_lang_Object()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogRecord.java | 560 StackTraceElement[] stack = VMStack.getThreadStackTrace(Thread.currentThread()); in inferCaller() local 561 int depth = stack.length; in inferCaller() 572 StackTraceElement frame = stack[ix]; in inferCaller()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 69 Stack<Integer> stack = new Stack<>(); in createCollections() local 70 stack.addAll(content); in createCollections() 71 collections.add(stack); in createCollections()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/file/ |
D | FileTreeWalker.java | 94 private final java.util.ArrayDeque<java.nio.file.FileTreeWalker.DirectoryNode> stack; field in FileTreeWalker 97 stack = null;
|
/libcore/mmodules/core_platform_api/ |
D | Android.bp | 16 // of the Android software stack: these include the public SDK APIs plus some 17 // "core platform APIs" that only the Android software stack can use.
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 2533 private final List<String> stack; field in ObjectOutputStream.DebugTraceInfoStack 2536 stack = new ArrayList<>(); in DebugTraceInfoStack() 2543 stack.clear(); in clear() 2550 stack.remove(stack.size()-1); in pop() 2557 stack.add("\t- " + entry); in push() 2565 if (!stack.isEmpty()) { in toString() 2566 for(int i = stack.size(); i > 0; i-- ) { in toString() 2567 buffer.append(stack.get(i-1) + ((i != 1) ? "\n" : "")); in toString()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 528 Deque<SplitNode<T>> stack = new ArrayDeque<>(); in testSplitUntilNull() local 529 stack.push(e); in testSplitUntilNull() 532 while (!stack.isEmpty()) { in testSplitUntilNull() 535 e = stack.pop(); in testSplitUntilNull() 578 stack.push(e.fromSplit(parentAndRightSplit)); in testSplitUntilNull() 579 stack.push(e.fromSplit(leftSplit)); in testSplitUntilNull()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 528 Deque<SplitNode<T>> stack = new ArrayDeque<>(); in testSplitUntilNull() local 529 stack.push(e); in testSplitUntilNull() 532 while (!stack.isEmpty()) { in testSplitUntilNull() 535 e = stack.pop(); in testSplitUntilNull() 578 stack.push(e.fromSplit(parentAndRightSplit)); in testSplitUntilNull() 579 stack.push(e.fromSplit(leftSplit)); in testSplitUntilNull()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Nodes.java | 963 Deque<N> stack = new ArrayDeque<>(8); in initStack() local 965 stack.addFirst((N) curNode.getChild(i)); in initStack() 966 return stack; in initStack() 974 protected final N findNextLeafNode(Deque<N> stack) { in findNextLeafNode() argument 976 while ((n = stack.pollFirst()) != null) { in findNextLeafNode() 982 stack.addFirst((N) n.getChild(i)); in findNextLeafNode() 1094 Deque<Node<T>> stack = initStack(); in forEachRemaining() local 1096 while ((leaf = findNextLeafNode(stack)) != null) { in forEachRemaining() 1148 Deque<N> stack = initStack(); in forEachRemaining() local 1150 while ((leaf = findNextLeafNode(stack)) != null) { in forEachRemaining()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | MethodTest.java | 648 StackTraceElement[] stack = Thread.currentThread().getStackTrace(); in identifyCaller() local 650 while (!stack[i++].getMethodName().equals("identifyCaller")) {} in identifyCaller() 651 return stack[i].getClassName(); in identifyCaller()
|
/libcore/mmodules/intracoreapi/ |
D | Android.bp | 17 // for use by other parts of the Android software stack.
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectOutputStream.java | 544 private final java.util.List<java.lang.String> stack; field in ObjectOutputStream.DebugTraceInfoStack 547 stack = null;
|
/libcore/ |
D | JavaLibrary.bp | 20 // Android software stack. It is made up of various parts, some of which can be
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |
/libcore/expectations/ |
D | knownfailures.txt | 1454 description: "Recursive calls to Charset.forName from within providers will overflow the stack.",
|