HomeSort by relevance Sort by last modified time
    Searched full:disk_size (Results 1 - 4 of 4) sorted by null

  /sdk/emulator/mksdcard/
mksdcard.c 80 get_sectors_per_cluster( Wide disk_size )
82 Wide disk_MB = disk_size/(1024*1024);
100 get_sectors_per_fat( Wide disk_size, int sectors_per_cluster )
105 disk_size -= RESERVED_SECTORS * BYTES_PER_SECTOR; /* don't count 32 reserved sectors */
106 disk_size /= BYTES_PER_SECTOR; /* disk size in sectors */
109 return (int)( (disk_size + (divider-1)) / divider );
113 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label )
115 int sectors_per_cluster = get_sectors_per_cluster(disk_size);
116 int sectors_per_fat = get_sectors_per_fat(disk_size, sectors_per_cluster);
117 int sectors_per_disk = (int)(disk_size / BYTES_PER_SECTOR)
223 Wide disk_size; local
    [all...]
  /system/core/libdiskconfig/
diskconfig.c 275 uint64_t disk_size; local
313 if (ioctl(fd, BLKGETSIZE64, &disk_size) < 0) {
318 dinfo->num_lba = (uint32_t)(disk_size / (uint64_t)dinfo->sect_size);
320 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
328 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
331 disk_size = (uint64_t)stat.st_size;
340 dinfo->device, disk_size, dinfo->num_lba, dinfo->sect_size);
373 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
375 "size (%llu).", total_size, disk_size);
  /packages/inputmethods/PinyinIME/jni/include/
userdict.h 128 uint32 disk_size; member in struct:ime_pinyin::UserDict::UserDictStat
  /packages/inputmethods/PinyinIME/jni/share/
userdict.cpp     [all...]

Completed in 492 milliseconds