Searched defs:collection (Results 1 - 4 of 4) sorted by relevance
/system/update_engine/payload_generator/ |
H A D | extent_utils.h | 36 // can accept either type of collection of Extents. 37 Extent GetElement(const std::vector<Extent>& collection, size_t index); 39 const google::protobuf::RepeatedPtrField<Extent>& collection, 42 // Return the total number of blocks in a collection (vector or 45 uint64_t BlocksInExtents(const T& collection) { argument 47 for (size_t i = 0; i < static_cast<size_t>(collection.size()); ++i) { 48 ret += GetElement(collection, i).num_blocks(); 53 // Takes a collection (vector or RepeatedPtrField) of Extent and
|
H A D | extent_utils.cc | 56 Extent GetElement(const vector<Extent>& collection, size_t index) { argument 57 return collection[index]; 61 const google::protobuf::RepeatedPtrField<Extent>& collection, 63 return collection.Get(index); 60 GetElement( const google::protobuf::RepeatedPtrField<Extent>& collection, size_t index) argument
|
H A D | inplace_generator_unittest.cc | 585 vector<uint64_t> collection = {1, 2, 3, 4, 6}; local 592 InplaceGenerator::ApplyMap(&collection, value_map); 593 EXPECT_EQ(expected_values, collection);
|
H A D | inplace_generator.cc | 356 // Tries to assign temp blocks for a collection of cuts, all of which share 727 void InplaceGenerator::ApplyMap(vector<uint64_t>* collection, argument 729 for (uint64_t& elem : *collection) {
|
Completed in 147 milliseconds