Searched refs:drive (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/test/java/nio/file/DirectoryStream/
H A DDriveLetter.java27 * path when opening a directory by specifying only the drive letter.
45 throw new RuntimeException("Unable to determine drive letter");
51 String drive = here.substring(0, 2);
52 Path expected = Paths.get(drive).resolve(tempFile.getName());
55 Path dir = Paths.get(drive);
/openjdk7/jdk/test/java/io/pathNames/win32/
H A DDriveRelativePath.java26 @summary Check getCanonicalPath's treatment of drive-relative paths (win32)
50 if (di == -1) fail("No drive in canonical path");
51 String drive = c.substring(0, di + 1);
52 File f2 = new File(drive + "foo");
/openjdk7/hotspot/src/share/tools/ProjectCreator/
H A DUtil.java75 // convert drive letter to uppercase
76 String drive = file.substring(0, 1).toUpperCase();
77 return drive + file.substring(1);
/openjdk7/jdk/src/windows/classes/java/io/
H A DWinNTFileSystem.java73 protected native String getDriveDirectory(int drive); argument
H A DWin32FileSystem.java77 0 relative to both drive and directory
78 1 drive-relative (begins with '\\')
91 /* Remove leading slashes if followed by drive specifier.
92 This hack is necessary to support file URLs containing drive
159 the current drive. */
233 /* Drop prefix when child is drive-relative */
291 protected native String getDriveDirectory(int drive); argument
301 private String getDriveDirectory(char drive) { argument
302 int i = driveIndex(drive);
342 char drive
[all...]
/openjdk7/jdk/make/common/shared/
H A DDefs-windows.gmk97 # All possible drive letters
103 $(patsubst /%,$(CYGWIN_HOME)/%,$(sort $(filter-out /cygdrive/%,$(foreach drive,$(drives),$(patsubst /cygdrive/$(drive)/%,$(call ToUpper,$(drive)):/%,$1)))))
124 # System drive
365 # NOTE: Do not use FullPath on this because it's often a drive letter and
366 # plain drive letters are ambiguous, so just use this 'as is'.
/openjdk7/jdk/test/java/io/pathNames/
H A DGeneralWin32.java109 /* Pathnames with drive specifiers */
118 throw new RuntimeException("Can't find an inactive drive");
126 throw new RuntimeException("Can't find an active drive");
129 private static void checkDrive(int depth, char drive, boolean exists) argument
132 String d = drive + ":";
/openjdk7/jdk/src/windows/native/java/io/
H A DWin32FileSystem_md.c468 jint drive)
471 char *p = _getdcwd(drive, buf, sizeof(buf));
467 Java_java_io_Win32FileSystem_getDriveDirectory(JNIEnv *env, jclass ignored, jint drive) argument
H A DWinNTFileSystem_md.c828 jint drive)
831 jchar *p = currentDir(drive);
827 Java_java_io_WinNTFileSystem_getDriveDirectory(JNIEnv *env, jobject this, jint drive) argument

Completed in 48 milliseconds