/libcore/benchmarks/src/benchmarks/ |
H A D | GetInstancesOfClassesBenchmark.java | 26 public ObjectTree(int depth) { argument 27 if (depth > 1) { 28 left = new ObjectTree(depth - 1); 29 right = new ObjectTree(depth - 1);
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | RegexpPool.java | 105 if (p.result != null && p.depth < BIG 117 if (p.result != null && p.depth < BIG) { 202 if (p.result != null && p.depth < lastMatchDepth 204 lastDepth = p.depth; 216 if (p.result != null && p.depth < lastMatchDepth) { 217 lastDepth = p.depth; 265 int depth; field in class:RegexpNode 272 depth = 0; 274 RegexpNode (char C, int depth) { argument 276 this.depth [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ThreadGroupTest.java | 669 final int depth, final Vector<ThreadGroup> allCreated) { 670 if (depth <= 0) { 677 final String name = " Depth = " + depth + ",N = " + iClone 686 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated); 695 final int depth) { 697 asyncBuildRandomTreeUnder(aGroup, depth, result); 730 private static Vector<ThreadGroup> buildRandomTreeUnder(ThreadGroup aGroup, int depth) { argument 731 Vector<ThreadGroup> result = asyncBuildRandomTreeUnder(aGroup, depth); 668 asyncBuildRandomTreeUnder(final ThreadGroup aGroup, final int depth, final Vector<ThreadGroup> allCreated) argument 694 asyncBuildRandomTreeUnder(final ThreadGroup aGroup, final int depth) argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | AbstractPipeline.java | 109 private int depth; field in class:AbstractPipeline 169 this.depth = 0; 190 this.depth = 0; 214 this.depth = previousStage.depth + 1; 253 // Set the depth of this, last, pipeline stage to zero to slice the 257 depth = 0; 413 // The depth and flags of each pipeline stage are adjusted accordingly. 414 int depth = 1; 421 depth [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | PolicyNodeImpl.java | 66 // the tree depth 241 * Removes all paths which don't reach the specified depth. 243 * @param depth an int representing the desired minimum depth of all paths 245 void prune(int depth) { argument 256 node.prune(depth); 259 if ((node.mChildren.size() == 0) && (depth > mDepth + 1)) 297 * Returns all nodes at the specified depth in the tree. 299 * @param depth an int representing the depth o 302 getPolicyNodes(int depth) argument 312 getPolicyNodes(int depth, Set<PolicyNodeImpl> set) argument 334 getPolicyNodesExpected(int depth, String expectedOID, boolean matchAny) argument 344 getPolicyNodesExpectedHelper(int depth, String expectedOID, boolean matchAny) argument 376 getPolicyNodesValid(int depth, String validOID) argument [all...] |
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | SpliteratorTestHelper.java | 391 for (int depth=0; depth < 6; depth++) { 398 splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), false); 404 splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), true); 409 static void splitSixDeepVisitorUnsafe(int depth, int curLevel, List dest, argument 412 splitSixDeepVisitor(depth, curLevel, dest, spliterator, boxingAdapter, rootCharacteristics, useTryAdvance); 419 void splitSixDeepVisitor(int depth, int curLevel, argument 423 if (curLevel < depth) { 435 splitSixDeepVisitorUnsafe(depth, curLeve [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | SpliteratorTestHelper.java | 391 for (int depth=0; depth < 6; depth++) { 398 splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), false); 404 splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), true); 409 static void splitSixDeepVisitorUnsafe(int depth, int curLevel, List dest, argument 412 splitSixDeepVisitor(depth, curLevel, dest, spliterator, boxingAdapter, rootCharacteristics, useTryAdvance); 419 void splitSixDeepVisitor(int depth, int curLevel, argument 423 if (curLevel < depth) { 435 splitSixDeepVisitorUnsafe(depth, curLeve [all...] |
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 40 private int depth; field in class:KXmlSerializer 90 depth++; 93 if (indent.length <= depth) { 94 boolean[] hlp = new boolean[depth + 4]; 95 System.arraycopy(indent, 0, hlp, 0, depth); 98 indent[depth] = indent[depth - 1]; 100 for (int i = nspCounts[depth - 1]; i < nspCounts[depth]; i++) { 113 if (nspCounts.length <= depth [all...] |
H A D | KXmlParser.java | 132 private int depth; field in class:KXmlParser 166 // true iff. we've encountered the START_TAG of an XML element at depth == 0; 215 int j = (nspCounts[depth]++) << 1; 326 depth--; 394 if (depth == 0 && isWhitespace) { 431 if (depth == 0 && (type == ENTITY_REF || type == TEXT || type == CDSECT)) { 760 int depth = 0; 763 depth++; 765 depth--; 772 } while (depth > 1829 getNamespaceCount(int depth) argument [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParser.java | 542 * depth. 564 int getNamespaceCount(int depth) throws XmlPullParserException; argument 626 * Returns the current depth of the element. 627 * Outside the root element, the depth is 0. The 628 * depth is incremented by 1 when a start tag is reached. 629 * The depth is decremented AFTER the end tag
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatParser.java | 773 private int depth = 0; field in class:ExpatParser.EntityParser 787 if (depth++ > 0) { 796 if (--depth > 0) {
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XmlPullParserFactoryTest.java | 258 public int getNamespaceCount(int depth) throws XmlPullParserException { argument
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 185 /** recursion depth */ 186 private int depth; field in class:ObjectOutputStream 356 if (depth == 0) { 439 if (depth == 0) { 519 if (depth != 0) { 1132 depth++; 1244 depth--; 1476 (depth == 1 ? "root " : "") + "object (class \"" +
|
H A D | ObjectInputStream.java | 246 /** recursion depth */ 247 private int depth; field in class:ObjectInputStream 379 if (depth == 0) { 385 if (closed && depth == 0) { 469 if (depth == 0) { 475 if (closed && depth == 0) { 576 if (depth == 0) { 894 if (depth == 0) { 1326 depth++; 1384 depth [all...] |