Home | History | Annotate | Download | only in base

Lines Matching defs:drive

41   // Get the mapping of drive letters to device paths.
45 LOG(ERROR) << "Failed to get drive mapping.";
49 // The drive mapping is a sequence of null terminated strings.
53 wchar_t drive[] = L" :";
55 // For each string in the drive mapping, get the junction that links
57 // know that |drive| is the real path prefix.
59 drive[0] = drive_map_ptr[0]; // Copy the drive letter.
61 if (QueryDosDevice(drive, device_name, MAX_PATH) &&
63 *drive_letter_path = FilePath(drive +
67 // Move to the next drive letter string, which starts one
72 // No drive matched. The path does not start with a device junction
73 // that is mounted as a drive letter. This means there is no drive
1045 // will find a drive letter which maps to the path's device, so
1046 // that we return a path starting with a drive letter.