Lines Matching refs:drive
664 // - normal: X:\some\path\on\this\drive
667 // - UNC path: \\machine\volume\some\path\on\this\drive
683 // search for first slash after the drive (or volume) name
798 // using ".." For a local drive this is the first slash (e.g. "c:\").
801 PRInt32 rootIdx = 2; // default to local drive
814 // for that drive. To normalize it, the current working directory for
815 // that drive needs to be inserted before the supplied relative path
819 int drive = toupper(path.First()) - 'A' + 1;
820 if (!_getdcwd(drive, pcwd, MAX_PATH))
821 pcwd = _getdcwd(drive, 0, 0);
1757 // e.g., on a different drive. Before you remove them, please make
2430 const char *drive = mLetter;
2431 mLetter += strlen(drive) + 1;
2434 NS_NewNativeLocalFile(nsDependentCString(drive), PR_FALSE, &file);