HomeSort by relevance Sort by last modified time
    Searched defs:disk (Results 1 - 21 of 21) sorted by null

  /external/e2fsprogs/misc/
base_device.c 6 * one time. Otherwise, the disk heads will be seeking all over the
44 const char **hier, *disk; local
64 * on one disk, since we don't know how to parallelize them.
124 /* Now handle devfs /dev/disc or /dev/disk names */
125 disk = 0;
127 disk = "disc";
129 disk = "disk";
130 if (disk) {
132 if (strncmp(cp, disk, 4) != 0
    [all...]
  /external/chromium_org/chrome/browser/chromeos/imageburner/
burn_controller.cc 46 const disks::DiskMountManager::Disk& disk) OVERRIDE {
47 delegate_->OnDeviceAdded(disk);
52 const disks::DiskMountManager::Disk& disk) OVERRIDE {
53 delegate_->OnDeviceRemoved(disk);
110 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices()
159 const disks::DiskMountManager::Disk* disk = local
161 return disk ? disk->total_size_in_bytes() : 0
    [all...]
burn_device_handler.cc 21 // Returns true when |disk| is a device on which we can burn recovery image.
22 bool IsBurnableDevice(const DiskMountManager::Disk& disk) {
23 return disk.is_parent() && !disk.on_boot_device() && disk.has_media() &&
24 (disk.device_type() == DEVICE_TYPE_USB ||
25 disk.device_type() == DEVICE_TYPE_SD);
46 std::vector<DiskMountManager::Disk> BurnDeviceHandler::GetBurnableDevices() {
48 std::vector<DiskMountManager::Disk> result
52 const DiskMountManager::Disk& disk = *iter->second; local
    [all...]
burn_device_handler_unittest.cc 37 // Emulates to add new disk physically (e.g., connecting a
39 void EmulateAddDisk(scoped_ptr<Disk> in_disk) {
44 Disk* disk = in_disk.get(); local
45 bool new_disk = InsertDisk(disk->device_path(), in_disk.Pass());
48 OnDiskEvent(new_disk ? DISK_ADDED : DISK_CHANGED, disk));
51 // Emulates to remove a disk phyically (e.g., removing a USB flash from
54 scoped_ptr<Disk> disk(RemoveDisk(source_path));
55 if (disk.get())
    [all...]
  /external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
mounted_disk_monitor.cc 61 const DiskMountManager::Disk& disk) const {
62 return unmounted_while_resuming_.count(disk.fs_uuid()) > 0;
75 const DiskMountManager::Disk* disk = local
77 if (!disk || error_code != chromeos::MOUNT_ERROR_NONE)
79 mounted_disks_[mount_info.source_path] = disk->fs_uuid();
98 const chromeos::disks::DiskMountManager::Disk* disk) {
event_router.cc 381 const DiskMountManager::Disk* disk) {
385 if (disk->is_hidden())
388 OnDiskAdded(disk);
390 OnDiskRemoved(disk);
424 const DiskMountManager::Disk* disk = local
426 if (!disk || mounted_disk_monitor_->DiskIsRemounting(*disk))
430 disk->system_path_prefix(), disk->drive_label(), disk->is_parent()
    [all...]
private_api_file_system.cc 53 const DiskMountManager::Disk* GetVolumeAsDisk(const std::string& mount_path) {
61 const DiskMountManager::Disk* disk = disk_mount_manager->FindDiskBySourcePath( local
64 return (disk && disk->is_hidden()) ? NULL : disk;
70 const DiskMountManager::Disk* volume) {
514 const DiskMountManager::Disk* volume = GetVolumeAsDisk(file_path.value());
  /external/chromium_org/chrome/browser/chromeos/
boot_times_loader.h 51 // Records current uptime and disk usage for metrics use.
119 std::string disk; member in struct:chromeos::BootTimesLoader::Stats
  /external/chromium/chrome/browser/chromeos/
boot_times_loader.h 84 // Records current uptime and disk usage for metrics use.
149 std::string disk; member in struct:chromeos::BootTimesLoader::Stats
  /external/chromium/chrome/browser/chromeos/cros/
mount_library.cc 18 MountLibrary::Disk::Disk(const std::string& device_path,
112 virtual void RefreshDiskProperties(const Disk* disk) OVERRIDE {
114 DCHECK(disk); variable
116 OnGetDiskProperties(disk->device_path().c_str(),
122 GetDiskProperties(disk->device_path().c_str(),
158 // Callback for disk information retrieval calls.
161 const DiskInfo* disk,
167 disk,
209 Disk* disk = iter->second; local
231 Disk* disk = iter->second; local
254 const DiskInfoAdvanced* disk = local
350 Disk* disk = iter->second; local
378 Disk* disk = iter->second; local
    [all...]
  /external/chromium_org/chrome/browser/storage_monitor/
storage_monitor_chromeos.cc 28 std::string MakeDeviceUniqueId(const disks::DiskMountManager::Disk& disk) {
29 std::string uuid = disk.fs_uuid();
38 const std::string& vendor = disk.vendor_id();
39 const std::string& product = disk.product_id();
53 const disks::DiskMountManager::Disk* disk = local
55 if (!disk || disk->device_type() == DEVICE_TYPE_UNKNOWN)
58 std::string unique_id = MakeDeviceUniqueId(*disk);
    [all...]
  /external/chromium_org/chromeos/disks/
mock_disk_mount_manager.cc 69 scoped_ptr<DiskMountManager::Disk> disk1(new DiskMountManager::Disk(
91 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>(
97 // Disk Added
100 // Disk Changed
101 scoped_ptr<DiskMountManager::Disk> disk2(new DiskMountManager::Disk(
122 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>(
128 scoped_ptr<DiskMountManager::Disk> disk(new DiskMountManager::Disk
185 Disk* disk = new DiskMountManager::Disk(std::string(mount_info.source_path), local
    [all...]
disk_mount_manager.cc 111 DiskMap::const_iterator disk = disks_.find(device_path); variable
112 if (disk == disks_.end()) {
118 UnmountPath(disk->second->mount_path(),
201 virtual const Disk* FindDiskBySourcePath(const std::string& source_path)
213 virtual bool AddDiskForTest(Disk* disk) OVERRIDE {
214 if (disks_.find(disk->device_path()) != disks_.end()) {
215 LOG(ERROR) << "Attempt to add a duplicate disk";
219 disks_.insert(std::make_pair(disk->device_path(), disk));
333 Disk* disk = iter->second; local
387 DiskMap::const_iterator disk = disks_.find(device_path); local
427 Disk* disk = new Disk(disk_info.device_path(), local
468 Disk* disk = iter->second; local
495 Disk* disk = iter->second; local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
Containers_and_folders.py 18 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """disk - A disk """
26 """capacity - the total number of bytes (free or used) on the disk """
34 """format - the filesystem format of this disk """
38 """free space - the number of free bytes left on the disk """
42 """ignore privileges - Ignore permissions on this disk? """
50 """startup - Is this disk the boot disk? """
64 disks = disk
    [all...]
  /external/qemu/block/
bochs.c 2 * Block driver for the various disk image formats used by Bochs
54 uint64_t disk; // disk size member in struct:bochs_header_v1::__anon26603::__anon26604
75 uint64_t disk; // disk size member in struct:bochs_header::__anon26605::__anon26606
133 bs->total_sectors = le64_to_cpu(header_v1.extra.redolog.disk) / 512;
135 bs->total_sectors = le64_to_cpu(bochs.extra.redolog.disk) / 512;
  /external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
SDL_syscdrom.c 470 Boolean disk = false; local
495 disk = true;
499 /* If no disk is present, just eject the tray */
500 if (! disk) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/
Disk_Folder_File_Suite.py 1 """Suite Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files
20 """move: Move disk item(s) to a new location.
22 Keyword argument to: The new location for the disk item(s).
43 """application - The Disk-Folder-File Suite host program """
56 """properties - every property of the Disk-Folder-File Suite host program """
74 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem
75 """disk - A disk in the file system """
78 """POSIX path - the POSIX file system path of the disk """
82 """capacity - the total number of bytes (free or used) on the disk """
    [all...]
  /external/qemu-pc-bios/bochs/
bochs.h 437 bx_bool disk; member in struct:__anon27536
  /external/stressapptest/src/
sat.cc 141 // Get a space separated sting of disk locations.
146 // Copy and remove the disk name.
147 string disk = locations.back(); local
150 logprintf(12, "Log: disk at %s\n", disk.c_str());
152 filename_.push_back(disk + "/sat_disk.a");
154 filename_.push_back(disk + "/sat_disk.b");
169 "with disk/network DMA.\n");
838 // Size of read blocks for disk test.
841 // Size of write blocks for disk test
    [all...]
  /external/kernel-headers/original/linux/
cdrom.h 251 __u8 xa_flag; /* 1: "is XA disk" */
935 struct gendisk *disk; /* matching block layer disk */ member in struct:cdrom_device_info
    [all...]
  /external/robolectric/lib/main/
h2-1.2.147.jar 

Completed in 1419 milliseconds