/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/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | inspect_cow.cpp | 70 size_t old_size = stream_.size(); in GetBuffer() local 71 stream_.resize(old_size + requested, '\0'); in GetBuffer() 73 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()
|
/system/extras/simpleperf/ |
D | OfflineUnwinder.cpp | 221 size_t old_size = entries_.size(); in UpdateMaps() local 225 if (i < old_size && entry == entries_[i]) { in UpdateMaps() 228 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps() 240 while (i < old_size) { in UpdateMaps()
|
D | record_file_reader.cpp | 313 size_t old_size = buf.size(); in ReadRecord() local 314 buf.resize(old_size + add_size); in ReadRecord() 315 if (!Read(&buf[old_size], add_size)) { in ReadRecord()
|
/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 | 220 size_t old_size = entries.size(); in ReadAllEntries() local 224 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,
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 1215 AssertionResult ShiftAllSnapshotBlocks(const std::string& name, uint64_t old_size) { in ShiftAllSnapshotBlocks() argument 1224 uint64_t src_block = (old_size / writer->options().block_size) - 1; in ShiftAllSnapshotBlocks()
|