/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_unittest.cc | 5 #include "chrome/browser/chromeos/drive/resource_metadata.h" 15 #include "chrome/browser/chromeos/drive/drive.pb.h" 16 #include "chrome/browser/chromeos/drive/file_system_util.h" 17 #include "chrome/browser/chromeos/drive/test_util.h" 23 namespace drive { namespace 70 // drive/root/dir1/ 71 // drive/root/dir2/ 72 // drive/root/dir1/dir3/ 73 // drive/root/dir1/file [all...] |
search_metadata_unittest.cc | 5 #include "chrome/browser/chromeos/drive/search_metadata.h" 13 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" 14 #include "chrome/browser/chromeos/drive/file_cache.h" 15 #include "chrome/browser/chromeos/drive/file_system_util.h" 16 #include "chrome/browser/chromeos/drive/test_util.h" 20 namespace drive { namespace 247 EXPECT_EQ("drive/root/Directory 1/SubDirectory File 1.txt", 269 EXPECT_EQ("drive/root/Directory 1/SubDirectory File 1.txt", 294 EXPECT_EQ("drive/root/Slash \xE2\x88\x95 in directory/Slash SubDir File.txt", 296 EXPECT_EQ("drive/root/Directory 1/SubDirectory File 1.txt" [all...] |
file_cache_unittest.cc | 5 #include "chrome/browser/chromeos/drive/file_cache.h" 16 #include "chrome/browser/chromeos/drive/drive.pb.h" 17 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" 18 #include "chrome/browser/chromeos/drive/file_cache_metadata.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" 27 namespace drive { namespace [all...] |
file_system.cc | 5 #include "chrome/browser/chromeos/drive/file_system.h" 16 #include "chrome/browser/chromeos/drive/change_list_loader.h" 17 #include "chrome/browser/chromeos/drive/change_list_processor.h" 18 #include "chrome/browser/chromeos/drive/drive.pb.h" 19 #include "chrome/browser/chromeos/drive/file_cache.h" 20 #include "chrome/browser/chromeos/drive/file_system/copy_operation.h" 21 #include "chrome/browser/chromeos/drive/file_system/create_directory_operation.h" 22 #include "chrome/browser/chromeos/drive/file_system/create_file_operation.h" 23 #include "chrome/browser/chromeos/drive/file_system/download_operation.h 49 namespace drive { namespace [all...] |
file_system_unittest.cc | 5 #include "chrome/browser/chromeos/drive/file_system.h" 18 #include "chrome/browser/chromeos/drive/change_list_loader.h" 19 #include "chrome/browser/chromeos/drive/drive.pb.h" 20 #include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" 21 #include "chrome/browser/chromeos/drive/file_system_observer.h" 22 #include "chrome/browser/chromeos/drive/file_system_util.h" 23 #include "chrome/browser/chromeos/drive/job_scheduler.h" 24 #include "chrome/browser/chromeos/drive/sync_client.h" 25 #include "chrome/browser/chromeos/drive/test_util.h 33 namespace drive { namespace [all...] |
file_system_util.cc | 5 #include "chrome/browser/chromeos/drive/file_system_util.h" 27 #include "chrome/browser/chromeos/drive/drive.pb.h" 28 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 29 #include "chrome/browser/chromeos/drive/file_system_interface.h" 30 #include "chrome/browser/chromeos/drive/file_write_helper.h" 31 #include "chrome/browser/chromeos/drive/job_list.h" 45 namespace drive { namespace 50 const char kDriveMountPointPath[] = "/special/drive"; 53 FILE_PATH_LITERAL("/special/drive/root") [all...] |
resource_metadata.cc | 5 #include "chrome/browser/chromeos/drive/resource_metadata.h" 10 #include "chrome/browser/chromeos/drive/drive.pb.h" 11 #include "chrome/browser/chromeos/drive/file_system_util.h" 12 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" 17 namespace drive { namespace 190 // Initialize the grand root and "other" entries. "/drive" and "/drive/other". 191 // As an intermediate change, "/drive/root" is also added here. 321 // Disallow deletion of special entries "/drive" and "/drive/other" [all...] |
resource_metadata_storage.cc | 5 #include "chrome/browser/chromeos/drive/resource_metadata_storage.h" 14 #include "chrome/browser/chromeos/drive/drive.pb.h" 18 namespace drive { namespace 281 UMA_HISTOGRAM_ENUMERATION("Drive.MetadataDBOpenExistingResult", 317 UMA_HISTOGRAM_ENUMERATION("Drive.MetadataDBInitResult", 641 } // namespace drive
|
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" 21 namespace drive { namespace 28 // kMaxThrottleCount (https://developers.google.com/drive/handle-errors). 766 // Should stop if Drive was disabled while running the fetch loop. 792 // Exponential backoff: https://developers.google.com/drive/handle-errors. [all...] |
/external/chromium_org/chrome/browser/drive/ |
drive_api_service.cc | 5 #include "chrome/browser/drive/drive_api_service.h" 14 #include "chrome/browser/drive/drive_api_util.h" 59 using google_apis::drive::ContinueGetFileListRequest; 60 using google_apis::drive::CopyResourceRequest; 61 using google_apis::drive::CreateDirectoryRequest; 62 using google_apis::drive::DeleteResourceRequest; 63 using google_apis::drive::DownloadFileRequest; 64 using google_apis::drive::GetUploadStatusRequest; 65 using google_apis::drive::InitiateUploadExistingFileRequest; 66 using google_apis::drive::InitiateUploadNewFileRequest 73 namespace drive { namespace [all...] |
fake_drive_service_unittest.cc | 5 #include "chrome/browser/drive/fake_drive_service.h" 42 namespace drive { namespace 730 "drive/applist.json")); 746 "drive/applist.json")); [all...] |
gdata_wapi_service.cc | 5 #include "chrome/browser/drive/gdata_wapi_service.h" 13 #include "chrome/browser/drive/drive_api_util.h" 65 namespace drive { namespace 160 // Drive App scope is required for even WAPI v3 apps access. 196 // to the Drive API v2, so we'll reuse GetResourceListRequest to implement 638 } // namespace drive
|
/external/chromium_org/chrome/browser/google_apis/ |
drive_api_requests.h | 149 // the requests for Drive API v2 and GData WAPI for transition. 152 // TODO(hidehiko): Move all the requests defined in this file into drive 154 namespace drive { namespace in namespace:google_apis 235 // This uses "files.patch" of Drive API v2 rather than "files.touch". See also: 236 // https://developers.google.com/drive/v2/reference/files/patch, and 237 // https://developers.google.com/drive/v2/reference/files/touch 275 // of Drive API v2's copy request). 277 // This request corresponds to "Files: copy" request on Drive API v2. See 278 // also: https://developers.google.com/drive/v2/reference/files/copy 309 // https://developers.google.com/drive/v2/reference/files/tras [all...] |
drive_api_requests.cc | 20 const char kParentLinkKind[] = "drive#fileLink"; 49 const drive::UploadRangeCallback& callback, 172 namespace drive { namespace in namespace:google_apis 656 } // namespace drive
|
/external/chromium_org/sandbox/win/src/ |
win_utils.cc | 146 // Look for the drive letter. 151 // Only one character for the drive. 156 wchar_t drive[4] = {0}; local 158 memcpy(drive, &path[colon_pos - 1], 2 * sizeof(*drive)); 161 DWORD vol_length = ::QueryDosDeviceW(drive, vol_name, MAX_PATH); 172 // Check up to the drive letter. 176 // Check the path after the drive letter.
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32filesystem.cc | 402 char drive[4]; local 405 if (path.GetDrive(drive, sizeof(drive))) { 406 drive16 = ToUtf16(drive); 414 // use the current drive if NULL is passed as the drive name. 420 LOG(LS_VERBOSE) << " remove or unknown drive " << drive;
|
/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/base/ |
file_util_win.cc | 563 // will find a drive letter which maps to the path's device, so 564 // that we return a path starting with a drive letter. 572 // Get the mapping of drive letters to device paths. 576 DLOG(ERROR) << "Failed to get drive mapping."; 580 // The drive mapping is a sequence of null terminated strings. 584 wchar_t drive[] = L" :"; local 586 // For each string in the drive mapping, get the junction that links 588 // know that |drive| is the real path prefix. 590 drive[0] = drive_map_ptr[0]; // Copy the drive letter [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
|