Home
last modified time | relevance | path

Searched refs:copyRet (Results 1 - 8 of 8) sorted by relevance

/foundation/ability/ability_runtime/interfaces/inner_api/quick_fix/src/
H A Dquick_fix_manager_client.cpp53 auto copyRet = bundleQuickFixMgr->CopyFiles(quickFixFiles, destFiles); in ApplyQuickFix() local
54 if (copyRet != 0) { in ApplyQuickFix()
56 return (copyRet == ERR_BUNDLEMANAGER_QUICK_FIX_PERMISSION_DENIED) ? QUICK_FIX_VERIFY_PERMISSION_FAILED : in ApplyQuickFix()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dkv_delegate.cpp72 bool copyRet = std::filesystem::copy_file(src, dst, options, code); in CopyFile() local
73 if (!copyRet) { in CopyFile()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Djs_file_access_ext_ability.cpp592 int &copyRet) in ParserGetJsResult()
603 if (napi_get_value_int32(env, code, &copyRet) != napi_ok) { in ParserGetJsResult()
608 if (copyRet == ERR_OK) { in ParserGetJsResult()
635 bool ret = GetResultByJs(env, nativeResult, res, copyRet); in ParserGetJsResult()
670 int copyRet = EXCEPTION; in Copy() local
671 auto retParser = [&copyResult, &copyRet](napi_env &env, napi_value result) -> bool { in Copy()
672 return ParserGetJsResult(env, result, copyResult, copyRet); in Copy()
684 return copyRet; in Copy()
591 ParserGetJsResult(napi_env &env, napi_value nativeValue, std::vector<Result> &result, int &copyRet) ParserGetJsResult() argument
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dmock_netsys_native_client.cpp485 int copyRet = memcpy_s(&rt.rt_gateway, sizeof(rt.rt_gateway), &_sin, sizeof(struct sockaddr_in)); in AddRoute() local
486 NETMGR_LOG_I("copyRet = %{public}d", copyRet); in AddRoute()
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_sync_napi.cpp705 int copyRet = memcpy_s(msg->data_, msg->changeInfo_.size_, msg->changeInfo_.data_, msg->changeInfo_.size_);
706 if (copyRet != 0) {
707 LOGE("Parcel data copy failed, err = %{public}d", copyRet);
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp1217 int32_t copyRet = memcpy_s(buf.get() + sizeDone, min(size - sizeDone, static_cast<size_t>(*readArgs->readResult)), in FixData() local
1219 if (copyRet != 0) { in FixData()
1221 string msg = "Parcel data copy failed, err=" + to_string(copyRet); in FixData()
1223 FaultType::FILE, copyRet, msg}); in FixData()
/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/
H A Dmedia_file_extention_utils.cpp1610 int copyRet = E_SUCCESS; in CopyDirectoryOperation() local
1644 copyRet = ret; in CopyDirectoryOperation()
1670 copyRet = ret; in CopyDirectoryOperation()
1676 return copyRet; in CopyDirectoryOperation()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp2780 int copyRet = memcpy_s(msg->data_, msg->changeInfo_.size_, msg->changeInfo_.data_, msg->changeInfo_.size_); in OnChange() local
2781 if (copyRet != 0) { in OnChange()
2782 NAPI_ERR_LOG("Parcel data copy failed, err = %{public}d", copyRet); in OnChange()

Completed in 28 milliseconds