Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 19 of 19) sorted by relevance

/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java40 private int depth; field in KXmlSerializer
90 depth++; in check()
93 if (indent.length <= depth) { in check()
94 boolean[] hlp = new boolean[depth + 4]; in check()
95 System.arraycopy(indent, 0, hlp, 0, depth); in check()
98 indent[depth] = indent[depth - 1]; in check()
100 for (int i = nspCounts[depth - 1]; i < nspCounts[depth]; i++) { in check()
113 if (nspCounts.length <= depth + 1) { in check()
114 int[] hlp = new int[depth + 8]; in check()
115 System.arraycopy(nspCounts, 0, hlp, 0, depth + 1); in check()
[all …]
DKXmlParser.java132 private int depth; field in KXmlParser
215 int j = (nspCounts[depth]++) << 1; in adjustNsp()
326 depth--; in next()
394 if (depth == 0 && isWhitespace) { in next()
431 if (depth == 0 && (type == ENTITY_REF || type == TEXT || type == CDSECT)) { in next()
760 int depth = 0; in readContentSpec() local
763 depth++; in readContentSpec()
765 depth--; in readContentSpec()
772 } while (depth > 0); in readContentSpec()
971 int sp = (depth - 1) * 4; in readEndTag()
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPolicyNodeImpl.java245 void prune(int depth) { in prune() argument
256 node.prune(depth); in prune()
259 if ((node.mChildren.size() == 0) && (depth > mDepth + 1)) in prune()
302 Set<PolicyNodeImpl> getPolicyNodes(int depth) { in getPolicyNodes() argument
304 getPolicyNodes(depth, set); in getPolicyNodes()
312 private void getPolicyNodes(int depth, Set<PolicyNodeImpl> set) { in getPolicyNodes() argument
314 if (mDepth == depth) { in getPolicyNodes()
318 node.getPolicyNodes(depth, set); in getPolicyNodes()
334 Set<PolicyNodeImpl> getPolicyNodesExpected(int depth, in getPolicyNodesExpected() argument
338 return getPolicyNodes(depth); in getPolicyNodesExpected()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DRegexpPool.java105 if (p.result != null && p.depth < BIG in delete()
117 if (p.result != null && p.depth < BIG) { in delete()
202 if (p.result != null && p.depth < lastMatchDepth in matchAfter()
204 lastDepth = p.depth; in matchAfter()
216 if (p.result != null && p.depth < lastMatchDepth) { in matchAfter()
217 lastDepth = p.depth; in matchAfter()
265 int depth; field in RegexpNode
272 depth = 0; in RegexpNode()
274 RegexpNode (char C, int depth) { in RegexpNode() argument
276 this.depth = depth; in RegexpNode()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DAbstractPipeline.java110 private int depth; field in AbstractPipeline
170 this.depth = 0; in AbstractPipeline()
191 this.depth = 0; in AbstractPipeline()
215 this.depth = previousStage.depth + 1; in AbstractPipeline()
259 depth = 0; in evaluateToArrayNode()
417 int depth = 1; in sourceSpliterator() local
424 depth = 0; in sourceSpliterator()
443 p.depth = depth++; in sourceSpliterator()
462 while (p.depth > 0) { in getSourceShape()
498 while (p.depth > 0) { in copyIntoWithCancel()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java669 final int depth, final Vector<ThreadGroup> allCreated) { in asyncBuildRandomTreeUnder() argument
670 if (depth <= 0) { in asyncBuildRandomTreeUnder()
677 final String name = " Depth = " + depth + ",N = " + iClone in asyncBuildRandomTreeUnder()
686 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated); in asyncBuildRandomTreeUnder()
695 final int depth) { in asyncBuildRandomTreeUnder() argument
697 asyncBuildRandomTreeUnder(aGroup, depth, result); in asyncBuildRandomTreeUnder()
730 private static Vector<ThreadGroup> buildRandomTreeUnder(ThreadGroup aGroup, int depth) { in buildRandomTreeUnder() argument
731 Vector<ThreadGroup> result = asyncBuildRandomTreeUnder(aGroup, depth); in buildRandomTreeUnder()
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java372 final int depth = pp.getDepth() - 1; in parseSubTree() local
374 (level > depth) ? pp.getNamespaceCount(depth) : 0; in parseSubTree()
376 final int count = pp.getNamespaceCount(depth + 1); in parseSubTree()
427 final int depth = pp.getDepth(); in parseSubTree() local
429 (level > depth) ? pp.getNamespaceCount(pp.getDepth()) : 0; in parseSubTree()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java391 for (int depth=0; depth < 6; depth++) { in testSplitSixDeep()
398 …splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), fal… in testSplitSixDeep()
404 …splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), tru… in testSplitSixDeep()
409 static void splitSixDeepVisitorUnsafe(int depth, int curLevel, List dest, in splitSixDeepVisitorUnsafe() argument
412 …splitSixDeepVisitor(depth, curLevel, dest, spliterator, boxingAdapter, rootCharacteristics, useTry… in splitSixDeepVisitorUnsafe()
419 void splitSixDeepVisitor(int depth, int curLevel, in splitSixDeepVisitor() argument
423 if (curLevel < depth) { in splitSixDeepVisitor()
435 …splitSixDeepVisitorUnsafe(depth, curLevel + 1, dest, split, boxingAdapter, rootCharacteristics, us… in splitSixDeepVisitor()
438 …splitSixDeepVisitor(depth, curLevel + 1, dest, spliterator, boxingAdapter, rootCharacteristics, us… in splitSixDeepVisitor()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java391 for (int depth=0; depth < 6; depth++) { in testSplitSixDeep()
398 …splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), fal… in testSplitSixDeep()
404 …splitSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), tru… in testSplitSixDeep()
409 static void splitSixDeepVisitorUnsafe(int depth, int curLevel, List dest, in splitSixDeepVisitorUnsafe() argument
412 …splitSixDeepVisitor(depth, curLevel, dest, spliterator, boxingAdapter, rootCharacteristics, useTry… in splitSixDeepVisitorUnsafe()
419 void splitSixDeepVisitor(int depth, int curLevel, in splitSixDeepVisitor() argument
423 if (curLevel < depth) { in splitSixDeepVisitor()
435 …splitSixDeepVisitorUnsafe(depth, curLevel + 1, dest, split, boxingAdapter, rootCharacteristics, us… in splitSixDeepVisitor()
438 …splitSixDeepVisitor(depth, curLevel + 1, dest, spliterator, boxingAdapter, rootCharacteristics, us… in splitSixDeepVisitor()
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java561 int depth = stack.length; in inferCaller() local
565 for (int ix = 0; ix < depth; ix++) { in inferCaller()
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java286 int depth = stack.size(); in visit() local
287 if (depth >= maxDepth || !attrs.isDirectory()) { in visit()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java564 int getNamespaceCount(int depth) throws XmlPullParserException; in getNamespaceCount() argument
/libcore/ojluni/src/main/java/java/io/
DObjectInputStream.java286 private int depth; field in ObjectInputStream
433 if (depth == 0) { in readObject()
439 if (closed && depth == 0) { in readObject()
523 if (depth == 0) { in readUnshared()
529 if (closed && depth == 0) { in readUnshared()
630 if (depth == 0) { in registerValidation()
948 if (depth == 0) { in close()
1383 depth++; in readObject0()
1443 depth--; in readObject0()
2150 if (depth > 0) { in handleReset()
[all …]
DObjectOutputStream.java186 private int depth; field in ObjectOutputStream
356 if (depth == 0) { in writeObject()
439 if (depth == 0) { in writeUnshared()
519 if (depth != 0) { in reset()
1132 depth++; in writeObject0()
1244 depth--; in writeObject0()
1476 (depth == 1 ? "root " : "") + "object (class \"" + in writeOrdinaryObject()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java782 private int depth = 0; field in ExpatParser.EntityParser
796 if (depth++ > 0) { in startElement()
805 if (--depth > 0) { in endElement()
/libcore/ojluni/src/main/java/java/util/
DDate.java479 int depth = 1; in parse() local
483 if (c == '(') depth++; in parse()
485 if (--depth <= 0) in parse()
/libcore/luni/src/test/java/libcore/xml/
DXmlPullParserFactoryTest.java258 public int getNamespaceCount(int depth) throws XmlPullParserException { in getNamespaceCount() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java283 private int depth; field in ObjectOutputStream
DObjectInputStream.java303 private int depth; field in ObjectInputStream