Searched refs:new_size (Results 1 – 8 of 8) sorted by relevance
/aosp14/system/core/libutils/ |
H A D | VectorImpl.cpp | 384 size_t new_size; in _grow() local 387 if (capacity() < new_size) { in _grow() 396 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(new_size, (new_size / 2), &new_capacity), in _grow() 446 mCount = new_size; in _grow() 463 size_t new_size; in _shrink() local 466 if (new_size < (capacity() / 2)) { in _shrink() 476 if ((where == new_size) && in _shrink() 494 if (where != new_size) { in _shrink() 509 if (where != new_size) { in _shrink() 511 _do_move_backward(to, from, new_size - where); in _shrink() [all …]
|
H A D | SharedBuffer.cpp | 101 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset() 104 SharedBuffer* sb = alloc(new_size); in reset()
|
/aosp14/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_metadata_updater.cpp | 76 auto new_size = partition_update->new_partition_info().size(); in ShrinkPartitions() local 77 if (existing_partition->size() <= new_size) { in ShrinkPartitions() 80 if (!builder_->ResizePartition(existing_partition, new_size)) { in ShrinkPartitions() 246 auto new_size = partition_update->new_partition_info().size(); in GrowPartitions() local 247 if (existing_partition->size() >= new_size) { in GrowPartitions() 250 if (!builder_->ResizePartition(existing_partition, new_size)) { in GrowPartitions()
|
/aosp14/system/core/property_service/libpropertyinfoserializer/ |
H A D | trie_node_arena.h | 80 auto new_size = (current_data_pointer_ + aligned_size + data_.size()) * 2; in AllocateData() local 81 data_.resize(new_size, '\0'); in AllocateData()
|
/aosp14/frameworks/base/tools/lock_agent/ |
H A D | agent.cpp | 244 size_t new_size; in maybeTransform() local 246 dex::u1* newClassData = writer.CreateImage(allocator, &new_size); in maybeTransform() 247 return std::make_pair(newClassData, new_size); in maybeTransform()
|
/aosp14/system/core/libutils/include/utils/ |
H A D | String16.h | 133 void* editResize(size_t new_size);
|
/aosp14/system/core/fs_mgr/liblp/ |
H A D | builder.cpp | 649 uint64_t new_size, bool force_check) { in ValidatePartitionSizeChange() argument 653 if (!force_check && new_size <= old_size) { in ValidatePartitionSizeChange() 659 uint64_t space_needed = new_size - old_size; in ValidatePartitionSizeChange()
|
/aosp14/system/core/fs_mgr/liblp/include/liblp/ |
H A D | builder.h | 389 bool ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, uint64_t new_size,
|