/third_party/gptfdisk/ |
D | basicmbr.cc | 73 partitions[i] = orig.partitions[i]; in BasicMBRData() 130 partitions[i] = orig.partitions[i]; in operator =() 198 partitions[i] = tempMBR.partitions[i]; in ReadMBRData() 199 if (partitions[i].GetLengthLBA() > 0) in ReadMBRData() 200 partitions[i].SetInclusion(PRIMARY); in ReadMBRData() 211 partitions[i].ReverseByteOrder(); in ReadMBRData() 231 if ((partitions[i].GetType() == 0x05) || (partitions[i].GetType() == 0x0f) in ReadMBRData() 232 || (partitions[i].GetType() == 0x85)) { in ReadMBRData() 234 logicalNum = ReadLogicalParts(partitions[i].GetStartLBA(), abs(logicalNum) + 1); in ReadMBRData() 251 if (partitions[i].GetType() == UINT8_C(0xEE)) { in ReadMBRData() [all …]
|
D | mbr.cc | 58 partitions[0].SetStatus(0); // Flag the protective part. as unbootable in MakeProtectiveMBR() 60 partitions[0].SetType(UINT8_C(0xEE)); in MakeProtectiveMBR() 62 partitions[0].SetLocation(UINT32_C(1), (uint32_t) diskSize - UINT32_C(1)); in MakeProtectiveMBR() 64 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX); in MakeProtectiveMBR() 66 partitions[0].SetInclusion(PRIMARY); in MakeProtectiveMBR() 78 if ((partitions[i].GetType() != 0xEE) && (partitions[i].GetType() != 0x00)) in OptimizeEESize() 80 if (partitions[i].GetType() == 0xEE) { in OptimizeEESize() 82 if (SectorUsedAs(partitions[i].GetStartLBA() - 1, 4) == NONE) { in OptimizeEESize() 83 partitions[i].SetStartLBA(FindFirstInFree(partitions[i].GetStartLBA() - 1)); in OptimizeEESize() 86 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 | 71 partitions = NULL; in GPTData() 117 delete[] partitions; in GPTData() 118 partitions = new GPTPart [numParts]; in GPTData() 119 if (partitions == NULL) { in GPTData() 125 partitions[i] = orig.partitions[i]; in GPTData() 134 partitions = NULL; in GPTData() 157 delete[] partitions; in ~GPTData() 187 delete[] partitions; in operator =() 188 partitions = new GPTPart [numParts]; in operator =() 189 if (partitions == NULL) { in operator =() [all …]
|
D | gptcurses.cc | 98 if (partitions[i].IsUsed()) { in MakeSpacesFromParts() 100 tempSpace->firstLBA = partitions[i].GetFirstLBA(); in MakeSpacesFromParts() 101 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts() 102 tempSpace->origPart = &partitions[i]; in MakeSpacesFromParts() 333 printw("Partition GUID code: %s (%s)\n", partitions[partNum].GetType().AsString().c_str(), in ShowInfo() 334 partitions[partNum].GetTypeName().c_str()); in ShowInfo() 335 printw("Partition unique GUID: %s\n", partitions[partNum].GetUniqueGUID().AsString().c_str()); in ShowInfo() 336 printw("First sector: %lld (at %s)\n", partitions[partNum].GetFirstLBA(), in ShowInfo() 337 BytesToIeee(partitions[partNum].GetFirstLBA(), blockSize).c_str()); in ShowInfo() 338 printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), in ShowInfo() [all …]
|
D | gpttext.cc | 124 hexCode = partitions[partNum].GetHexType(); in XFormDisklabel() 208 while (partitions[firstFreePart].GetFirstLBA() != 0) { in CreatePartition() 224 if (partitions[partNum].GetFirstLBA() != 0) in CreatePartition() 226 } while (partitions[partNum].GetFirstLBA() != 0); in CreatePartition() 255 partitions[partNum].ChangeType(); in CreatePartition() 256 partitions[partNum].SetDefaultDescription(); in CreatePartition() 287 partitions[partNum].ChangeType(); in ChangePartType() 306 cout << "New GUID is " << partitions[partNum].GetUniqueGUID() << "\n"; in ChangeUniqueGuid() 317 partitions[partNum].SetAttributes(); in SetAttributes() 335 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 | 67 instance, typing "Linux" shows only partitions with "Linux" in their 88 CA7D7CCB-63ED-4C53-861C-1742536059CC) partitions. 144 - Added thirteen type codes for Android partitions (0xa000 through 195 - Changed the default name of 0xab00 partitions from "Apple boot" to 197 partitions. Also, I discovered through painful experience that OS X 211 Acronis Secure Zone backup partitions. 300 - Fixed bug that caused gdisk and sgdisk to create hybridized partitions 303 hybrid partitions that begin below 2^32 sectors and that are smaller than 306 misbehave with such partitions. AFAIK, only Linux, FreeBSD, and Windows 7 307 work properly with such partitions. Because of this fact and because [all …]
|
/third_party/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 …]
|
/third_party/uboot/u-boot-2020.01/disk/ |
D | part_efi.c | 410 disk_partition_t *partitions, int parts) in gpt_fill_pte() argument 435 lbaint_t start = partitions[i].start; in gpt_fill_pte() 436 lbaint_t size = partitions[i].size; in gpt_fill_pte() 469 str_type_guid = partitions[i].type_guid; in gpt_fill_pte() 490 str_uuid = partitions[i].uuid; in gpt_fill_pte() 504 if (partitions[i].bootable) in gpt_fill_pte() 510 dosname_len = sizeof(partitions[i].name); in gpt_fill_pte() 517 (efi_char16_t)(partitions[i].name[k]); in gpt_fill_pte() 521 __func__, partitions[i].name, i, in gpt_fill_pte() 600 disk_partition_t *partitions, int parts_count) in gpt_restore() argument [all …]
|
/third_party/uboot/u-boot-2020.01/doc/ |
D | README.gpt | 14 - partitions - lists of available partitions (defined at u-boot): 25 GPT for marking disks/partitions is using the UUID. It is supposed to be a 100 40 8 B First usable LBA for partitions (primary partition table last 151 Creating GPT partitions in U-Boot: 156 Format of partitions layout: 185 gpt write mmc 0 $partitions 187 Checking (validating) GPT partitions in U-Boot: 193 gpt verify mmc 0 [$partitions] 195 where [$partitions] is an optional parameter. 200 offset (last two in LBA) - are compared with data defined in '$partitions' [all …]
|
/third_party/boost/libs/geometry/doc/generated/ |
D | convex_hull_graham_andrew.qbk | 39 [[``void apply(InputGeometry const & geometry, partitions & state)`` 43 [* partitions &]: ['state]: 52 void result(partitions const & state, OutputIterator out, bool clockwise, 55 ] [] [[* partitions const &]: ['state]:
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | gpt.c | 376 disk_partition_t **partitions, in set_gpt_info() argument 541 *partitions = parts; in set_gpt_info() 558 disk_partition_t *partitions = NULL; in gpt_default() local 562 &str_disk_guid, &partitions, &part_count); in gpt_default() 574 ret = gpt_restore(blk_dev_desc, str_disk_guid, partitions, part_count); in gpt_default() 576 free(partitions); in gpt_default() 585 disk_partition_t *partitions = NULL; in gpt_verify() local 593 &str_disk_guid, &partitions, &part_count); in gpt_verify() 609 ret = gpt_verify_partitions(blk_dev_desc, partitions, part_count, in gpt_verify() 612 free(partitions); in gpt_verify() [all …]
|
/third_party/uboot/u-boot-2020.01/tools/concurrencytest/ |
D | concurrencytest.py | 109 partitions = [list() for _ in range(count)] 111 for partition, test in zip(cycle(partitions), tests): 113 return partitions
|
/third_party/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()
|
/third_party/e2fsprogs/doc/RelNotes/ |
D | v1.02.txt | 16 partitions in the next pass before it finishes checking partitions in 17 the current pass. This still won't cause two partitions on the same
|
/third_party/uboot/u-boot-2020.01/board/freescale/mx35pdk/ |
D | README | 39 Linux partitions: 45 Creating 5 MTD partitions on "NAND 2GiB 3,3V 8-bit": 52 Creating 6 MTD partitions on "mxc_nor_flash.0": 60 NAND partitions can be recognized enabling in kernel CONFIG_MTD_REDBOOT_PARTS. 88 Creating 6 MTD partitions on "mxc_nor_flash.0":
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | config_enc.c | 39 config->partitions = 0; in WebPConfigInitInternal() 111 if (config->partitions < 0 || config->partitions > 3) return 0; in WebPValidateConfig()
|
/third_party/ltp/testscripts/ |
D | ltpfsnolvm.sh | 35 fdisk needs to be run and the 4 HD partitions marked as 0x8e -- Linux LVM 40 …- These operations are destructive so do NOT point the tests to partitions where the data shouldn'…
|
D | ltp-scsi_debug.sh | 29 orig_count=$(cat /proc/partitions | wc -l) 162 check_count=$(cat /proc/partitions | wc -l) 170 cat /proc/partitions | awk '{print $4}' | tail -n 4 > $TMPBASE/partition-test
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | config_enc.c | 39 config->partitions = 0; in WebPConfigInitInternal() 116 if (config->partitions < 0 || config->partitions > 3) return 0; in WebPValidateConfig()
|
/third_party/boost/boost/geometry/strategies/agnostic/ |
D | hull_graham_andrew.hpp | 211 class partitions class in boost::geometry::strategy::convex_hull::graham_andrew 222 typedef partitions state_type; 225 inline void apply(InputGeometry const& geometry, partitions& state) const in apply() 285 inline void result(partitions const& state, in result()
|
/third_party/uboot/u-boot-2020.01/drivers/smem/ |
D | msm_smem.c | 264 struct smem_partition_header *partitions[SMEM_HOST_COUNT]; member 447 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) { in qcom_smem_alloc() 448 phdr = __smem->partitions[host]; in qcom_smem_alloc() 566 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) { in qcom_smem_get() 567 phdr = __smem->partitions[host]; in qcom_smem_get() 598 if (host < SMEM_HOST_COUNT && __smem->partitions[host]) { in qcom_smem_get_free_space() 599 phdr = __smem->partitions[host]; in qcom_smem_get_free_space() 767 if (smem->partitions[remote_host]) { in qcom_smem_enumerate_partitions() 809 smem->partitions[remote_host] = header; in qcom_smem_enumerate_partitions()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpvp8pay.c | 188 guint8 partitions; in gst_rtp_vp8_pay_parse_frame() local 307 partitions = 1 << tmp8; in gst_rtp_vp8_pay_parse_frame() 310 if (partition0_size + (partitions - 1) * 3 >= size) in gst_rtp_vp8_pay_parse_frame() 317 self->n_partitions = partitions + 1; in gst_rtp_vp8_pay_parse_frame() 319 self->partition_size[0] = partition0_size + (partitions - 1) * 3; in gst_rtp_vp8_pay_parse_frame() 322 for (i = 1; i < partitions; i++) { in gst_rtp_vp8_pay_parse_frame()
|
/third_party/uboot/u-boot-2020.01/include/ |
D | part.h | 347 disk_partition_t *partitions, int parts); 373 disk_partition_t *partitions, const int parts_count); 427 disk_partition_t *partitions, int parts,
|