HomeSort by relevance Sort by last modified time
    Searched refs:partitions (Results 1 - 25 of 282) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/update_engine/payload_generator/
payload_generation_config_unittest.cc 27 image_config.partitions.emplace_back("root");
35 EXPECT_FALSE(image_config.partitions[0].postinstall.IsEmpty());
36 EXPECT_EQ(true, image_config.partitions[0].postinstall.run);
37 EXPECT_EQ("postinstall", image_config.partitions[0].postinstall.path);
38 EXPECT_EQ("ext4", image_config.partitions[0].postinstall.filesystem_type);
39 EXPECT_TRUE(image_config.partitions[0].postinstall.optional);
44 image_config.partitions.emplace_back("system");
51 EXPECT_TRUE(image_config.partitions[0].postinstall.IsEmpty());
delta_diff_generator.cc 81 TEST_AND_RETURN_FALSE(config.source.partitions.size() ==
82 config.target.partitions.size());
85 for (size_t i = 0; i < config.target.partitions.size(); i++) {
87 config.is_delta ? config.source.partitions[i] : empty_part;
88 const PartitionConfig& new_part = config.target.partitions[i];
payload_generation_config.cc 76 return partitions.empty();
80 for (PartitionConfig& part : partitions) {
90 for (PartitionConfig& part : partitions) {
186 for (const PartitionConfig& part : source.partitions) {
204 for (const PartitionConfig& part : target.partitions) {
  /external/gptfdisk/
basicmbr.cc 99 partitions[i] = orig.partitions[i];
138 // in the partitions[] array; these partitions must be re-created when
152 // Empty existing MBR data, including the logical partitions...
166 partitions[i] = tempMBR.partitions[i];
167 if (partitions[i].GetLengthLBA() > 0)
168 partitions[i].SetInclusion(PRIMARY);
169 } // for i... (reading all four partitions)
    [all...]
mbr.cc 47 * Functions to create, delete, or change partitions *
61 partitions[0].SetStatus(0); // Flag the protective part. as unbootable
63 partitions[0].SetType(UINT8_C(0xEE));
65 partitions[0].SetLocation(UINT32_C(1), (uint32_t) diskSize - UINT32_C(1));
67 partitions[0].SetLocation(UINT32_C(1), UINT32_MAX);
69 partitions[0].SetInclusion(PRIMARY);
80 // Check for non-empty and non-0xEE partitions
81 if ((partitions[i].GetType() != 0xEE) && (partitions[i].GetType() != 0x00))
83 if (partitions[i].GetType() == 0xEE)
    [all...]
bsd.cc 38 partitions = NULL;
42 delete[] partitions;
138 partitions = new struct BSDRecord[numParts * sizeof(struct BSDRecord)];
139 if (partitions == NULL) {
147 partitions[i].lengthLBA = tempRecords[i].lengthLBA;
148 partitions[i].firstLBA = tempRecords[i].firstLBA;
149 partitions[i].fsType = tempRecords[i].fsType;
151 ReverseBytes(&partitions[i].lengthLBA, 4);
152 ReverseBytes(&partitions[i].firstLBA, 4);
159 if ((partitions[i].firstLBA == 0) && (partitions[i].lengthLBA > 0
    [all...]
gpt.cc 70 partitions = NULL;
81 sectorAlignment = MIN_AF_ALIGNMENT; // Align partitions on 4096-byte boundaries by default
95 partitions = NULL;
106 sectorAlignment = MIN_AF_ALIGNMENT; // Align partitions on 4096-byte boundaries by default
119 delete[] partitions;
148 delete[] partitions;
149 partitions = new GPTPart [numParts];
150 if (partitions == NULL) {
151 cerr << "Error! Could not allocate memory for partitions in GPTData::operator=()!\n"
156 partitions[i] = orig.partitions[i]
    [all...]
gptcurses.cc 84 // Create Spaces from partitions. Does NOT creates Spaces to represent
93 if (partitions[i].IsUsed()) {
95 tempSpace->firstLBA = partitions[i].GetFirstLBA();
96 tempSpace->lastLBA = partitions[i].GetLastLBA();
97 tempSpace->origPart = &partitions[i];
206 // or an empty gap between, before, or after partitions. The spaces are
259 // Display the partitions, being sure that the space #selected is displayed
307 // Delete the specified partition and re-detect partitions and spaces....
328 printw("Partition GUID code: %s (%s)\n", partitions[partNum].GetType().AsString().c_str(),
329 partitions[partNum].GetTypeName().c_str())
    [all...]
gpttext.cc 114 // number of converted partitions).
124 hexCode = partitions[partNum].GetHexType();
168 // There's no point in having fewer than four partitions....
190 while (partitions[firstFreePart].GetFirstLBA() != 0) {
206 if (partitions[partNum].GetFirstLBA() != 0)
208 } while (partitions[partNum].GetFirstLBA() != 0);
227 // Get last block for new partitions...
237 partitions[partNum].ChangeType();
238 partitions[partNum].SetDefaultDescription();
258 cout << "No partitions\n"
    [all...]
  /external/ltp/testcases/kdump/lib/
sysinfo.sh 32 echo "------------- /PROC/PARTITIONS -----------"
34 cat /proc/partitions
  /external/autotest/client/site_tests/platform_PartitionCheck/
platform_PartitionCheck.py 58 partitions = [device + 'p3', device + 'p5']
60 partitions = [device + '3', device + '5']
64 for p in partitions:
  /external/toybox/toys/pending/
fdisk.c 1 /* fdisk.c - fdisk program to modify partitions on disk.
89 struct part_entry partitions[PARTITION_MAX]; variable in typeref:struct:part_entry
212 pe = &partitions[i];
241 q = p = partitions[idx].part;
247 xprintf("Warning: deleting partitions after 60\n");
249 partitions[num_parts-1].modified = 1;
254 partitions[num_parts].part = part_offset(sec_buf, 0);
255 partitions[num_parts].sec_buffer = sec_buf;
259 partitions[num_parts].start_offset = offset;
303 struct part_entry *pe = &partitions[i]
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/
fastboot_utils.py 38 def _FindAndVerifyPartitionsAndImages(partitions, directory):
39 """Validate partitions and images.
45 Partitions: partitions to be tested.
60 for partition in partitions:
181 def _FlashPartitions(self, partitions, directory, wipe=False, force=False):
185 partitions: List of partitions to flash.
186 directory: Directory where all partitions can be found.
188 partitions are sent, and if so ignore them
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
fastboot_utils.py 36 def _FindAndVerifyPartitionsAndImages(partitions, directory):
37 """Validate partitions and images.
43 Partitions: partitions to be tested.
58 for partition in partitions:
179 def _FlashPartitions(self, partitions, directory, wipe=False, force=False):
183 partitions: List of partitions to flash.
184 directory: Directory where all partitions can be found.
186 partitions are sent, and if so ignore them
    [all...]
  /external/ltp/testcases/kernel/fs/scsi/ltpfs/
ltpfsio.sh 33 - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
34 Once these tests are started all data in the partitions you point to will be destroyed.
52 echo "Missing 1st partition. You must pass 4 partitions for testing"
  /external/tremolo/Tremolo/
res012.c 69 info->partitions=(char)(oggpack_read(opb,6)+1);
73 info->stagemasks=_ogg_malloc(info->partitions*sizeof(*info->stagemasks));
74 info->stagebooks=_ogg_malloc(info->partitions*8*sizeof(*info->stagebooks));
76 for(j=0;j<info->partitions;j++){
83 for(j=0;j<info->partitions;j++){
142 partword[0][i+k]=partword[0][i+k+1]*info->partitions;
163 /* now we decode residual values for the partitions */
168 if(idx < info->partitions && info->stagemasks[idx]&(1<<s)){
211 partword[i+k]=partword[i+k+1]*info->partitions;
226 /* now we decode residual values for the partitions */
    [all...]
  /system/update_engine/payload_consumer/
install_plan.cc 52 (partitions == that.partitions));
61 for (const auto& partition : partitions) {
89 for (Partition& partition : partitions) {
postinstall_runner_action.cc 69 partition_weight_.resize(install_plan_.partitions.size());
71 for (size_t i = 0; i < install_plan_.partitions.size(); ++i) {
75 partition_weight_[i] = install_plan_.partitions[i].run_postinstall;
90 // Skip all the partitions that don't have a post-install step.
91 while (current_partition_ < install_plan_.partitions.size() &&
92 !install_plan_.partitions[current_partition_].run_postinstall) {
94 << install_plan_.partitions[current_partition_].name;
97 if (current_partition_ == install_plan_.partitions.size())
101 install_plan_.partitions[current_partition_];
318 if (install_plan_.partitions[current_partition_].postinstall_optional)
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ListsTest.java 563 List<List<Integer>> partitions = Lists.partition(source, 1); local
564 assertTrue(partitions.isEmpty());
565 assertEquals(0, partitions.size());
570 List<List<Integer>> partitions = Lists.partition(source, 1); local
571 assertEquals(1, partitions.size());
572 assertEquals(Collections.singletonList(1), partitions.get(0));
577 List<List<Integer>> partitions = Lists.partition(source, 2); local
578 assertEquals(1, partitions.size());
579 assertEquals(Collections.singletonList(1), partitions.get(0));
584 List<List<Integer>> partitions = Lists.partition(source, 1) local
592 List<List<Integer>> partitions = Lists.partition(source, 2); local
600 List<List<Integer>> partitions = Lists.partition(source, 2); local
610 List<List<Integer>> partitions = Lists.partition(list, 3); local
    [all...]
  /external/libvorbis/lib/
backends.h 62 int partitions; /* 0 to 31 */ member in struct:__anon24308
111 int partitions; /* possible codebooks for a partition */ member in struct:vorbis_info_residue0
112 int partvals; /* partitions ^ groupbook dim */
  /external/ltp/testscripts/
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't be overwritten.
41 Once these tests are started all data in the partitions you point to will be destroyed.
62 echo "Missing 1st partition. You must pass 4 partitions for testing"
68 echo "Missing 2nd partition. You must pass 4 partitions for testing"
74 echo "Missing 3rd partition. You must pass 4 partitions for testing"
80 echo "Missing 4th partition. You must pass 4 partitions for testing"
  /external/ltp/tools/pounder21/test_scripts/
ddhappy 23 BLKDEVS=$(cat /proc/partitions | grep [sh]d.[0-9] | awk '{if ($3 > 10000) print $4}')
  /external/guava/guava-tests/test/com/google/common/collect/
ListsTest.java 808 List<List<Integer>> partitions = Lists.partition(source, 1); local
809 assertTrue(partitions.isEmpty());
810 assertEquals(0, partitions.size());
815 List<List<Integer>> partitions = Lists.partition(source, 1); local
816 assertEquals(1, partitions.size());
817 assertEquals(Collections.singletonList(1), partitions.get(0));
822 List<List<Integer>> partitions = Lists.partition(source, 2); local
823 assertEquals(1, partitions.size());
824 assertEquals(Collections.singletonList(1), partitions.get(0));
829 List<List<Integer>> partitions = Lists.partition(source, 1) local
837 List<List<Integer>> partitions = Lists.partition(source, 2); local
846 List<List<Integer>> partitions = Lists.partition(source, 2); local
863 List<List<Integer>> partitions = Lists.partition(source, 2); local
873 List<List<Integer>> partitions = Lists.partition(list, 3); local
    [all...]
  /external/eigen/bench/
check_cache_queries.cpp 66 int partitions = (abcd[1] & 0x003FF000) >> 12; // B[21:12] local
69 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1);
74 cout << "cache[" << cache_id << "].partitions = " << partitions << "\n"; local
  /external/ltp/testcases/kernel/fs/scsi/ltpscsi/
ltpfsscsi.sh 31 - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
32 Once these tests are started all data in the partitions you point to will be destroyed.
51 echo "Missing 1st partition. You must pass 2 partitions for testing"
57 echo "Missing 2nd partition. You must pass 2 partitions for testing"
63 echo "Missing 3rd partition. You must pass 3 partitions for testing"

Completed in 1597 milliseconds

1 2 3 4 5 6 7 8 91011>>