Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dapplypatch_modes.cpp80 std::unique_ptr<Value> bonus; in PatchMode() local
87 bonus = std::make_unique<Value>(Value::Type::BLOB, std::move(bonus_contents)); in PatchMode()
90 return PatchPartition(target, source, patch, bonus.get(), false) ? 0 : 1; in PatchMode()
129 std::string bonus; in applypatch_modes() local
144 bonus = optarg; in applypatch_modes()
175 if (!bonus.empty()) { in applypatch_modes()
182 return PatchMode(target, source, patch, bonus); in applypatch_modes()
Dapplypatch.cpp269 const Value* bonus, bool backup_source) { in PatchPartition() argument
283 return GenerateTarget(target, source_file, patch, bonus, backup_source); in PatchPartition()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h80 const Value* bonus, bool backup_source);
/bootable/recovery/tests/unit/
Dapplypatch_test.cpp142 Value bonus(Value::Type::BLOB, std::string(bonus_fc.data.cbegin(), bonus_fc.data.cend())); in TEST_F() local
144 ASSERT_TRUE(PatchPartition(target_partition, source_partition, patch, &bonus, false)); in TEST_F()