/external/e2fsprogs/misc/ |
base_device.c | 6 * one time. Otherwise, the disk heads will be seeking all over the 45 const char **hier, *disk; local 65 * on one disk, since we don't know how to parallelize them. 125 /* Now handle devfs /dev/disc or /dev/disk names */ 126 disk = 0; 128 disk = "disc"; 130 disk = "disk"; 131 if (disk) { 133 if (strncmp(cp, disk, 4) != 0 [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageWizardFormatConfirm.java | 79 final DiskInfo disk = context.getSystemService(StorageManager.class) local 85 disk.getShortDescription())); 88 disk.getDescription(), 89 disk.getShortDescription(), 90 disk.getShortDescription())); 95 disk.getShortDescription()),
|
StorageSettings.java | 138 public void onDiskDestroyed(DiskInfo disk) { 206 for (DiskInfo disk : disks) { 207 if (disk.volumeCount == 0 && disk.size > 0) { 209 pref.setKey(disk.getId()); 210 pref.setTitle(disk.getDescription()); 309 } else if (key.startsWith("disk:")) { 310 // Picked an unsupported disk 481 if (vol.disk != null && vol.disk.isUsb() & 520 final DiskInfo disk = sm.findDiskById(diskId); local [all...] |
/external/ImageMagick/Magick++/lib/ |
ResourceLimits.cpp | 23 void Magick::ResourceLimits::disk(const MagickSizeType limit_) function in class:Magick::ResourceLimits 28 MagickCore::MagickSizeType Magick::ResourceLimits::disk(void) function in class:Magick::ResourceLimits
|
/external/syslinux/core/fs/ |
getfssec.c | 31 * Generic getfssec implementation for disk-based filesystems, which 93 struct disk *disk = fs->fs_dev->disk; local 176 disk->rdwr_sectors(disk, buf, inode->this_extent.pstart, chunk, 0);
|
diskio_bios.c | 8 static inline sector_t chs_max(const struct disk *disk) 10 return (sector_t)disk->secpercyl << 10; 45 static int chs_rdwr_sectors(struct disk *disk, void *buf, 51 int sector_shift = disk->sector_shift; 52 uint32_t xlba = lba + disk->part_start; /* Truncated LBA (CHS is << 2 TB) */ 59 uint32_t maxtransfer = disk->maxtransfer; 61 if (lba + disk->part_start >= chs_max(disk)) 290 static struct disk disk; local [all...] |
/external/syslinux/core/include/ |
disk.h | 17 * struct disk: contains the information about a specific disk and also 20 struct disk { struct 21 void *private; /* Firmware-private disk info */ 33 int (*rdwr_sectors)(struct disk *, void *, sector_t, size_t, bool); 37 extern void getoneblk(struct disk *, char *, block_t, int); 40 struct disk *bios_disk_init(void *);
|
/external/syslinux/efi/ |
diskio.c | 7 #include <disk.h> 23 static int efi_rdwr_sectors(struct disk *disk, void *buf, 26 struct efi_disk_private *priv = (struct efi_disk_private *)disk->private; 29 UINTN bytes = count * disk->sector_size; 32 status = write_blocks(bio, disk->disk_number, lba, bytes, buf); 34 status = read_blocks(bio, disk->disk_number, lba, bytes, buf); 41 return count << disk->sector_shift; 44 struct disk *efi_disk_init(void *private) 46 static struct disk disk local [all...] |
/external/syslinux/com32/hdt/ |
hdt-dump-disks.c | 89 char disk[5]={0}; local 91 snprintf(disk,sizeof(disk),"0x%X",d->disk); 97 add_as("disk->number",disk) 98 add_ai("disk->cylinders",d->legacy_max_cylinder +1) 99 add_ai("disk->heads",d->legacy_max_head +1) 100 add_ai("disk->sectors_per_track",d->legacy_sectors_per_track) 101 add_as("disk->edd_version",edd_version [all...] |
/external/python/cpython2/Lib/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/syslinux/core/fs/xfs/ |
xfs.c | 24 #include <disk.h> 73 xfs_error("Failed to get dinode from disk (ino %llx)", inode->ino); 111 xfs_error("Failed to get dinode from disk (ino %llx)", inode->ino); 222 xfs_error("Failed to get dinode from disk (ino 0x%llx)", parent->ino); 266 xfs_error("Failed to get dinode from disk (ino 0x%llx)", inode->ino); 336 struct disk *disk = fs->fs_dev->disk; local 338 if (!disk->rdwr_sectors(disk, sb, XFS_SB_DADDR, 1, false) 370 struct disk *disk = fs->fs_dev->disk; local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
DiskReceiver.java | 128 Log.d(TAG, "Scanning disk: " + diskInfo); 130 Log.d(TAG, "Disk ID " + diskInfo.id + " has no media"); 134 Log.d(TAG, "Disk ID " + diskInfo.id + " has usable volumes, deferring"); 137 // No usable volumes, prompt the user to erase the disk 156 final DiskInfo disk = info.getDisk(); local 157 if (disk.isAdoptable()) { 159 info.getId(), disk.getId());
|
/prebuilts/gdb/darwin-x86/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...] |
/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...] |
/frameworks/base/core/java/android/os/storage/ |
VolumeInfo.java | 152 public final DiskInfo disk; field in class:VolumeInfo 163 public VolumeInfo(String id, int type, DiskInfo disk, String partGuid) { 166 this.disk = disk; 174 disk = DiskInfo.CREATOR.createFromParcel(parcel); 176 disk = null; 215 return disk; 219 return (disk != null) ? disk.id : null; 508 if (disk != null) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
StorageNotification.java | 98 public void onDiskScanned(DiskInfo disk, int volumeCount) { 99 onDiskScannedInternal(disk, volumeCount); 103 public void onDiskDestroyed(DiskInfo disk) { 104 onDiskDestroyedInternal(disk); 171 for (DiskInfo disk : disks) { 172 onDiskScannedInternal(disk, disk.volumeCount); 230 private void onDiskScannedInternal(DiskInfo disk, int volumeCount) { 231 if (volumeCount == 0 && disk.size > 0) { 234 R.string.ext_media_unsupported_notification_title, disk.getDescription()) 339 final DiskInfo disk = vol.getDisk(); local 353 final DiskInfo disk = vol.getDisk(); local 407 final DiskInfo disk = vol.getDisk(); local 420 final DiskInfo disk = vol.getDisk(); local 438 final DiskInfo disk = vol.getDisk(); local 455 final DiskInfo disk = vol.getDisk(); local [all...] |
/external/ImageMagick/MagickCore/ |
resource.c | 83 disk, 117 MagickULLConstant(0), /* initial disk */ 127 MagickResourceInfinity, /* disk limit */ 229 resource_info.disk+=size; 232 ((MagickSizeType) resource_info.disk < limit) ? MagickTrue : 234 (void) FormatMagickSize((MagickSizeType) resource_info.disk,MagickTrue, 634 resource=(MagickSizeType) resource_info.disk; 824 (void) FormatLocaleFile(file," Disk: %s\n",disk_limit); 925 resource_info.disk-=size; 926 (void) FormatMagickSize((MagickSizeType) resource_info.disk,MagickTrue 81 disk, member in struct:_ResourceInfo [all...] |
/external/python/cpython2/Lib/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/syslinux/core/fs/ext2/ |
ext2.c | 8 #include "disk.h" 274 struct disk *disk = fs->fs_dev->disk; local 280 disk->rdwr_sectors(disk, &sb, 2, 2, 0); 298 fs->sector_shift = disk->sector_shift;
|
/external/syslinux/core/fs/iso9660/ |
iso9660.c | 7 #include <disk.h> 282 struct disk *disk = fs->fs_dev->disk; local 293 * XXX: handling iso9660 in hybrid mode on top of a 4K-logical disk 296 fs->sector_shift = fs->fs_dev->disk->sector_shift; 306 disk->rdwr_sectors(disk, pvd, (sector_t)pvd_lba << blktosec,
|
/external/syslinux/core/fs/ufs/ |
ufs.c | 25 #include <disk.h> 36 do_checksb(struct ufs_super_block *sb, struct disk *disk, 44 count = sizeof *sb >> disk->sector_shift; 45 /* Get lba address based on sector size of disk */ 46 lba = sblock_off >> (disk->sector_shift); 48 disk->rdwr_sectors(disk, sb, lba, count, 0); 61 ufs_checksb(struct ufs_super_block *sb, struct disk *disk) 442 struct disk *disk = fs->fs_dev->disk; local [all...] |
/prebuilts/gdb/darwin-x86/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...] |
/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...] |
/system/update_engine/common/ |
utils_unittest.cc | 114 string disk; local 117 EXPECT_TRUE(utils::SplitPartitionName("/dev/sda3", &disk, &part_num)); 118 EXPECT_EQ("/dev/sda", disk); 121 EXPECT_TRUE(utils::SplitPartitionName("/dev/sdp1234", &disk, &part_num)); 122 EXPECT_EQ("/dev/sdp", disk); 125 EXPECT_TRUE(utils::SplitPartitionName("/dev/mmcblk0p3", &disk, &part_num)); 126 EXPECT_EQ("/dev/mmcblk0", disk); 129 EXPECT_TRUE(utils::SplitPartitionName("/dev/ubiblock3_2", &disk, &part_num)); 130 EXPECT_EQ("/dev/ubiblock", disk); 133 EXPECT_TRUE(utils::SplitPartitionName("/dev/loop10", &disk, &part_num)) [all...] |
/external/python/cpython2/Mac/Demo/applescript/Disk_Copy/ |
Standard_Suite.py | 4 Generated from Macintosh HD:Hulpprogramma's:Disk Copy 88 """application - The Disk Copy application """ 103 """driver version - the version of the disk image driver """ 111 """save log file - Should the log file be saved on disk? """ 115 """use speech - Should Disk Copy use spoken feedback? """ 163 """make multiple floppies - Should the user be prompted to make multiple floppy disk images at a time? """ 167 """auto image upon insert - Should a newly-inserted disk automatically be processed into an image? """ 195 class disk(aetools.ComponentItem): class in inherits:aetools.ComponentItem 196 """disk - A mounted volume """ 197 want = 'Disk' [all...] |