Searched refs:footer_ (Results 1 – 6 of 6) sorted by relevance
130 footer_.emplace(); in ParseOps()131 CowFooter* footer = &footer_.value(); in ParseOps()132 memcpy(&footer_->op, ¤t_op, sizeof(footer->op)); in ParseOps()174 } else if (!footer_) { in ParseOps()182 if (footer_) { in ParseOps()183 if (ops_buffer->size() != footer_->op.num_ops) { in ParseOps()184 LOG(ERROR) << "num ops does not match, expected " << footer_->op.num_ops << ", found " in ParseOps()188 if (ops_buffer->size() * sizeof(CowOperationV2) != footer_->op.ops_size) { in ParseOps()
118 footer_ = {}; in SetupHeaders()119 footer_.op.data_length = 64; in SetupHeaders()120 footer_.op.type = kCowFooterOp; in SetupHeaders()293 footer_.op.num_ops = 0; in OpenForAppend()515 auto continue_num_ops = footer_.op.num_ops; in Finalize()540 footer_.op.ops_size = footer_.op.num_ops * sizeof(CowOperationV2); in Finalize()545 memset(&footer_.unused, 0, sizeof(footer_.unused)); in Finalize()548 if (!android::base::WriteFully(fd_, reinterpret_cast<const uint8_t*>(&footer_), in Finalize()549 sizeof(footer_))) { in Finalize()571 footer_.op.num_ops = continue_num_ops; in Finalize()[all …]
34 std::optional<CowFooter> footer() const override { return footer_; } in footer()42 std::optional<CowFooter> footer_; variable
82 cow->footer_ = footer_; in CloneCowReader()157 footer_ = parser->footer(); in Parse()487 if (!footer_) return false; in GetFooter()488 *footer = footer_.value(); in GetFooter()
65 CowFooter footer_{};
186 std::optional<CowFooter> footer_; variable