Lines Matching defs:drive
77 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);
301 private String getDriveDirectory(char drive) {
302 int i = driveIndex(drive);
342 char drive = path.charAt(0);
343 String dir = getDriveDirectory(drive);
347 drive other than the current drive, insist that the caller
349 String p = drive + (':' + dir + slashify(path.substring(2)));
354 /* Don't disclose the drive's directory in the exception */
359 return drive + ":" + slashify(path.substring(2)); /* fake it */
374 // If path is a drive letter only then skip canonicalization