Searched refs:maxDepth (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DMaxDepth.java30 * Unit test for Files.walkFileTree to test maxDepth parameter
39 final int maxDepth = i;
40 Files.walkFileTree(top, opts, maxDepth, new SimpleFileVisitor<Path>() {
50 if (d == maxDepth)
51 throw new RuntimeException("Should not open directories at maxDepth");
52 if (d > maxDepth)
60 if (d > maxDepth)
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DThreadMXBean.java249 * The <tt>maxDepth</tt> parameter indicates the maximum number of
251 * If <tt>maxDepth == Integer.MAX_VALUE</tt>, the entire stack trace of
253 * If <tt>maxDepth == 0</tt>, no stack trace of the thread
259 * about a thread or <tt>maxDepth == 0</tt>,
276 * @param maxDepth the maximum number of entries in the stack trace
286 * @throws IllegalArgumentException if <tt>maxDepth is negative</tt>.
292 public ThreadInfo getThreadInfo(long id, int maxDepth); argument
298 * The <tt>maxDepth</tt> parameter indicates the maximum number of
300 * If <tt>maxDepth == Integer.MAX_VALUE</tt>, the entire stack trace of
302 * If <tt>maxDepth
345 getThreadInfo(long[] ids, int maxDepth) argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DStepTest.java99 int maxDepth; field in class:StepTest
110 maxDepth = Integer.decode(args[0]).intValue();
135 if (thread.frameCount() < maxDepth) {
/openjdk7/jdk/src/share/classes/sun/management/
H A DThreadImpl.java136 public ThreadInfo getThreadInfo(long id, int maxDepth) { argument
139 final ThreadInfo[] infos = getThreadInfo(ids, maxDepth);
160 public ThreadInfo[] getThreadInfo(long[] ids, int maxDepth) { argument
163 if (maxDepth < 0) {
165 "Invalid maxDepth parameter: " + maxDepth);
171 if (maxDepth == Integer.MAX_VALUE) {
174 getThreadInfo1(ids, maxDepth, infos);
449 // VM support where maxDepth == -1 to request entire stack dump
452 int maxDepth,
451 getThreadInfo1(long[] ids, int maxDepth, ThreadInfo[] result) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileTreeWalker.java43 private final int maxDepth; field in class:FileTreeWalker
47 int maxDepth)
62 this.maxDepth = maxDepth;
134 if (depth >= maxDepth || !attrs.isDirectory()) {
45 FileTreeWalker(Set<FileVisitOption> options, FileVisitor<? super Path> visitor, int maxDepth) argument
H A DFiles.java2555 * <p> The {@code maxDepth} parameter is the maximum number of levels of
2560 * files, including directories, encountered at {@code maxDepth}, unless the
2575 * @param maxDepth
2583 * if the {@code maxDepth} parameter is negative
2594 int maxDepth,
2598 if (maxDepth < 0)
2599 throw new IllegalArgumentException("'maxDepth' is negative");
2600 new FileTreeWalker(options, visitor, maxDepth).walk(start);
2592 walkFileTree(Path start, Set<FileVisitOption> options, int maxDepth, FileVisitor<? super Path> visitor) argument
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Ddither.c130 if (currentState.depth > priorState->maxDepth) {
131 priorState->maxDepth = currentState.depth;
148 if (currentState.maxDepth > priorState->maxDepth) {
149 priorState->maxDepth = currentState.maxDepth;
186 currentState.maxDepth = 0;
H A Ddither.h52 unsigned int maxDepth; member in struct:__anon685
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DStaticStringsHash.java272 private int maxDepth; field in class:StaticStringsHash
300 maxDepth = 1;
347 return maxDepth;
359 if (bucketSizes[j] > maxDepth) {
360 maxDepth = bucketSizes[j];
/openjdk7/jdk/src/share/native/sun/management/
H A DThreadImpl.c54 (JNIEnv *env, jclass cls, jlongArray ids, jint maxDepth,
57 jmm_interface->GetThreadInfo(env, ids, maxDepth, infoArray);
53 Java_sun_management_ThreadImpl_getThreadInfo1(JNIEnv *env, jclass cls, jlongArray ids, jint maxDepth, jobjectArray infoArray) argument
/openjdk7/jdk/src/share/sample/nio/file/
H A DChmod.java330 int maxDepth = 0;
335 maxDepth = Integer.MAX_VALUE;
345 Files.walkFileTree(file, opts, maxDepth, visitor);
/openjdk7/jdk/make/tools/src/build/tools/hasher/
H A DHasher.java60 int maxDepth = 3; // Max chain depth field in class:Hasher
91 maxDepth = Integer.parseInt((String)i.next());
184 if (md <= maxDepth) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DAbstractDiagnosticFormatter.java231 int maxDepth = config.getMultilineLimit(MultilineLimit.DEPTH);
232 if (maxDepth == -1 || depth < maxDepth) {
/openjdk7/hotspot/src/share/vm/services/
H A Djmm.h226 jint maxDepth,
H A DthreadService.cpp514 void ThreadStackTrace::dump_stack_at_safepoint(int maxDepth) { argument
529 if (maxDepth > 0 && count == maxDepth) {
530 // Skip frames if more than maxDepth
H A Dmanagement.cpp1159 // maxDepth - the maximum depth of stack traces to be dumped:
1160 // maxDepth == -1 requests to dump entire stack trace.
1161 // maxDepth == 0 requests no stack trace.
1165 JVM_ENTRY(jint, jmm_GetThreadInfo(JNIEnv *env, jlongArray ids, jint maxDepth, jobjectArray infoArray))
1171 if (maxDepth < -1) {
1173 "Invalid maxDepth", -1);
1208 if (maxDepth == 0) {
1231 maxDepth,
/openjdk7/jdk/src/share/javavm/export/
H A Djmm.h226 jint maxDepth,
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DJavacPathFileManager.java370 int maxDepth = (recurse ? Integer.MAX_VALUE : 1);
372 Files.walkFileTree(packageDir, opts, maxDepth,

Completed in 57 milliseconds