Home
last modified time | relevance | path

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

/system/update_engine/common/
Dcow_operation_convert.h57 constexpr bool IsConsecutive(const CowOperation& op1, const CowOperation& op2) { in IsConsecutive() argument
58 return op1.op == op2.op && op1.dst_block + op1.block_count == op2.dst_block && in IsConsecutive()
59 op1.src_block + op1.block_count == op2.src_block; in IsConsecutive()
/system/update_engine/payload_generator/
Dmerge_sequence_generator.h37 bool operator<(const CowMergeOperation& op1, const CowMergeOperation& op2);
38 bool operator==(const CowMergeOperation& op1, const CowMergeOperation& op2);
Dmerge_sequence_generator.cc61 bool operator<(const CowMergeOperation& op1, const CowMergeOperation& op2) { in operator <() argument
62 return op1.dst_extent().start_block() < op2.dst_extent().start_block(); in operator <()
65 bool operator==(const CowMergeOperation& op1, const CowMergeOperation& op2) { in operator ==() argument
66 return op1.type() == op2.type() && op1.src_extent() == op2.src_extent() && in operator ==()
67 op1.dst_extent() == op2.dst_extent(); in operator ==()
/system/update_engine/payload_consumer/
Dxor_extent_writer_unittest.cc82 const auto op1 = CreateCowMergeOperation( in TEST_F() local
84 ASSERT_TRUE(xor_map_.AddExtent(op1.dst_extent(), &op1)); in TEST_F()
85 *op_.add_src_extents() = op1.src_extent(); in TEST_F()
86 *op_.add_dst_extents() = op1.dst_extent(); in TEST_F()