Searched refs:newName (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/test/unittest/updater_binary/ |
D | update_image_block_test.cpp | 106 string newName = "/data/updater/update_tmp/retry_flag"; variable 110 ret = rename(oldName.c_str(), newName.c_str());
|
/base/startup/init/test/unittest/param/ |
D | paramservice_unittest.cpp | 406 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/ |
D | diffpatch_unittest.cpp | 131 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/ |
D | update_patch.cpp | 194 const std::string &oldName, const std::string &newName) in ApplyPatch() argument 211 std::unique_ptr<FilePatchWriter> writer = std::make_unique<FilePatchWriter>(newName); in ApplyPatch()
|