/system/core/fs_mgr/libsnapshot/ |
D | inspect_cow.cpp | 49 size_t old_size = stream_.size(); in GetBuffer() local 50 stream_.resize(old_size + requested, '\0'); in GetBuffer() 52 return stream_.data() + old_size; in GetBuffer()
|
D | cow_api_test.cpp | 51 size_t old_size = stream_.size(); in GetBuffer() local 52 stream_.resize(old_size + requested, '\0'); in GetBuffer() 54 return stream_.data() + old_size; in GetBuffer()
|
D | snapshot_test.cpp | 1021 AssertionResult ShiftAllSnapshotBlocks(const std::string& name, uint64_t old_size) { in ShiftAllSnapshotBlocks() argument 1030 uint64_t src_block = (old_size / writer->options().block_size) - 1; in ShiftAllSnapshotBlocks()
|
/system/iorap/src/binder/ |
D | package_version_map.cc | 34 size_t old_size = version_map_->size(); in UpdateAll() local 42 LOG(DEBUG) << "Update for version is done. The size is from " << old_size in UpdateAll()
|
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 142 size_t old_size, in MapPartitionBlocks() argument 156 old_fd, 0, old_size / block_size, old_block_ids)); in MapPartitionBlocks()
|
D | block_mapping.h | 106 size_t old_size,
|
/system/extras/simpleperf/ |
D | OfflineUnwinder.cpp | 177 size_t old_size = entries_.size(); in UpdateMaps() local 181 if (i < old_size && entry == entries_[i]) { in UpdateMaps() 184 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps() 196 while (i < old_size) { in UpdateMaps()
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 88 def __init__(self, partition_name, operations, old_size, new_size): argument 91 self.old_partition_info = FakePartitionInfo(old_size)
|
/system/core/fs_mgr/liblp/ |
D | builder.cpp | 648 bool MetadataBuilder::ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, in ValidatePartitionSizeChange() argument 653 if (!force_check && new_size <= old_size) { in ValidatePartitionSizeChange() 659 uint64_t space_needed = new_size - old_size; in ValidatePartitionSizeChange() 1078 uint64_t old_size = partition->size(); in ResizePartition() local 1080 if (!ValidatePartitionSizeChange(partition, old_size, aligned_size, false)) { in ResizePartition() 1084 if (aligned_size > old_size) { in ResizePartition() 1092 if (partition->size() != old_size) { in ResizePartition() 1093 LINFO << "Partition " << partition->name() << " will resize from " << old_size in ResizePartition()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 625 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, 628 FLATBUFFERS_ASSERT(new_size > old_size); // vector_downward only grows 630 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 632 deallocate(old_p, old_size); 641 void memcpy_downward(uint8_t *old_p, size_t old_size, uint8_t *new_p, 644 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 701 size_t old_size, size_t new_size, 704 return allocator ? allocator->reallocate_downward(old_p, old_size, new_size, 707 old_p, old_size, new_size, in_use_back, in_use_front); 710 return allocator->reallocate_downward(old_p, old_size, new_size, [all …]
|
/system/unwinding/libunwindstack/ |
D | GlobalDebugImpl.h | 221 size_t old_size = entries.size(); in ReadAllEntries() local 225 if (entries.size() == old_size) { in ReadAllEntries()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 389 bool ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, uint64_t new_size,
|