/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | DalvikThreadSampler.java | 24 private int depth; field in DalvikThreadSampler 31 @Override public void setDepth(int depth) { in setDepth() argument 32 this.depth = depth; in setDepth() 33 this.mutableStackTraceElements = new StackTraceElement[depth+1][]; in setDepth() 40 int count = VMStack.fillStackTraceElements(thread, mutableStackTraceElements[depth]); in getStackTrace() 44 if (count < depth) { in getStackTrace() 45 System.arraycopy(mutableStackTraceElements[depth], 0, in getStackTrace()
|
D | PortableThreadSampler.java | 27 private int depth; field in PortableThreadSampler 29 @Override public void setDepth(int depth) { in setDepth() argument 30 this.depth = depth; in setDepth() 38 if (stackFrames.length > depth) { in getStackTrace() 39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth); in getStackTrace()
|
D | SamplingProfiler.java | 86 private final int depth; field in SamplingProfiler 155 public SamplingProfiler(int depth, ThreadSet threadSet) { in SamplingProfiler() argument 156 this.depth = depth; in SamplingProfiler() 159 threadSampler.setDepth(depth); in SamplingProfiler() 161 hprofData.setDepth(depth); in SamplingProfiler()
|
D | ThreadSampler.java | 31 public void setDepth(int depth); in setDepth() argument
|
D | HprofData.java | 252 private int depth; field in HprofData 313 return depth; in getDepth() 319 public void setDepth(int depth) { in setDepth() argument 320 this.depth = depth; in setDepth()
|
D | BinaryHprofWriter.java | 86 private void writeControlSettings(int flags, int depth) throws IOException { in writeControlSettings() argument 87 if (depth > Short.MAX_VALUE) { in writeControlSettings() 89 + depth + " > " + Short.MAX_VALUE); in writeControlSettings() 95 out.writeShort((short) depth); in writeControlSettings()
|
D | BinaryHprofReader.java | 239 short depth = in.readShort(); in parseControlSettings() local 242 System.out.println("\tdepth=" + depth); in parseControlSettings() 245 hprofData.setDepth(depth); in parseControlSettings()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 44 private int depth; field in KXmlSerializer 59 depth++; in check() 62 if (indent.length <= depth) { in check() 63 boolean[] hlp = new boolean[depth + 4]; in check() 64 System.arraycopy(indent, 0, hlp, 0, depth); in check() 67 indent[depth] = indent[depth - 1]; in check() 69 for (int i = nspCounts[depth - 1]; i < nspCounts[depth]; i++) { in check() 83 if (nspCounts.length <= depth + 1) { in check() 84 int[] hlp = new int[depth + 8]; in check() 85 System.arraycopy(nspCounts, 0, hlp, 0, depth + 1); in check() [all …]
|
D | KXmlParser.java | 132 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() 759 int depth = 0; in readContentSpec() local 762 depth++; in readContentSpec() 764 depth--; in readContentSpec() 771 } while (depth > 0); in readContentSpec() 970 int sp = (depth - 1) * 4; in readEndTag() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadGroupTest.java | 668 final int depth, final Vector<ThreadGroup> allCreated) { in asyncBuildRandomTreeUnder() argument 669 if (depth <= 0) { in asyncBuildRandomTreeUnder() 676 final String name = " Depth = " + depth + ",N = " + iClone in asyncBuildRandomTreeUnder() 685 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated); in asyncBuildRandomTreeUnder() 694 final int depth) { in asyncBuildRandomTreeUnder() argument 696 asyncBuildRandomTreeUnder(aGroup, depth, result); in asyncBuildRandomTreeUnder() 729 private static Vector<ThreadGroup> buildRandomTreeUnder(ThreadGroup aGroup, int depth) { in buildRandomTreeUnder() argument 730 Vector<ThreadGroup> result = asyncBuildRandomTreeUnder(aGroup, depth); in buildRandomTreeUnder()
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
D | Driver.java | 372 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/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidMonitorTest.java | 295 private static void deepWait(int depth, Object lock) { in deepWait() argument 297 if (depth > 0) { in deepWait() 298 deepWait(depth - 1, lock); in deepWait()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParser.java | 564 int getNamespaceCount(int depth) throws XmlPullParserException; in getNamespaceCount() argument
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 766 private int depth = 0; field in ExpatParser.EntityParser 780 if (depth++ > 0) { in startElement() 789 if (--depth > 0) { in endElement()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 258 public int getNamespaceCount(int depth) throws XmlPullParserException { in getNamespaceCount() argument
|