Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/updater_binary/
Dupdate_image_block_test.cpp106 string newName = "/data/updater/update_tmp/retry_flag"; variable
110 ret = rename(oldName.c_str(), newName.c_str());
/base/startup/init/test/unittest/param/
Dparamservice_unittest.cpp406 std::string newName = name; in TestAddParamWatch1() local
407 newName += ".test.test.test"; in TestAddParamWatch1()
408 SystemWriteParam(newName.c_str(), value); in TestAddParamWatch1()
425 std::string newName = name; in TestAddParamWatch3() local
426 newName += ".test.test.test"; in TestAddParamWatch3()
427 SystemWriteParam(newName.c_str(), value); in TestAddParamWatch3()
/base/update/updater/test/unittest/diffpatch/
Ddiffpatch_unittest.cpp131 const std::string &oldName, const std::string &newName, bool isBuffer) const in TestApplyBlockPatch() argument
149 std::ofstream stream(newName, std::ios::out | std::ios::binary); in TestApplyBlockPatch()
150 PATCH_CHECK(!stream.fail(), return -1, "Failed to open %s", newName.c_str()); in TestApplyBlockPatch()
154 std::make_unique<UpdatePatch::FilePatchWriter>(newName); in TestApplyBlockPatch()
/base/update/updater/services/diffpatch/patch/
Dupdate_patch.cpp194 const std::string &oldName, const std::string &newName) in ApplyPatch() argument
211 std::unique_ptr<FilePatchWriter> writer = std::make_unique<FilePatchWriter>(newName); in ApplyPatch()