Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
DOfflineUnwinder.cpp144 size_t old_size = entries_.size(); in UpdateMaps() local
147 if (i < old_size && entry == entries_[i]) { in UpdateMaps()
150 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps()
161 while (i < old_size) { in UpdateMaps()
/system/update_engine/payload_generator/
Dblock_mapping.cc142 size_t old_size, in MapPartitionBlocks() argument
156 old_fd, 0, old_size / block_size, old_block_ids)); in MapPartitionBlocks()
Dblock_mapping.h106 size_t old_size,
/system/core/fs_mgr/liblp/
Dbuilder.cpp552 bool MetadataBuilder::ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, in ValidatePartitionSizeChange() argument
557 if (!force_check && new_size <= old_size) { in ValidatePartitionSizeChange()
563 uint64_t space_needed = new_size - old_size; in ValidatePartitionSizeChange()
922 uint64_t old_size = partition->size(); in ResizePartition() local
924 if (!ValidatePartitionSizeChange(partition, old_size, aligned_size, false)) { in ResizePartition()
928 if (aligned_size > old_size) { in ResizePartition()
936 if (partition->size() != old_size) { in ResizePartition()
937 LINFO << "Partition " << partition->name() << " will resize from " << old_size in ResizePartition()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h304 bool ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, uint64_t new_size,
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h643 auto old_size = size();
649 auto new_cur = new_buf + reserved_ - old_size;
650 memcpy(new_cur, cur_, old_size);