Searched defs:dir (Results 76 - 100 of 235) sorted by relevance

12345678910

/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisFileSystem.java42 SolarisFileSystem(UnixFileSystemProvider provider, String dir) { argument
43 super(provider, dir);
/openjdk7/langtools/test/tools/javac/nio/compileTest/
H A DCompileTest.java49 File rtDir = new File("rt.dir");
133 void expand(File jar, File dir) throws IOException { argument
140 copy(jarFile.getInputStream(je), new File(dir, je.getName()));
/openjdk7/langtools/test/tools/javap/
H A DT6879371.java86 File zip(File dir, File zipFile) throws IOException { argument
88 for (File file: dir.listFiles()) {
/openjdk7/jdk/test/sun/rmi/log/ReliableLog/
H A DLogAlignmentTest.java75 static private void regtest(int updatesz, String dir, PrintStream lg, PrintStream out) argument
80 ReliableLog log = new ReliableLog (dir, handler, false);
108 ReliableLog carbon = new ReliableLog (dir, handler2, false);
124 File vs = new File (dir, "Version_Number");
129 File vs = new File (dir, "New_Version_Number");
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DAttributeHTML.java77 AttributeHTML(String dir, String class_name, ConstantPool constant_pool, argument
84 file = new PrintWriter(new FileOutputStream(dir + class_name + "_attributes.html"));
H A DClass2HTML.java91 private String dir; field in class:Class2HTML
101 * @param dir The directory to put the files in
103 public Class2HTML(JavaClass java_class, String dir) throws IOException { argument
107 this.dir = dir;
118 ConstantHTML constant_html = new ConstantHTML(dir, class_name, class_package, methods,
124 AttributeHTML attribute_html = new AttributeHTML(dir, class_name, constant_pool, constant_html);
126 MethodHTML method_html = new MethodHTML(dir, class_name, methods, java_class.getFields(),
130 new CodeHTML(dir, class_name, methods, constant_pool, constant_html);
142 String dir
[all...]
H A DCodeHTML.java80 CodeHTML(String dir, String class_name, argument
89 file = new PrintWriter(new FileOutputStream(dir + class_name + "_code.html"));
H A DConstantHTML.java80 ConstantHTML(String dir, String class_name, String class_package, Method[] methods, argument
88 file = new PrintWriter(new FileOutputStream(dir + class_name + "_cp.html"));
/openjdk7/jdk/src/share/classes/sun/font/
H A DTextSource.java73 /** Get subrange of this TextSource. dir is one of the TextLineComponent constants */
74 public abstract TextSource getSubSource(int start, int length, int dir); argument
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DLazySearchEnumerationImpl.java41 package com.sun.jndi.toolkit.dir;
/openjdk7/jdk/make/tools/src/build/tools/jarreorder/
H A DJarReorder.java234 * @param dir root directory
239 private Set<String> expand(File dir, argument
248 File f = (dir == null) ? new File(name)
249 : new File(dir, name);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsDirectoryStream.java44 private final WindowsPath dir; field in class:WindowsDirectoryStream
62 WindowsDirectoryStream(WindowsPath dir, DirectoryStream.Filter<? super Path> filter) argument
65 this.dir = dir;
70 String search = dir.getPathForWin32Calls();
84 throw new NotDirectoryException(dir.getPathForExceptionMessage());
86 x.rethrowAsIOException(dir);
106 x.rethrowAsIOException(dir);
132 if (dir.needsSlashWhenResolving()) {
133 prefix = dir
[all...]
/openjdk7/jdk/test/java/io/File/
H A DBasic.java47 static File dir = new File("x.Basic.dir"); field in class:Basic
121 if (!dir.renameTo(new File("x.Basic.dir2")))
122 fail(dir, "failed to rename");
H A DSymLinks.java37 final static File top = new File(System.getProperty("test.dir", "."));
45 final static File dir = new File(top, "foodir"); field in class:SymLinks
66 // link2link2dir -> link2dir -> dir
67 assertTrue(dir.mkdir());
68 mklink(link2dir, dir);
86 if (dir != null)
87 dir.delete();
124 * "dir" exists.
126 static boolean supportsSymLinks(File dir) { argument
127 Path link = dir
[all...]
/openjdk7/jdk/test/java/nio/charset/Charset/
H A DNIOCharsetAvailabilityTest.java100 String dir = classPath.substring(i + 1);
106 classPathSegments.insertElementAt(dir, 0);
173 File dir = new File(fullPath);
174 if (dir.exists() && dir.isDirectory())
175 scanDir(dir, listBuffer, prefix);
198 private static void scanDir(File dir, Vector listBuffer, String prefix) { argument
199 String[] fileList = dir.list();
/openjdk7/jdk/test/java/nio/file/Files/
H A DFileAttributes.java276 static void doTests(Path dir) throws IOException { argument
277 Path file = dir.resolve("foo");
303 Path dir = TestUtil.createTemporaryDirectory();
305 doTests(dir);
307 TestUtil.removeAll(dir);
/openjdk7/jdk/test/tools/jar/
H A DChangeDir.java40 private static void cleanup(File dir) throws Throwable { argument
41 if (dir != null && dir.exists()) {
42 for (File ff : dir.listFiles()) {
45 check(dir.delete());
H A DJarEntryTime.java36 static boolean cleanup(File dir) throws Throwable { argument
38 File[] x = dir.listFiles();
44 return rc & dir.delete();
/openjdk7/langtools/test/tools/javac/4241573/
H A DT4241573.java46 File absDir = createDir(new File("abs.dir").getAbsoluteFile(), "d.A");
47 File relDir = createDir(new File("rel.dir"), "d.R");
122 File createDir(File dir, String... entries) throws Exception { argument
123 if (!dir.mkdirs())
124 throw new Exception("cannot create directories " + dir);
126 writeFile(new File(dir, getPathForDirEntry(e)), getBodyForEntry(e));
128 return dir;
191 Set<File> getFiles(File dir, String... paths) { argument
194 files.add(new File(dir, p));
199 Set<File> findFiles(File dir) { argument
205 findFiles(File dir, Set<File> files) argument
[all...]
/openjdk7/langtools/test/tools/javac/6402516/
H A DChecker.java156 static Iterable<File> getFiles(File dir, String... names) { argument
159 files.add(new File(dir, name));
/openjdk7/langtools/test/tools/javac/6917288/
H A DT6917288.java96 void check(File dir, String... paths) { argument
97 Set<String> found = new TreeSet<String>(Arrays.asList(dir.list()));
114 File writeFile(File dir, Kind k) throws Exception { argument
141 File f = new File(dir, "Test.java");
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.cpp68 char dir[PATH_MAX]; local
70 strcpy(dir, path);
71 char* slash = strrchr(dir, '/');
74 mkdirs(oklen, dir);
75 MKDIR(dir);
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassPath.java114 path[n++].dir = new File(".");
128 path[n++].dir = file;
166 path[n++].dir = file;
212 File file = new File(path[i].dir.getPath(), name);
255 File file = new File(path[i].dir.getPath(), name);
287 File dir; field in class:ClassPathEntry
295 File sd = new File(dir.getPath(), subdir);
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractWatchKey.java57 private final Path dir; field in class:AbstractWatchKey
69 protected AbstractWatchKey(Path dir, AbstractWatchService watcher) { argument
71 this.dir = dir;
86 return dir;
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanDirConfigMXBean.java253 * @param dir The root directory at which this scanner will start scanning.
273 addDirectoryScanner(String name, String dir, String filePattern, argument

Completed in 108 milliseconds

12345678910