Lines Matching refs:aop
132 for (const auto& aop : part.aops) { in WritePayload() local
133 if (!aop.op.has_data_offset()) in WritePayload()
135 if (aop.op.data_offset() != next_blob_offset) { in WritePayload()
136 LOG(FATAL) << "bad blob offset! " << aop.op.data_offset() in WritePayload()
139 next_blob_offset += aop.op.data_length(); in WritePayload()
181 for (const AnnotatedOperation& aop : part.aops) { in WritePayload() local
182 *partition->add_operations() = aop.op; in WritePayload()
325 for (AnnotatedOperation& aop : part.aops) { in ReorderDataBlobs()
326 if (!aop.op.has_data_offset()) in ReorderDataBlobs()
328 CHECK(aop.op.has_data_length()); in ReorderDataBlobs()
329 brillo::Blob buf(aop.op.data_length()); in ReorderDataBlobs()
330 ssize_t rc = pread(in_fd, buf.data(), buf.size(), aop.op.data_offset()); in ReorderDataBlobs()
334 TEST_AND_RETURN_FALSE(AddOperationHash(&aop.op, buf)); in ReorderDataBlobs()
336 aop.op.set_data_offset(out_file_size); in ReorderDataBlobs()
359 for (const AnnotatedOperation& aop : part.aops) { in ReportPayloadUsage() local
361 part_prefix + aop.name, aop.op.type(), aop.op.data_length()); in ReportPayloadUsage()
363 total_size += aop.op.data_length(); in ReportPayloadUsage()