Searched refs:oldName (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 235 bool StoreUtil::Rename(const std::string &oldName, const std::string &newName) in Rename() argument 237 if (oldName.empty() || newName.empty()) { in Rename() 243 if (rename(oldName.c_str(), newName.c_str()) != 0) { in Rename() 244 …ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_st… in Rename()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 229 bool StoreUtil::Rename(const std::string &oldName, const std::string &newName) in Rename() argument 231 if (oldName.empty() || newName.empty()) { in Rename() 237 if (rename(oldName.c_str(), newName.c_str()) != 0) { in Rename() 238 …ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_st… in Rename()
|
/ohos5.0/base/update/updater/test/unittest/diffpatch/ |
H A D | diffpatch_unittest.cpp | 79 int32_t TestApplyPatch(const std::string &patchName, const std::string &oldName, in TestApplyPatch() argument 91 ret = PatchMapFile(oldName, oldData); in TestApplyPatch() 143 const std::string &oldName, const std::string &newName, bool isBuffer) const in TestApplyBlockPatch() argument 154 ret = PatchMapFile(oldName, oldData); in TestApplyBlockPatch()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/ |
H A D | store_util.h | 46 static bool Rename(const std::string &oldName, const std::string &newName);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/ |
H A D | store_util.h | 47 static bool Rename(const std::string &oldName, const std::string &newName);
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/__test__/ |
H A D | index.test.js | 91 (newName, oldName) => { 92 expect(oldName).toBe('Chen');
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | update_patch.cpp | 224 const std::string &oldName, const std::string &newName) in ApplyPatch() argument 234 if (PatchMapFile(oldName, oldData) != 0) { in ApplyPatch()
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file_clouddisk.cpp | 577 std::string oldName = metaBase.name; in DoRename() local 584 metaBase.name = oldName; in DoRename()
|