/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_test.cpp | 156 size_t size_ = 100_MiB; member in android::snapshot::SnapuserdTest 279 offset += size_; in ReadSnapshotDeviceAndValidate() 284 offset += size_; in ReadSnapshotDeviceAndValidate() 289 offset += size_; in ReadSnapshotDeviceAndValidate() 294 offset += size_; in ReadSnapshotDeviceAndValidate() 450 memmove(orig_buffer_.get(), (char*)orig_buffer_.get() + 2 * size_, size_); in CreateCowDeviceOrderedOpsInverted() 451 memmove(orig_buffer_.get() + size_, (char*)orig_buffer_.get() + 2 * size_ + xor_offset, size_); in CreateCowDeviceOrderedOpsInverted() 511 memmove(orig_buffer_.get(), (char*)orig_buffer_.get() + 2 * size_, size_); in CreateCowDeviceOrderedOps() 512 memmove(orig_buffer_.get() + size_, (char*)orig_buffer_.get() + 2 * size_ + xor_offset, size_); in CreateCowDeviceOrderedOps() 596 memcpy((char*)orig_buffer_.get() + size_, random_buffer_1_.get(), size_); in CreateCowDevice() [all …]
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
H A D | cow_snapuserd_test.cpp | 153 size_t size_ = 50_MiB; member in android::snapshot::CowSnapuserdTest 172 size_t size_ = 1_MiB; member in android::snapshot::CowSnapuserdMetadataTest 363 offset += size_; in ReadSnapshotDeviceAndValidate() 368 offset += size_; in ReadSnapshotDeviceAndValidate() 373 offset += size_; in ReadSnapshotDeviceAndValidate() 378 offset += size_; in ReadSnapshotDeviceAndValidate() 534 memmove(orig_buffer_.get(), (char*)orig_buffer_.get() + 2 * size_, size_); in CreateCowDeviceOrderedOpsInverted() 535 memmove(orig_buffer_.get() + size_, (char*)orig_buffer_.get() + 2 * size_ + xor_offset, size_); in CreateCowDeviceOrderedOpsInverted() 595 memmove(orig_buffer_.get(), (char*)orig_buffer_.get() + 2 * size_, size_); in CreateCowDeviceOrderedOps() 596 memmove(orig_buffer_.get() + size_, (char*)orig_buffer_.get() + 2 * size_ + xor_offset, size_); in CreateCowDeviceOrderedOps() [all …]
|
/aosp14/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | BigBuffer.h | 132 size_t size_; variable 136 inline BigBuffer::BigBuffer(size_t block_size) : block_size_(block_size), size_(0) { in BigBuffer() 140 : block_size_(rhs.block_size_), size_(rhs.size_), blocks_(std::move(rhs.blocks_)) { in BigBuffer() 144 return size_; in size() 161 size_ -= count; in BackUp() 166 size_ += buffer.size_; in AppendBuffer() 168 buffer.size_ = 0; in AppendBuffer() 176 const size_t unaligned = size_ % 4; in Align4()
|
/aosp14/frameworks/base/media/mca/filterfw/native/core/ |
H A D | vertex_frame.cpp | 30 size_(size) { in VertexFrame() 55 if (first_upload && size == size_) in WriteData() 57 else if (!first_upload && size <= size_) in WriteData() 61 "inside the vertex frame (%d bytes)!", size, size_); in WriteData() 70 size_ = size; in WriteData() 76 return size_; in Size()
|
H A D | native_frame.cpp | 22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { in NativeFrame() 31 if (size_ >= (offset + size)) { in WriteData() 40 size_ = capacity_ = size; in SetData() 46 NativeFrame* result = new NativeFrame(size_); in Clone() 48 result->WriteData(data_, 0, size_); in Clone() 54 size_ = newSize; in Resize()
|
H A D | native_frame.h | 58 return size_; in Size() 74 int size_; variable
|
H A D | vertex_frame.h | 71 int size_; variable
|
/aosp14/frameworks/base/tools/aapt2/io/ |
H A D | Data.h | 145 : data_(std::move(data)), size_(size) {} in MallocData() 150 size_t size() const override { return size_; } in size() 153 if (next_read_ == size_) { in Next() 157 *size = size_ - next_read_; in Next() 158 next_read_ = size_; in Next() 185 size_t size_; variable
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | BigBuffer.cpp | 33 size_ += size; in NextBlockImpl() 50 size_ += size; in NextBlockImpl() 61 size_ += size; in NextBlock() 74 size_ += block_size_; in NextBlock()
|
/aosp14/system/core/fs_mgr/liblp/ |
H A D | reader.cpp | 58 : buffer_(reinterpret_cast<const uint8_t*>(buffer)), size_(size), pos_(0) {} in MemoryReader() 60 if (size_ - pos_ < length) { in ReadFully() 71 size_t size_; member in android::fs_mgr::MemoryReader
|
H A D | builder.cpp | 99 : name_(name), group_name_(group_name), attributes_(attributes), size_(0) {} in Partition() 102 size_ += extent->num_sectors() * LP_SECTOR_SIZE; in AddExtent() 122 size_ = 0; in RemoveExtents() 134 uint64_t sectors_to_remove = (size_ - aligned_size) / LP_SECTOR_SIZE; in ShrinkTo() 138 size_ -= sectors_to_remove * LP_SECTOR_SIZE; in ShrinkTo() 142 size_ -= (extent->num_sectors() * LP_SECTOR_SIZE); in ShrinkTo() 146 DCHECK(size_ == aligned_size); in ShrinkTo()
|
/aosp14/system/core/fastboot/ |
H A D | task.cpp | 271 : fp_(fp), pname_(pname), size_(size), slot_(slot) {} in ResizeTask() 276 fp_->fb->ResizePartition(partition, size_); in Run()
|
H A D | vendor_boot_img_utils_test.cpp | 124 return size_; in size() 143 uint64_t size_; member 154 size_ = *size; in OpenImpl()
|
H A D | task.h | 115 const std::string size_; variable
|
/aosp14/system/core/fs_mgr/liblp/include/liblp/ |
H A D | builder.h | 147 uint64_t size() const { return size_; } in size() 163 uint64_t size_; variable
|