HomeSort by relevance Sort by last modified time
    Searched refs:new_part (Results 1 - 18 of 18) sorted by null

  /system/update_engine/payload_generator/
full_update_generator_unittest.cc 74 brillo::Blob new_part(9 * 1024 * 1024);
75 FillWithData(&new_part);
76 new_part_conf.size = new_part.size();
78 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part));
106 brillo::Blob new_part(1536 * 1024); // 1.5 MiB
107 new_part_conf.size = new_part.size();
109 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part));
116 // new_part has one chunk and a half.
120 EXPECT_EQ((new_part.size() - config_.hard_chunk_size) / config_.block_size,
127 brillo::Blob new_part(16 * 1024)
    [all...]
full_update_generator.h 43 const PartitionConfig& new_part,
operations_generator.h 35 // |old_part| to |new_part| and stores the generated operations in |aops|.
46 const PartitionConfig& new_part,
delta_diff_generator.cc 88 const PartitionConfig& new_part = config.target.partitions[i]; local
89 LOG(INFO) << "Partition name: " << new_part.name;
90 LOG(INFO) << "Partition size: " << new_part.size;
91 LOG(INFO) << "Block count: " << new_part.size / config.block_size;
98 !utils::IsSquashfsFilesystem(new_part.path)) {
116 new_part,
125 TEST_AND_RETURN_FALSE(payload.AddPartition(old_part, new_part, aops));
delta_diff_utils.h 34 // Create operations in |aops| to produce all the blocks in the |new_part|
46 const PartitionConfig& new_part,
54 // are stored in the |old_part| and |new_part| files and have |old_num_blocks|
64 const std::string& new_part,
74 // |new_part|. The file will be split in chunks of |chunk_blocks| blocks each
76 // stored in |new_part| in the blocks described by |new_extents| and, if it
82 const std::string& new_part,
91 // |new_extents| from |new_part| and determines the smallest way to encode
99 const std::string& new_part,
full_update_generator.cc 119 const PartitionConfig& new_part,
122 TEST_AND_RETURN_FALSE(new_part.ValidateExists());
143 LOG(INFO) << "Compressing partition " << new_part.name
144 << " from " << new_part.path << " splitting in chunks of "
148 int in_fd = open(new_part.path.c_str(), O_RDONLY, 0);
154 size_t partition_blocks = new_part.size / config.block_size;
171 new_part.name.c_str(), i);
inplace_generator.h 135 const std::string& new_part,
150 const std::string& new_part,
163 const std::string& new_part,
206 // operations in |aops| are such that they generate the desired |new_part| if
209 // operations produce the same |new_part| result when applied in-place.
216 const PartitionConfig& new_part,
233 const PartitionConfig& new_part,
inplace_generator.cc 325 const string& new_part,
336 new_part,
363 const string& new_part,
434 new_part,
479 const string& new_part,
501 new_part,
517 new_part,
554 const string& new_part,
573 new_part,
601 const string& new_part,
    [all...]
ab_generator.cc 40 const PartitionConfig& new_part,
43 TEST_AND_RETURN_FALSE(old_part.name == new_part.name);
52 new_part,
57 LOG(INFO) << "done reading " << new_part.name;
60 FragmentOperations(config.version, aops, new_part.path, blob_file));
72 aops, config.version, merge_chunk_blocks, new_part.path, blob_file));
ab_generator.h 54 const PartitionConfig& new_part,
block_mapping.h 96 // Maps the blocks of the old and new partitions |old_part| and |new_part| whose
103 const std::string& new_part,
delta_diff_utils.cc 171 const PartitionConfig& new_part,
182 new_part.path,
184 new_part.size / kBlockSize,
199 TEST_AND_RETURN_FALSE(new_part.fs_interface);
201 new_part.fs_interface->GetFiles(&new_files);
239 new_part.path,
250 ExtentForRange(0, new_part.size / kBlockSize)};
269 new_part.path,
282 const string& new_part,
293 new_part,
    [all...]
block_mapping.cc 140 const string& new_part,
150 int new_fd = HANDLE_EINTR(open(new_part.c_str(), O_RDONLY));
inplace_generator_unittest.cc 710 PartitionConfig new_part("part");
711 new_part.path = "/dev/zero";
712 new_part.size = new_blocks * block_size;
718 new_part,
  /external/v8/src/
string-builder.cc 61 void IncrementalStringBuilder::Accumulate(Handle<String> new_part) {
63 if (accumulator()->length() + new_part->length() > String::kMaxLength) {
69 factory()->NewConsString(accumulator(), new_part).ToHandleChecked();
81 Handle<String> new_part; local
83 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked();
85 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked();
88 set_current_part(new_part);
string-builder.h 404 void Accumulate(Handle<String> new_part);
  /external/chromium-trace/catapult/dashboard/dashboard/
migrate_test_names.py 198 for old_part, new_part in map(None, old_path_parts, new_pattern_parts):
199 if not new_part:
201 elif new_part == '*':
207 elif re.search(_BRACKETS_REGEX, new_part):
212 modified_old_part = _RemoveBracketedSubstring(old_part, new_part)
217 if '*' in new_part:
219 new_path_parts.append(new_part)
223 def _RemoveBracketedSubstring(old_part, new_part):
233 new_part: A string starting and ending with brackets, where the part
242 substring_to_remove = re.search(_BRACKETS_REGEX, new_part).group(1
    [all...]
  /system/update_engine/payload_consumer/
delta_performer_unittest.cc 154 PartitionConfig new_part(kLegacyPartitionNameRoot);
155 new_part.path = "/dev/zero";
156 new_part.size = 1234;
158 payload.AddPartition(old_part, new_part, aops);
162 new_part.name = kLegacyPartitionNameKernel;
163 new_part.size = 0;
164 payload.AddPartition(old_part, new_part, {});
197 string new_part; local
198 EXPECT_TRUE(utils::MakeTempFile("Partition-XXXXXX", &new_part, nullptr));
199 ScopedPathUnlinker partition_unlinker(new_part);
    [all...]

Completed in 940 milliseconds