Searched refs:new_op (Results 1 – 2 of 2) sorted by relevance
121 InstallOperation new_op; in SplitSourceCopy() local127 *(new_op.add_src_extents()) = curr_src_ext; in SplitSourceCopy()138 *(new_op.add_src_extents()) = first_ext; in SplitSourceCopy()146 new_op.set_type(InstallOperation::SOURCE_COPY); in SplitSourceCopy()147 *(new_op.add_dst_extents()) = dst_ext; in SplitSourceCopy()150 new_aop.op = new_op; in SplitSourceCopy()174 InstallOperation new_op; in SplitAReplaceOp() local175 *(new_op.add_dst_extents()) = dst_ext; in SplitAReplaceOp()179 new_op.set_type(InstallOperation::REPLACE); in SplitAReplaceOp()180 new_op.set_data_length(data_size); in SplitAReplaceOp()[all …]
293 InstallOperation new_op = aops[0].op; in TestMergeReplaceOrReplaceXzOperations() local294 EXPECT_EQ(expected_op_type, new_op.type()); in TestMergeReplaceOrReplaceXzOperations()295 EXPECT_FALSE(new_op.has_src_length()); in TestMergeReplaceOrReplaceXzOperations()296 EXPECT_FALSE(new_op.has_dst_length()); in TestMergeReplaceOrReplaceXzOperations()297 EXPECT_EQ(1, new_op.dst_extents().size()); in TestMergeReplaceOrReplaceXzOperations()298 EXPECT_TRUE(ExtentEquals(new_op.dst_extents(0), 0, total_op_num_blocks)); in TestMergeReplaceOrReplaceXzOperations()310 ASSERT_EQ(expected_blob.size(), new_op.data_length()); in TestMergeReplaceOrReplaceXzOperations()313 brillo::Blob new_op_blob(new_op.data_length()); in TestMergeReplaceOrReplaceXzOperations()317 new_op.data_length(), in TestMergeReplaceOrReplaceXzOperations()318 new_op.data_offset(), in TestMergeReplaceOrReplaceXzOperations()[all …]