Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_utils_unittest.cc749 for (const auto& op : aop.xor_ops) { in TEST_F()
752 ASSERT_EQ(aop.xor_ops.size(), 1UL) << "Only 1 block can possibly be XORed"; in TEST_F()
753 ASSERT_EQ(aop.xor_ops[0].src_extent().num_blocks(), 1UL); in TEST_F()
754 ASSERT_EQ(aop.xor_ops[0].src_extent().start_block(), 51UL); in TEST_F()
755 ASSERT_EQ(aop.xor_ops[0].src_offset(), 123UL); in TEST_F()
757 ASSERT_EQ(aop.xor_ops[0].dst_extent().num_blocks(), 1UL); in TEST_F()
758 ASSERT_EQ(aop.xor_ops[0].dst_extent().start_block(), 500UL); in TEST_F()
781 for (const auto& op : aop.xor_ops) { in TEST_F()
784 ASSERT_EQ(aop.xor_ops.size(), 1UL) << "Only 1 block can possibly be XORed"; in TEST_F()
785 ASSERT_EQ(aop.xor_ops[0].src_extent().num_blocks(), 1UL); in TEST_F()
[all …]
Dannotated_operation.h42 std::vector<CowMergeOperation> xor_ops; member
Dmerge_sequence_generator_unittest.cc275 auto& xor_map = aop.xor_ops; in TEST_F()
306 auto& xor_map = aop.xor_ops; in TEST_F()
351 auto& xor_map = aop.xor_ops; in TEST_F()
392 auto& xor_map = aop.xor_ops; in TEST_F()
Dmerge_sequence_generator.cc114 sequence->insert(sequence->end(), aop.xor_ops.begin(), aop.xor_ops.end()); in ProcessXorOps()
188 } else if (!aop.xor_ops.empty()) { in Create()
Ddelta_diff_utils.cc984 auto& xor_ops = aop->xor_ops; in PopulateXorOps() local
1008 &xor_ops, in PopulateXorOps()
1021 for (auto& op : xor_ops) { in PopulateXorOps()
1032 if (xor_ops.size() > 0) { in PopulateXorOps()
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dinspect_cow.cpp196 uint64_t xor_ops = 0, copy_ops = 0, replace_ops = 0, zero_ops = 0; in Inspect() local
246 xor_ops++; in Inspect()
253 auto total_ops = replace_ops + zero_ops + copy_ops + xor_ops; in Inspect()
258 std::cout << "Xor ops: " << xor_ops << "\n"; in Inspect()
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_core.cpp198 size_t copy_ops = 0, replace_ops = 0, zero_ops = 0, xor_ops = 0; in ReadMetadata() local
210 xor_ops += 1; in ReadMetadata()
247 << " Xor-ops: " << xor_ops; in ReadMetadata()