/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | LinuxNativeDispatcher.c | 75 entry_dir = (*env)->GetFieldID(env, clazz, "dir", "[B"); 181 char* dir; local 189 dir = m->mnt_dir; 200 len = strlen(dir); 204 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)dir);
|
/openjdk7/jdk/src/solaris/native/sun/tools/attach/ |
H A D | LinuxVirtualMachine.c | 60 DIR* dir; local 67 if ((dir = opendir("/proc")) == NULL) { 70 while ((ptr = readdir(dir)) != NULL) { 87 closedir(dir);
|
/openjdk7/jdk/src/windows/classes/java/lang/ |
H A D | ProcessImpl.java | 88 String dir, 136 return new ProcessImpl(cmdarray, envblock, dir, 464 * @param dir the working directory of the process, or null if 479 String dir, 86 start(String cmdarray[], java.util.Map<String,String> environment, String dir, ProcessBuilder.Redirect[] redirects, boolean redirectErrorStream) argument 477 create(String cmdstr, String envblock, String dir, long[] stdHandles, boolean redirectErrorStream) argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/shell/ |
H A D | Win32ShellFolderManager2.java | 373 * Does <code>dir</code> represent a "computer" such as a node on the network, or 376 public boolean isComputerNode(final File dir) { argument 377 if (dir != null && dir == getDrives()) { 382 return dir.getAbsolutePath(); 390 public boolean isFileSystemRoot(File dir) { argument 392 if (dir != null) { 394 if (dir instanceof Win32ShellFolder2) { 395 Win32ShellFolder2 sf = (Win32ShellFolder2)dir; 405 String path = dir [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsWatchService.java | 109 WindowsWatchKey(Path dir, argument 113 super(dir, watcher); 318 WindowsPath dir = (WindowsPath)obj; 338 handle = CreateFile(dir.getPathForWin32Calls(), 344 return x.asIOException(dir); 354 return x.asIOException(dir); 357 return new NotDirectoryException(dir.getPathForExceptionMessage()); 411 watchKey = new WindowsWatchKey(dir, watcher, fk)
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfers.java | 414 static void show(String dir, String channelName, int off, int len) { argument 417 out.println(dir + " " + channelName +
|
/openjdk7/jdk/test/java/nio/file/spi/ |
H A D | TestProvider.java | 132 public DirectoryStream<Path> newDirectoryStream(Path dir, argument 140 public void createDirectory(Path dir, FileAttribute<?>... attrs) argument
|
/openjdk7/langtools/make/tools/GenStubs/ |
H A D | GenStubs.java | 140 throw new IllegalArgumentException("source output dir not set"); 340 public void setSrcDir(File dir) { argument 341 this.srcDir = dir; 344 public void setDestDir(File dir) { argument 345 this.destDir = dir;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | Paths.java | 254 for (File dir : getPathEntries(dirs)) 255 addDirectory(dir, warn); 266 private void addDirectory(File dir, boolean warn) { argument 267 if (!dir.isDirectory()) { 270 "dir.path.element.not.found", dir); 274 File[] files = dir.listFiles();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/ |
H A D | PathFileObject.java | 73 final Path path, final Path dir) { 77 return toBinaryName(dir.relativize(path)); 72 createDirectoryPathFileObject(JavacPathFileManager fileManager, final Path path, final Path dir) argument
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | FontInstanceAdapter.cpp | 152 le_int32 i, out = 0, dir = 1; local 156 dir = -1; 159 for (i = offset; i < offset + count; i += 1, out += dir) { 175 glyphs[out += dir] = 0xFFFF;
|
/openjdk7/jdk/test/java/util/zip/ |
H A D | zip.java | 260 String dir = args[++i]; 261 dir = (dir.endsWith(File.separator) ? 262 dir : (dir + File.separator)); 263 dir = dir.replace(File.separatorChar, '/'); 264 while (dir.indexOf("//") > -1) { 265 dir = dir 290 expand(File dir, String[] files, boolean isUpdate) argument [all...] |
/openjdk7/jdk/test/javax/swing/JFileChooser/6698013/ |
H A D | bug6698013.java | 37 public boolean isRoot(File dir) { argument 38 return bug6698013.root.equals(dir); 41 public File createNewFolder(File dir) { argument 49 public boolean isDrive(File dir) { argument 53 public boolean isFloppyDrive(File dir) { argument 57 public File getParentDirectory(File dir) { argument 58 if (dir == null) { 62 return new VirtualFile(dir.getPath(), true).getParentFile(); 65 public File[] getFiles(File dir, boolean hide_hidden) { argument 66 if (dir [all...] |
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/ |
H A D | RmiBootstrapTest.java | 146 public boolean accept(File dir, String name) { argument 157 final File dir = new File(testSrc); 160 return dir.listFiles(filter); 169 final File dir = new File(testSrc); 172 return dir.listFiles(filter);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | URLClassPath.java | 1031 private File dir; field in class:URLClassPath.FileLoader 1040 dir = (new File(path)).getCanonicalFile(); 1070 file = (new File(dir, name.replace('/', File.separatorChar))) 1072 if ( !((file.getPath()).startsWith(dir.getPath())) ) { 1073 /* outside of base dir */ 1077 file = new File(dir, name.replace('/', File.separatorChar));
|
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/ |
H A D | BatchEnvironment.java | 337 for (String dir : new PathIterator(dirs)) 338 addDirectory(dir, warn); 346 private void addDirectory(String dir, boolean warn) { argument 347 if (! new File(dir).isDirectory()) { 350 // "dir.path.element.not.found", dir); 354 for (String direntry : new File(dir).list()) { 358 addFile(dir + File.separator + direntry, warn);
|
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ |
H A D | ScanDirConfig.java | 363 addDirectoryScanner(String name, String dir, String filePattern, argument 367 scanner.setRootDirectory(dir);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixFileSystem.java | 50 UnixFileSystem(UnixFileSystemProvider provider, String dir) { argument 52 this.defaultDirectory = UnixPath.normalizeAndCheck(dir).getBytes(); 207 sm.checkRead(new String(entry.dir()));
|
H A D | UnixFileSystemProvider.java | 51 private static final String USER_DIR = "user.dir"; 62 abstract UnixFileSystem newFileSystem(String dir); argument 375 UnixPath dir = UnixPath.toUnixPath(obj); 376 dir.checkWrite(); 381 mkdir(dir, mode); 383 x.rethrowAsIOException(dir); 392 UnixPath dir = UnixPath.toUnixPath(obj); 393 dir.checkRead(); 401 long ptr = opendir(dir); 402 return new UnixDirectoryStream(dir, pt [all...] |
H A D | UnixSecureDirectoryStream.java | 48 UnixSecureDirectoryStream(UnixPath dir, argument 53 this.ds = new UnixDirectoryStream(dir, dp, filter); 220 public void deleteDirectory(Path dir) throws IOException { argument 221 implDelete(dir, true, AT_REMOVEDIR); 228 public void move(Path fromObj, SecureDirectoryStream<Path> dir, Path toObj) argument 233 if (dir == null) 235 if (!(dir instanceof UnixSecureDirectoryStream)) 237 UnixSecureDirectoryStream that = (UnixSecureDirectoryStream)dir;
|
/openjdk7/langtools/test/tools/javac/diags/ |
H A D | Example.java | 228 void createAnnotationServicesFile(File dir, List<File> procFiles) throws IOException { argument 229 File servicesDir = new File(new File(dir, "META-INF"), "services"); 269 boolean clean(File dir) { argument 271 for (File f: dir.listFiles()) {
|
H A D | RunExamples.java | 47 * -examples dir directory of examples. Defaults to ${test.src}/examples 62 tmpDir = new File(System.getProperty("user.dir")); 206 static boolean clean(File dir) { argument 208 for (File f: dir.listFiles()) {
|
/openjdk7/langtools/test/tools/javac/processing/ |
H A D | T6920317.java | 302 void compile(File dir, String[] opts, File src) throws Exception { argument 303 dir.mkdirs(); 305 opts2.addAll(Arrays.asList("-d", dir.getPath()));
|
/openjdk7/jdk/src/share/classes/sun/awt/geom/ |
H A D | Order2.java | 395 public Curve getSubCurve(double ystart, double yend, int dir) { argument 399 return getWithDirection(dir); 430 dir);
|
H A D | Order3.java | 555 public Curve getSubCurve(double ystart, double yend, int dir) { argument 557 return getWithDirection(dir); 604 dir);
|