Home
last modified time | relevance | path

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

12

/dalvik/libcore/xml/src/main/java/org/kxml2/io/
DKXmlSerializer.java43 private int depth; field in KXmlSerializer
58 depth++; in check()
61 if (indent.length <= depth) { in check()
62 boolean[] hlp = new boolean[depth + 4]; in check()
63 System.arraycopy(indent, 0, hlp, 0, depth); in check()
66 indent[depth] = indent[depth - 1]; in check()
68 for (int i = nspCounts[depth - 1]; in check()
69 i < nspCounts[depth]; in check()
84 if (nspCounts.length <= depth + 1) { in check()
85 int[] hlp = new int[depth + 8]; in check()
[all …]
DKXmlParser.java49 private int depth; field in KXmlParser
141 int j = (nspCounts[depth]++) << 1; in adjustNsp()
261 depth--;
287 && (stackMismatch > 0 || (peek(0) == -1 && depth > 0))) {
288 int sp = (depth - 1) << 2;
326 if (depth == 0) {
524 int sp = (depth - 1) << 2; in parseEndTag()
526 if (depth == 0) { in parseEndTag()
690 int sp = depth++ << 2; in parseStartTag()
695 if (depth >= nspCounts.length) { in parseStartTag()
[all …]
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/
DExpatPullParser.java148 public int getNamespaceCount(int depth) throws XmlPullParserException { in getNamespaceCount() argument
149 return document.currentEvent.namespaceStack.countAt(depth); in getNamespaceCount()
365 private final int depth; field in ExpatPullParser.NamespaceStack
374 String uri, int depth) { in NamespaceStack() argument
379 this.depth = depth; in NamespaceStack()
397 this.depth = 0; in NamespaceStack()
444 int countAt(int depth) { in countAt() argument
445 if (depth > this.depth) { in countAt()
448 if (depth < 0) { in countAt()
453 while (depth < node.depth) { in countAt()
[all …]
DExpatParser.java755 private int depth = 0; field in ExpatParser.EntityParser
769 if (depth++ > 0) { in startElement()
778 if (--depth > 0) { in endElement()
/dalvik/tests/067-preemptive-unpark/src/
DMain.java64 private static void clearStack(int depth) { in clearStack() argument
76 if (depth > 0) { in clearStack()
77 clearStack(depth - 1); in clearStack()
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DPKIXPolicyNode.java14 protected int depth; field in PKIXPolicyNode
37 depth = _depth; in PKIXPolicyNode()
59 return depth; in getDepth()
151 depth, in copy()
/dalvik/libcore/xml/src/main/java/org/kxml2/wap/
DWbxmlParser.java61 private int depth; field in WbxmlParser
117 public int getNamespaceCount(int depth) { in getNamespaceCount() argument
118 if (depth > this.depth) in getNamespaceCount()
120 return nspCounts[depth]; in getNamespaceCount()
138 for (int i = (getNamespaceCount(depth) << 1) - 2; in getNamespace()
152 return depth; in getDepth()
513 int j = (nspCounts[depth]++) << 1; in adjustNsp()
646 depth--; in nextImpl()
674 int sp = (depth - 1) << 2; in nextImpl()
913 int sp = depth++ << 2; in parseElement()
[all …]
DWbxmlSerializer.java50 int depth; field in WbxmlSerializer
94 return depth; in getDepth()
284 depth++; in startTag()
367 depth--; in endTag()
/dalvik/tests/074-gc-thrash/src/
DMain.java253 private String dive(int depth, int iteration) { in dive() argument
293 strong[depth] = funStr; in dive()
294 weak[depth] = new WeakReference(funStr); in dive()
296 if (depth+1 < MAX_DEPTH) in dive()
297 dive(depth+1, iteration+1); in dive()
/dalvik/vm/jdwp/
DJdwpConstants.c179 const char* dvmJdwpStepDepthStr(enum JdwpStepDepth depth) in dvmJdwpStepDepthStr() argument
181 switch (depth) { in dvmJdwpStepDepthStr()
DJdwpEvent.h73 int depth; /* JdwpStepDepth */ member
DJdwpConstants.h157 const char* dvmJdwpStepDepthStr(enum JdwpStepDepth depth);
/dalvik/vm/mterp/portable/
Ddebug.c93 if (pCtrl->depth == SD_INTO) { in updateDebugger()
110 } else if (pCtrl->depth == SD_OVER) { in updateDebugger()
135 assert(pCtrl->depth == SD_OUT); in updateDebugger()
/dalvik/vm/interp/
DInterp.h42 bool dvmAddSingleStep(Thread* thread, int size, int depth);
DStack.c988 int idx, depth; in dvmCreateStackTraceArray() local
990 depth = dvmComputeExactFrameDepth(fp); in dvmCreateStackTraceArray()
991 array = (const Method**) malloc(depth * sizeof(Method*)); in dvmCreateStackTraceArray()
999 assert(idx == depth); in dvmCreateStackTraceArray()
1002 *pLength = depth; in dvmCreateStackTraceArray()
/dalvik/vm/
DAllocTracker.c391 int depth; in generateBaseOutput() local
392 for (depth = 0; depth < kMaxAllocRecordStackDepth; depth++) { in generateBaseOutput()
393 if (pRec->stackElem[depth].method == NULL) in generateBaseOutput()
403 set1(&ptr[8], depth); in generateBaseOutput()
409 for (i = 0; i < depth; i++) { in generateBaseOutput()
DDebugger.h65 enum JdwpStepDepth depth; member
280 enum JdwpStepDepth depth);
/dalvik/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()
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/
DVM.java57 static final ClassLoader getStackClassLoader(int depth) { in getStackClassLoader() argument
/dalvik/hit/src/com/android/hit/
DState.java87 int depth) { in getStackTraceAtDepth() argument
88 return mCurrentHeap.getStackTraceAtDepth(traceSerialNumber, depth); in getStackTraceAtDepth()
DHeap.java68 int depth) { in getStackTraceAtDepth() argument
72 trace = trace.fromDepth(depth); in getStackTraceAtDepth()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DClassLoader.java846 static final ClassLoader getStackClassLoader(int depth) { in getStackClassLoader() argument
847 Class<?>[] stack = VMStack.getClasses(depth + 1, false); in getStackClassLoader()
848 if(stack.length < depth + 1) { in getStackClassLoader()
851 return stack[depth].getClassLoader(); in getStackClassLoader()
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java564 int getNamespaceCount(int depth) throws XmlPullParserException; in getNamespaceCount() argument
/dalvik/docs/
Dprettify.js469 var depth = 1;
475 if (--depth === 0) { break end_tag_loop; }
477 ++depth;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DThreadGroupTest.java1726 final int depth, final Vector<ThreadGroup> allCreated) { in asyncBuildRandomTreeUnder() argument
1727 if (depth <= 0) { in asyncBuildRandomTreeUnder()
1734 final String name = " Depth = " + depth + ",N = " + iClone in asyncBuildRandomTreeUnder()
1743 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated); in asyncBuildRandomTreeUnder()
1752 final int depth) { in asyncBuildRandomTreeUnder() argument
1754 asyncBuildRandomTreeUnder(aGroup, depth, result); in asyncBuildRandomTreeUnder()
1845 private Vector<ThreadGroup> buildRandomTreeUnder(ThreadGroup aGroup, int depth) { in buildRandomTreeUnder() argument
1846 Vector<ThreadGroup> result = asyncBuildRandomTreeUnder(aGroup, depth); in buildRandomTreeUnder()

12