Searched defs:depth (Results 1 - 19 of 19) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DDalvikThreadSampler.java24 private int depth; field in class:DalvikThreadSampler
27 * Reusable storage for sampling sized for the specified depth.
31 @Override public void setDepth(int depth) { argument
32 this.depth = depth;
33 this.mutableStackTraceElements = new StackTraceElement[depth+1][];
40 int count = VMStack.fillStackTraceElements(thread, mutableStackTraceElements[depth]);
44 if (count < depth) {
45 System.arraycopy(mutableStackTraceElements[depth], 0,
H A DPortableThreadSampler.java27 private int depth; field in class:PortableThreadSampler
29 @Override public void setDepth(int depth) { argument
30 this.depth = depth;
38 if (stackFrames.length > depth) {
39 stackFrames = Arrays.copyOfRange(stackFrames, 0, depth);
H A DThreadSampler.java29 * Used to specify the maximum stack depth to collect.
31 public void setDepth(int depth); argument
35 * maximum depth specified by {@link #setDepth setDepth}. May
H A DBinaryHprofWriter.java86 private void writeControlSettings(int flags, int depth) throws IOException { argument
87 if (depth > Short.MAX_VALUE) {
88 throw new IllegalArgumentException("depth too large for binary hprof: "
89 + depth + " > " + Short.MAX_VALUE);
95 out.writeShort((short) depth);
H A DHprofData.java250 * stack sampling depth
252 private int depth; field in class:HprofData
310 * Get the stack sampling depth
313 return depth;
317 * Set the stack sampling depth
319 public void setDepth(int depth) { argument
320 this.depth = depth;
H A DSamplingProfiler.java38 * SamplingProfiler}. It samples the current thread's stack to a depth
86 private final int depth; field in class:SamplingProfiler
128 * expected to be {@link #depth depth} or less in length.
134 * specified depth from the threads specified by the specified
137 * @param depth The maximum stack depth to retain for each sample
139 * than this will be truncated to this depth. A good starting
143 * depth, simply passing in a value for Integer.MAX_VALUE is not
155 public SamplingProfiler(int depth, ThreadSe argument
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DRegexpPool.java105 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 DThreadGroupTest.java668 final int depth, final Vector<ThreadGroup> allCreated) {
669 if (depth <= 0) {
676 final String name = " Depth = " + depth + ",N = " + iClone
685 asyncBuildRandomTreeUnder(newGroup, depth - 1, allCreated);
694 final int depth) {
696 asyncBuildRandomTreeUnder(aGroup, depth, result);
729 private static Vector<ThreadGroup> buildRandomTreeUnder(ThreadGroup aGroup, int depth) { argument
730 Vector<ThreadGroup> result = asyncBuildRandomTreeUnder(aGroup, depth);
667 asyncBuildRandomTreeUnder(final ThreadGroup aGroup, final int depth, final Vector<ThreadGroup> allCreated) argument
693 asyncBuildRandomTreeUnder(final ThreadGroup aGroup, final int depth) argument
/libcore/ojluni/src/main/java/java/util/stream/
H A DAbstractPipeline.java109 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 DPolicyNodeImpl.java66 // 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 DSpliteratorTestHelper.java391 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 DSpliteratorTestHelper.java391 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 DKXmlSerializer.java40 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 DKXmlParser.java132 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 DXmlPullParser.java542 * 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 DExpatParser.java766 private int depth = 0; field in class:ExpatParser.EntityParser
780 if (depth++ > 0) {
789 if (--depth > 0) {
/libcore/luni/src/test/java/libcore/xml/
H A DXmlPullParserFactoryTest.java258 public int getNamespaceCount(int depth) throws XmlPullParserException { argument
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java186 /** recursion depth */
187 private int depth; field in class:ObjectOutputStream
348 if (depth == 0) {
431 if (depth == 0) {
509 if (depth != 0) {
1122 depth++;
1228 depth--;
1460 (depth == 1 ? "root " : "") + "object (class \"" +
H A DObjectInputStream.java247 /** recursion depth */
248 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) {
574 if (depth == 0) {
892 if (depth == 0) {
1324 depth++;
1382 depth
[all...]

Completed in 601 milliseconds