Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dcow_reader.cpp155 auto ops_buffer = std::make_shared<std::vector<CowOperation>>(); in ParseOps() local
164 ops_buffer->resize(current_op_num + to_add); in ParseOps()
165 if (!android::base::ReadFully(fd_, &ops_buffer->data()[current_op_num], in ParseOps()
171 while (current_op_num < ops_buffer->size()) { in ParseOps()
172 auto& current_op = ops_buffer->data()[current_op_num]; in ParseOps()
213 ops_buffer->resize(current_op_num); in ParseOps()
216 LOG(DEBUG) << "COW file read complete. Total ops: " << ops_buffer->size(); in ParseOps()
240 if (ops_buffer->size() != footer_->op.num_ops) { in ParseOps()
242 << ops_buffer->size(); in ParseOps()
245 if (ops_buffer->size() * sizeof(CowOperation) != footer_->op.ops_size) { in ParseOps()
[all …]