/external/grub/lib/ |
device.c | 134 /* Get the geometry of a drive DRIVE. */ 136 get_drive_geometry (struct geometry *geom, char **map, int drive) 142 fd = open (map[drive], O_RDONLY); 237 if (drive & 0x80) 400 get_dac960_disk_name (char *name, int controller, int drive) 402 sprintf (name, "/dev/rd/c%dd%d", controller, drive); 456 /* Check if DEVICE is a CD-ROM drive by the HDIO_GETGEO ioctl. */ 522 int drive; local 550 show_error (line_number, "Bad drive name") 781 int controller, drive; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/ |
SDL_syscdrom.c | 76 static const char *SDL_SYS_CDName(int drive); 77 static int SDL_SYS_CDOpen(int drive); 188 /* Check a drive to see if it is a CD-ROM */ 189 static int CheckDrive(char *drive, struct stat *stbuf) 195 if ( stat(drive, stbuf) < 0 ) { 200 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0); 210 /* Add a CD-ROM drive to our list of valid drives */ 211 static void AddDrive(char *drive, struct stat *stbuf) 217 This can happen when we see a drive via symbolic link. 222 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]) 251 char drive[32]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
SDL_syscdrom.c | 99 static const char *SDL_SYS_CDName(int drive); 100 static int SDL_SYS_CDOpen(int drive); 118 /* Check a drive to see if it is a CD-ROM */ 119 static int CheckDrive(char *drive, char *mnttype, struct stat *stbuf) 125 if ( stat(drive, stbuf) < 0 ) { 132 cdfd = open(drive, (O_RDONLY|O_NONBLOCK), 0); 153 /* Add a CD-ROM drive to our list of valid drives */ 154 static void AddDrive(char *drive, struct stat *stbuf) 160 This can happen when we see a drive via symbolic link. 165 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]) 267 char drive[32]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
SDL_syscdrom.c | 48 static const char *SDL_SYS_CDName(int drive); 49 static int SDL_SYS_CDOpen(int drive); 59 /* Check a drive to see if it is a CD-ROM */ 61 static int CheckDrive(char *drive, struct stat *stbuf) 76 if ( stat(drive, stbuf) < 0 ) { 80 if ( (cdfd = open(drive, (O_RDWR|O_NDELAY), 0)) >= 0 ) { 103 /* Add a CD-ROM drive to our list of valid drives */ 104 static void AddDrive(char *drive, struct stat *stbuf) 110 * This can happen when we see a drive via symbolic link. 116 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]) 155 char drive[32]; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
SDL_syscdrom.c | 52 static const char *SDL_SYS_CDName(int drive); 53 static int SDL_SYS_CDOpen(int drive); 63 /* Check a drive to see if it is a CD-ROM */ 64 static int CheckDrive(char *drive, struct stat *stbuf) 75 if (stat(drive, stbuf) < 0) 85 cdfd = open(drive, QNX_CD_OPENMODE); 109 /* Add a CD-ROM drive to our list of valid drives */ 110 static void AddDrive(char *drive, struct stat *stbuf) 117 This can happen when we see a drive via symbolic link. */ 127 /* Add this drive to our list * 148 char drive[32]; local 324 int drive=-1; local [all...] |
/frameworks/compile/libbcc/lib/Support/ |
sha1.c | 431 char drive[MAXDRIVE]; local 484 fnsplit(argv[i], drive, dir, name, ext); 489 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_cache_unittest.cc | 5 #include "chrome/browser/chromeos/drive/file_cache.h" 17 #include "chrome/browser/chromeos/drive/drive.pb.h" 18 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" 19 #include "chrome/browser/chromeos/drive/file_system_util.h" 20 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" 21 #include "chrome/browser/chromeos/drive/test_util.h" 24 #include "google_apis/drive/test_util.h" 27 namespace drive { namespace 776 dir_source_root.AppendASCII("chrome/test/data/chromeos/drive/image.png") [all...] |
file_system.cc | 5 #include "chrome/browser/chromeos/drive/file_system.h" 12 #include "chrome/browser/chromeos/drive/change_list_loader.h" 13 #include "chrome/browser/chromeos/drive/change_list_processor.h" 14 #include "chrome/browser/chromeos/drive/drive.pb.h" 15 #include "chrome/browser/chromeos/drive/file_cache.h" 16 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" 17 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h" 18 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" 19 #include "chrome/browser/chromeos/drive/file_system/download_operation.h 43 namespace drive { namespace [all...] |
file_system_util.cc | 5 #include "chrome/browser/chromeos/drive/file_system_util.h" 25 #include "chrome/browser/chromeos/drive/drive.pb.h" 26 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 27 #include "chrome/browser/chromeos/drive/file_system_interface.h" 28 #include "chrome/browser/chromeos/drive/job_list.h" 29 #include "chrome/browser/chromeos/drive/write_on_cache_file.h" 39 #include "google_apis/drive/gdata_wapi_parser.h" 45 namespace drive { namespace 50 const char kDriveMountPointPath[] = "/special/drive"; [all...] |
change_list_loader.cc | 5 #include "chrome/browser/chromeos/drive/change_list_loader.h" 13 #include "chrome/browser/chromeos/drive/change_list_loader_observer.h" 14 #include "chrome/browser/chromeos/drive/change_list_processor.h" 15 #include "chrome/browser/chromeos/drive/file_system_util.h" 16 #include "chrome/browser/chromeos/drive/job_scheduler.h" 17 #include "chrome/browser/chromeos/drive/logging.h" 18 #include "chrome/browser/chromeos/drive/resource_metadata.h" 19 #include "chrome/browser/drive/drive_api_util.h" 20 #include "chrome/browser/drive/drive_service_interface.h" 22 #include "google_apis/drive/drive_api_parser.h 27 namespace drive { namespace [all...] |
job_scheduler.cc | 5 #include "chrome/browser/chromeos/drive/job_scheduler.h" 12 #include "chrome/browser/chromeos/drive/file_system_util.h" 13 #include "chrome/browser/chromeos/drive/logging.h" 16 #include "google_apis/drive/drive_api_parser.h" 20 namespace drive { namespace 29 // kMaxThrottleCount (https://developers.google.com/drive/handle-errors). 852 // Should stop if Drive was disabled while running the fetch loop. 878 // Exponential backoff: https://developers.google.com/drive/handle-errors. [all...] |
resource_metadata_storage.cc | 5 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" 15 #include "chrome/browser/chromeos/drive/drive.pb.h" 19 namespace drive { namespace 323 UMA_HISTOGRAM_SPARSE_SLOWLY("Drive.MetadataDBVersionBeforeUpgradeCheck", 462 UMA_HISTOGRAM_ENUMERATION("Drive.MetadataDBOpenExistingResult", 499 UMA_HISTOGRAM_ENUMERATION("Drive.MetadataDBInitResult", 954 } // namespace drive
|
/external/chromium_org/chrome/browser/drive/ |
drive_api_service.cc | 5 #include "chrome/browser/drive/drive_api_service.h" 15 #include "chrome/browser/drive/drive_api_util.h" 17 #include "google_apis/drive/auth_service.h" 18 #include "google_apis/drive/drive_api_parser.h" 19 #include "google_apis/drive/drive_api_requests.h" 20 #include "google_apis/drive/gdata_errorcode.h" 21 #include "google_apis/drive/gdata_wapi_parser.h" 22 #include "google_apis/drive/gdata_wapi_requests.h" 23 #include "google_apis/drive/request_sender.h" 57 using google_apis::drive::AboutGetRequest 77 namespace drive { namespace [all...] |
fake_drive_service.cc | 5 #include "chrome/browser/drive/fake_drive_service.h" 19 #include "chrome/browser/drive/drive_api_util.h" 21 #include "google_apis/drive/drive_api_parser.h" 22 #include "google_apis/drive/gdata_wapi_parser.h" 23 #include "google_apis/drive/test_util.h" 24 #include "google_apis/drive/time_util.h" 63 namespace drive { namespace 944 // On the real Drive server, resources do not necessary shape a tree [all...] |
/external/chromium_org/base/ |
file_util_win.cc | 398 // will find a drive letter which maps to the path's device, so 399 // that we return a path starting with a drive letter. 407 // Get the mapping of drive letters to device paths. 411 DLOG(ERROR) << "Failed to get drive mapping."; 415 // The drive mapping is a sequence of null terminated strings. 419 wchar_t drive[] = L" :"; local 421 // For each string in the drive mapping, get the junction that links 423 // know that |drive| is the real path prefix. 425 drive[0] = drive_map_ptr[0]; // Copy the drive letter [all...] |
/external/chromium_org/google_apis/drive/ |
drive_api_requests.cc | 5 #include "google_apis/drive/drive_api_requests.h" 14 #include "google_apis/drive/drive_api_parser.h" 15 #include "google_apis/drive/request_sender.h" 16 #include "google_apis/drive/request_util.h" 17 #include "google_apis/drive/time_util.h" 24 const char kParentLinkKind[] = "drive#fileLink"; 95 const drive::UploadRangeCallback& callback, 118 namespace drive { namespace in namespace:google_apis 742 } // namespace drive
|
drive_api_requests.h | 12 #include "google_apis/drive/base_requests.h" 13 #include "google_apis/drive/drive_api_url_generator.h" 14 #include "google_apis/drive/drive_common_callbacks.h" 38 namespace drive { namespace in namespace:google_apis 42 // This is base class of the Drive API related requests. All Drive API requests 44 // shared among the Drive API requests. 45 // See also https://developers.google.com/drive/performance 73 // https://developers.google.com/drive/v2/reference/files/get 100 // https://developers.google.com/drive/v2/reference/files/inser [all...] |
/external/grub/stage2/ |
disk_io.c | 140 rawread (int drive, int sector, int byte_offset, int byte_len, char *buf) 157 if (buf_drive != drive) 159 if (get_diskinfo (drive, &buf_geom)) 164 buf_drive = drive; 208 bios_err = biosdisk (BIOSDISK_READ, drive, &buf_geom, 223 || biosdisk (BIOSDISK_READ, drive, &buf_geom, 249 if (biosdisk (BIOSDISK_READ, drive, &buf_geom, 321 * -- It takes an extra parameter, the drive number. 333 rawwrite (int drive, int sector, char *buf) 337 if (biosdisk (BIOSDISK_READ, drive, &buf_geom, 0, 1, SCRATCHSEG) 948 int drive = (dev >> 24) & 0xFF; local [all...] |
/bionic/libc/kernel/common/linux/ |
msdos_fs.h | 142 __u8 drive; member in struct:fat_boot_bsx
|
/development/ndk/platforms/android-3/include/linux/ |
msdos_fs.h | 138 __u8 drive; member in struct:fat_boot_bsx
|
/external/chromium/base/ |
file_util_win.cc | 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" :"; local 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 [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
metadata_cache.js | 15 * drive: pinned, present, hosted, availableOffline 18 * Following are not fetched for non-present drive files. 23 * of remote drive files. One should use this for required content metadata, 30 * cache.get([entry1, entry2], 'drive|filesystem', function(metadata) { 31 * if (metadata[0].drive.pinned && metadata[1].filesystem.size == 0) 691 * Provider of drive metadata. 693 * drive: { pinned, hosted, present, customIconUrl, etc. } 726 return type == 'drive' || type == 'thumbnail' || 733 DriveProvider.prototype.getId = function() { return 'drive'; }; 778 * @param {DriveEntryProperties} data Drive entry properties [all...] |
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
msdos_fs.h | 138 __u8 drive; member in struct:fat_boot_bsx
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
msdos_fs.h | 138 __u8 drive; member in struct:fat_boot_bsx
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
msdos_fs.h | 138 __u8 drive; member in struct:fat_boot_bsx
|