HomeSort by relevance Sort by last modified time
    Searched refs:new_part (Results 1 - 19 of 19) 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;
113 new_part,
122 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));
delta_diff_utils.cc 182 const string& new_part,
190 new_part_(new_part),
253 const PartitionConfig& new_part,
264 new_part.path,
266 new_part.size / kBlockSize,
281 TEST_AND_RETURN_FALSE(new_part.fs_interface);
283 new_part.fs_interface->GetFiles(&new_files);
322 new_part.path,
347 ExtentForRange(0, new_part.size / kBlockSize)};
366 new_part.path
    [all...]
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,
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 405 void Accumulate(Handle<String> new_part);
  /external/python/cpython2/PC/bdist_wininst/
extract.c 29 BOOL ensure_directory(char *pathname, char *new_part, NOTIFYPROC notify)
31 while (new_part && *new_part && (new_part = strchr(new_part, '\\'))) {
33 *new_part = '\0';
51 *new_part = '\\';
52 ++new_part;
208 char *new_part; local
256 new_part = &pathname[lstrlen(pathname)]
    [all...]
archive.h 94 ensure_directory (char *pathname, char *new_part,
  /system/update_engine/payload_consumer/
delta_performer_unittest.cc 149 PartitionConfig new_part(kLegacyPartitionNameRoot);
150 new_part.path = "/dev/zero";
151 new_part.size = 1234;
153 payload.AddPartition(old_part, new_part, aops);
157 new_part.name = kLegacyPartitionNameKernel;
158 new_part.size = 0;
159 payload.AddPartition(old_part, new_part, {});
193 string new_part; local
194 EXPECT_TRUE(utils::MakeTempFile("Partition-XXXXXX", &new_part, nullptr));
195 ScopedPathUnlinker partition_unlinker(new_part);
    [all...]

Completed in 855 milliseconds