/external/gptfdisk/ |
D | basicmbr.cc | 99 partitions[i] = orig.partitions[i]; in operator =() 166 partitions[i] = tempMBR.partitions[i]; in ReadMBRData() 167 if (partitions[i].GetLengthLBA() > 0) in ReadMBRData() 168 partitions[i].SetInclusion(PRIMARY); in ReadMBRData() 179 partitions[i].ReverseByteOrder(); in ReadMBRData() 199 if ((partitions[i].GetType() == 0x05) || (partitions[i].GetType() == 0x0f) in ReadMBRData() 200 || (partitions[i].GetType() == 0x85)) { in ReadMBRData() 202 logicalNum = ReadLogicalParts(partitions[i].GetStartLBA(), abs(logicalNum) + 1); in ReadMBRData() 219 if (partitions[i].GetType() == UINT8_C(0xEE)) { in ReadMBRData() 229 if ((partitions[i].GetType() != UINT8_C(0xEE)) && in ReadMBRData() [all …]
|
D | mbr.cc | 61 partitions[0].SetStatus(0); // Flag the protective part. as unbootable in MakeProtectiveMBR() 63 partitions[0].SetType(UINT8_C(0xEE)); in MakeProtectiveMBR() 65 partitions[0].SetLocation(UINT32_C(1), (uint32_t) diskSize - UINT32_C(1)); in MakeProtectiveMBR() 67 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX); in MakeProtectiveMBR() 69 partitions[0].SetInclusion(PRIMARY); in MakeProtectiveMBR() 81 if ((partitions[i].GetType() != 0xEE) && (partitions[i].GetType() != 0x00)) in OptimizeEESize() 83 if (partitions[i].GetType() == 0xEE) { in OptimizeEESize() 85 if (SectorUsedAs(partitions[i].GetStartLBA() - 1, 4) == NONE) { in OptimizeEESize() 86 partitions[i].SetStartLBA(FindFirstInFree(partitions[i].GetStartLBA() - 1)); in OptimizeEESize() 89 after = partitions[i].GetStartLBA() + partitions[i].GetLengthLBA(); in OptimizeEESize() [all …]
|
D | bsd.cc | 38 partitions = NULL; in BSDData() 42 delete[] partitions; in ~BSDData() 138 partitions = new struct BSDRecord[numParts * sizeof(struct BSDRecord)]; in ReadBSDData() 139 if (partitions == NULL) { in ReadBSDData() 147 partitions[i].lengthLBA = tempRecords[i].lengthLBA; in ReadBSDData() 148 partitions[i].firstLBA = tempRecords[i].firstLBA; in ReadBSDData() 149 partitions[i].fsType = tempRecords[i].fsType; in ReadBSDData() 151 ReverseBytes(&partitions[i].lengthLBA, 4); in ReadBSDData() 152 ReverseBytes(&partitions[i].firstLBA, 4); in ReadBSDData() 159 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0) in ReadBSDData() [all …]
|
D | gpt.cc | 70 partitions = NULL; in GPTData() 95 partitions = NULL; in GPTData() 119 delete[] partitions; in ~GPTData() 148 delete[] partitions; in operator =() 149 partitions = new GPTPart [numParts]; in operator =() 150 if (partitions == NULL) { in operator =() 156 partitions[i] = orig.partitions[i]; in operator =() 325 if ((partitions[i].IsUsed()) && (partitions[i].GetFirstLBA() % sectorAlignment) != 0) { in Verify() 364 if (partitions[i].IsUsed()) { in CheckGPTSize() 365 if (partitions[i].GetFirstLBA() < firstUsedBlock) in CheckGPTSize() [all …]
|
D | gptcurses.cc | 93 if (partitions[i].IsUsed()) { in MakeSpacesFromParts() 95 tempSpace->firstLBA = partitions[i].GetFirstLBA(); in MakeSpacesFromParts() 96 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts() 97 tempSpace->origPart = &partitions[i]; in MakeSpacesFromParts() 328 printw("Partition GUID code: %s (%s)\n", partitions[partNum].GetType().AsString().c_str(), in ShowInfo() 329 partitions[partNum].GetTypeName().c_str()); in ShowInfo() 330 printw("Partition unique GUID: %s\n", partitions[partNum].GetUniqueGUID().AsString().c_str()); in ShowInfo() 331 printw("First sector: %lld (at %s)\n", partitions[partNum].GetFirstLBA(), in ShowInfo() 332 BytesToIeee(partitions[partNum].GetFirstLBA(), blockSize).c_str()); in ShowInfo() 333 printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), in ShowInfo() [all …]
|
D | gpttext.cc | 124 hexCode = partitions[partNum].GetHexType(); in XFormDisklabel() 190 while (partitions[firstFreePart].GetFirstLBA() != 0) { in CreatePartition() 206 if (partitions[partNum].GetFirstLBA() != 0) in CreatePartition() 208 } while (partitions[partNum].GetFirstLBA() != 0); in CreatePartition() 237 partitions[partNum].ChangeType(); in CreatePartition() 238 partitions[partNum].SetDefaultDescription(); in CreatePartition() 269 partitions[partNum].ChangeType(); in ChangePartType() 288 cout << "New GUID is " << partitions[partNum].GetUniqueGUID() << "\n"; in ChangeUniqueGuid() 299 partitions[partNum].SetAttributes(); in SetAttributes() 317 partitions[partNum].SetName(theName); in SetName() [all …]
|
D | README | 13 tool for manipulating partitions, but it does nothing to the contents of 14 those partitions (usually filesystems, but sometimes swap space or other 19 is a curses-based text-mode tool for manipulating partitions, which is to 32 various utilities. Specifically, it can fix mis-sized extended partitions 33 and primary partitions located in the middle of extended partitions. It 36 It does NOT support creating new partitions; for that, you should use 61 partitions, without losing data 78 access up to three GPT partitions on the disk (gdisk and sgdisk only) 101 Typically, the symptom is a disk that appears to hold no partitions; 102 however, sometimes the libparted tool presents partitions other than those [all …]
|
D | NEWS | 43 - Fixed bug that caused gdisk and sgdisk to create hybridized partitions 46 hybrid partitions that begin below 2^32 sectors and that are smaller than 49 misbehave with such partitions. AFAIK, only Linux, FreeBSD, and Windows 7 50 work properly with such partitions. Because of this fact and because 81 Environment (ONIE) boot and config partitions, respectively. 93 8302, for Linux /home partitions. This type code is used by recent 108 on sector 1: Previously, a disk with multiple 0xEE partitions would 110 0xEE partitions begins on sector 1. 114 hybridized partitions, gdisk would hang. 145 it prevents gaps from appearing between partitions if several are created [all …]
|
/external/toybox/toys/pending/ |
D | fdisk.c | 89 struct part_entry partitions[PARTITION_MAX]; variable 212 pe = &partitions[i]; in check_order() 241 q = p = partitions[idx].part; in read_ebr() 249 partitions[num_parts-1].modified = 1; in read_ebr() 254 partitions[num_parts].part = part_offset(sec_buf, 0); in read_ebr() 255 partitions[num_parts].sec_buffer = sec_buf; in read_ebr() 259 partitions[num_parts].start_offset = offset; in read_ebr() 303 struct part_entry *pe = &partitions[i]; in reset_boot() 323 for (; i < num_parts; i++) free(partitions[i].sec_buffer); in free_bufs() 335 partitions[0].modified = 1; in create_empty_doslabel() [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | fastboot_utils.py | 36 def _FindAndVerifyPartitionsAndImages(partitions, directory): argument 58 for partition in partitions: 179 def _FlashPartitions(self, partitions, directory, wipe=False, force=False): argument 204 flash_image_files = _FindAndVerifyPartitionsAndImages(partitions, directory) 205 partitions = flash_image_files.keys() 206 for partition in partitions: 234 def FlashDevice(self, directory, partitions=None, wipe=False): argument 247 if partitions is None: 248 partitions = ALL_PARTITIONS 254 self._FlashPartitions(partitions, directory, wipe=wipe)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | fastboot_utils.py | 38 def _FindAndVerifyPartitionsAndImages(partitions, directory): argument 60 for partition in partitions: 181 def _FlashPartitions(self, partitions, directory, wipe=False, force=False): argument 206 flash_image_files = _FindAndVerifyPartitionsAndImages(partitions, directory) 207 partitions = flash_image_files.keys() 208 for partition in partitions: 236 def FlashDevice(self, directory, partitions=None, wipe=False): argument 249 if partitions is None: 250 partitions = ALL_PARTITIONS 256 self._FlashPartitions(partitions, directory, wipe=wipe)
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ListsTest.java | 563 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_empty() local 564 assertTrue(partitions.isEmpty()); in testPartition_empty() 565 assertEquals(0, partitions.size()); in testPartition_empty() 570 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_1_1() local 571 assertEquals(1, partitions.size()); in testPartition_1_1() 572 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_1() 577 List<List<Integer>> partitions = Lists.partition(source, 2); in testPartition_1_2() local 578 assertEquals(1, partitions.size()); in testPartition_1_2() 579 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_2() 584 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_2_1() local [all …]
|
D | IteratorsTest.java | 703 Iterator<List<Integer>> partitions = Iterators.partition(source, 1); in testPartition_empty() local 704 assertFalse(partitions.hasNext()); in testPartition_empty() 709 Iterator<List<Integer>> partitions = Iterators.partition(source, 1); in testPartition_singleton1() local 710 assertTrue(partitions.hasNext()); in testPartition_singleton1() 711 assertTrue(partitions.hasNext()); in testPartition_singleton1() 712 assertEquals(ImmutableList.of(1), partitions.next()); in testPartition_singleton1() 713 assertFalse(partitions.hasNext()); in testPartition_singleton1() 718 Iterator<List<Integer>> partitions = Iterators.partition(source, 2); in testPartition_singleton2() local 719 assertTrue(partitions.hasNext()); in testPartition_singleton2() 720 assertTrue(partitions.hasNext()); in testPartition_singleton2() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 808 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_empty() local 809 assertTrue(partitions.isEmpty()); in testPartition_empty() 810 assertEquals(0, partitions.size()); in testPartition_empty() 815 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_1_1() local 816 assertEquals(1, partitions.size()); in testPartition_1_1() 817 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_1() 822 List<List<Integer>> partitions = Lists.partition(source, 2); in testPartition_1_2() local 823 assertEquals(1, partitions.size()); in testPartition_1_2() 824 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_2() 829 List<List<Integer>> partitions = Lists.partition(source, 1); in testPartition_2_1() local [all …]
|
D | IteratorsTest.java | 887 Iterator<List<Integer>> partitions = Iterators.partition(source, 1); in testPartition_empty() local 888 assertFalse(partitions.hasNext()); in testPartition_empty() 893 Iterator<List<Integer>> partitions = Iterators.partition(source, 1); in testPartition_singleton1() local 894 assertTrue(partitions.hasNext()); in testPartition_singleton1() 895 assertTrue(partitions.hasNext()); in testPartition_singleton1() 896 assertEquals(ImmutableList.of(1), partitions.next()); in testPartition_singleton1() 897 assertFalse(partitions.hasNext()); in testPartition_singleton1() 902 Iterator<List<Integer>> partitions = Iterators.partition(source, 2); in testPartition_singleton2() local 903 assertTrue(partitions.hasNext()); in testPartition_singleton2() 904 assertTrue(partitions.hasNext()); in testPartition_singleton2() [all …]
|
D | IterablesTest.java | 429 Iterable<List<Integer>> partitions = Iterables.partition(source, 1); 430 assertTrue(Iterables.isEmpty(partitions)); 435 Iterable<List<Integer>> partitions = Iterables.partition(source, 1); 436 assertEquals(1, Iterables.size(partitions)); 437 assertEquals(Collections.singletonList(1), partitions.iterator().next()); 442 Iterable<List<Integer>> partitions = Iterables.partition(list, 2); 447 Iterator<List<Integer>> iterator = partitions.iterator(); 464 Iterable<List<Integer>> partitions = Iterables.partition(source, 2); 465 Iterator<List<Integer>> iterator = partitions.iterator(); 474 Iterable<List<Integer>> partitions = Iterables.partition(source, 2); [all …]
|
/external/autotest/client/bin/ |
D | partition.py | 146 partitions = [] 175 partitions.append(partition(job, device)) 177 return partitions 198 def filter_partition_list(partitions, devnames): argument 215 for p in partitions: 240 partitions = get_partition_list(job=job, min_blocks=min_blocks, 244 for part in partitions: 252 def parallel(partitions, method_name, *args, **dargs): argument 257 if not partitions: 259 job = partitions[0].job [all …]
|
/external/tremolo/Tremolo/ |
D | res012.c | 69 info->partitions=(char)(oggpack_read(opb,6)+1); // "classification" in spec in res_unpack() 73 info->stagemasks=_ogg_malloc(info->partitions*sizeof(*info->stagemasks)); in res_unpack() 74 info->stagebooks=_ogg_malloc(info->partitions*8*sizeof(*info->stagebooks)); in res_unpack() 76 for(j=0;j<info->partitions;j++){ in res_unpack() 83 for(j=0;j<info->partitions;j++){ in res_unpack() 154 partword[0][i+k]=partword[0][i+k+1]*info->partitions; in res_inverse() 180 if(idx < info->partitions && info->stagemasks[idx]&(1<<s)){ in res_inverse() 231 partword[i+k]=partword[i+k+1]*info->partitions; in res_inverse() 248 if(partword[i] >= 0 && partword[i] < info->partitions && in res_inverse()
|
/external/autotest/client/site_tests/platform_PartitionCheck/ |
D | platform_PartitionCheck.py | 59 partitions = [device + 'p3', device + 'p5'] 61 partitions = [device + '3', device + '5'] 65 for p in partitions:
|
/external/autotest/client/samples/ |
D | control.fs | 11 creating loopback partitions instead of using real disk partitions, looping. 15 # You can use also 'real' partitions, just comment the above and uncomment
|
D | control.fs_options | 10 features of the job.partition method, such as creating loopback partitions 11 instead of using real disk partitions, looping and tags. 16 # You can use also 'real' partitions, just comment the above and uncomment
|
/external/e2fsprogs/lib/ext2fs/ |
D | dosio.c | 48 static PARTITION **partitions = NULL; variable 222 if(!strcmp(partitions[i]->dev, dev)) in dos_open() 225 active = partitions[i]; in dos_open() 340 newparts = (PARTITION**)realloc(partitions, sizeof(PARTITION) * npart); in dos_open() 345 partitions = newparts; in dos_open() 346 partitions[npart++] = active = part; in dos_open()
|
/external/syslinux/doc/ |
D | gpt.txt | 12 partitions present, as partitions, in the GPT PMBR sector. This means 14 EE), may contain up to three partitions: a protective partition (EE) 19 All partitions, including the active partition, should have GPT 29 This defines the T13-approved protocol for GPT partitions with BIOS
|
/external/eigen/bench/ |
D | check_cache_queries.cpp | 66 int partitions = (abcd[1] & 0x003FF000) >> 12; // B[21:12] in main() local 69 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1); in main() 74 cout << "cache[" << cache_id << "].partitions = " << partitions << "\n"; in main()
|
/external/webp/src/enc/ |
D | config_enc.c | 39 config->partitions = 0; in WebPConfigInitInternal() 111 if (config->partitions < 0 || config->partitions > 3) return 0; in WebPValidateConfig()
|