Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 46) sorted by relevance

12

/base/update/packaging_tools/test/
Dcreate_package_data.py137 xml_content = xml_content.replace("SYSTEM_MARK", "")
138 xml_content = xml_content.replace(
141 xml_content = xml_content.replace(
143 xml_content = xml_content.replace(
175 xml_content = UPDATER_SPECIFIED_CONFIG_XML_DATA.replace(
177 xml_content = xml_content.replace(
180 xml_content = UPDATER_SPECIFIED_CONFIG_XML_DATA.replace(
183 xml_content = xml_content.replace(
186 xml_content = xml_content.replace(
/base/startup/init/services/modules/reboot/
Dreboot_static.c86 currInfo->replace = Dup2String(REBOOT_REPLACE_PREFIX, cmd); in SetParamCmdInfo()
87 PLUGIN_CHECK(currInfo->replace != NULL, break, "Failed to copy %s", cmd); in SetParamCmdInfo()
94 … PLUGIN_LOGV("SetParamCmdInfo '%s' '%s' '%s' ", currInfo->name, currInfo->cmd, currInfo->replace); in SetParamCmdInfo()
106 if (currInfo->replace != NULL) { in SetParamCmdInfo()
107 free(currInfo->replace); in SetParamCmdInfo()
124 cmdInfos[i].replace = g_rebootParamCmdInfos[i].replace; in AddRebootCmdExecutor_()
177 if (g_rebootParamCmdInfos[i].replace != NULL) { in MODULE_DESTRUCTOR()
178 free(g_rebootParamCmdInfos[i].replace); in MODULE_DESTRUCTOR()
/base/security/access_token/services/tokensyncmanager/test/mock/src/
Dconstant_mock.cpp37 result.replace(ENCRYPTBEGIN + ENCRYPTLEN, deviceId.size() - MINDEVICEIDLEN, REPLACE_TARGET); in EncryptDevId()
39 result.replace(ENCRYPTBEGIN, deviceId.size(), REPLACE_TARGET); in EncryptDevId()
/base/security/access_token/frameworks/common/src/
Dconstant_common.cpp34 result.replace(ENCRYPTBEGIN + ENCRYPTLEN, deviceId.size() - MINDEVICEIDLEN, REPLACE_TARGET); in EncryptDevId()
36 result.replace(ENCRYPTBEGIN + 1, deviceId.size()-1, REPLACE_TARGET_LESS_THAN_MINLEN); in EncryptDevId()
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/controller/
DentryViewController.ts48 router.replace({uri: 'pages/enrollIntro'})
51 router.replace({uri: 'pages/faceConfig'})
/base/startup/init/scripts/
Dparam_cfg_to_code.py25 data.replace('\n', '').replace('\r', '')
49 data.replace('\n', '').replace('\r', '')
/base/update/updateservice/services/core/ability/utils/include/
Dencrypt_utils.h51 encryptUrl.replace(httpsPrefix.size(), ENCRYPT_LENGTH, ENCRYPT_STR); in EncryptUrl()
55 encryptUrl.replace(httpPrefix.size(), ENCRYPT_LENGTH, ENCRYPT_STR); in EncryptUrl()
Dstring_utils.h107 resultString.replace(pos, subString.length(), newString); in ReplaceStringAll()
/base/startup/init/services/modules/init_hook/
Dinit_hook.h32 char *replace; // replace content if filed name match system parameter member
/base/hiviewdfx/hiview/base/
Ddefault_logger.cpp26 sourceStr.replace(pos, subStr.length(), newStr); in StringReplace()
/base/security/selinux_adapter/scripts/
Dbuild_policy_api.py155 return string.replace('(', '').replace(')', '').replace('\n', '')
166 elem_list[2] = elem_list[2].replace(
178 elem_list[1] = elem_list[1].replace(
191 elem_list[index + 1] = elem.replace(sub_string, add_version(version, sub_string))
203 elem_list[index + 1] = elem.replace(sub_string, add_version(version, sub_string))
/base/update/update_app/feature/ota/src/main/ets/util/
DRouterUtils.ts49 router.replace({ url: 'pages/index' });
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcmd_dumper.cpp171 cmd = cmd.replace(pos, strlen("%pid"), std::to_string(pid)); in ReplacePidInCmd()
180 cmd = cmd.replace(pos, strlen("%cpuid"), std::to_string(cpuId)); in ReplaceCpuIdInCmd()
Dfile_stream_dumper.cpp222 filename = filename.replace(pos, strlen("%pid"), std::to_string(pid)); in ReplacePidInFilename()
231 filename = filename.replace(pos, strlen("%cpuid"), std::to_string(cpuid)); in ReplaceCpuidInFilename()
/base/powermgr/battery_manager/charger/include/
Dcharger_log.h30 str = str.replace(index, holderLen, ""); in ReplaceHolder()
/base/global/i18n/frameworks/intl/src/
Dlocale_info.cpp77 std::replace(baseName.begin(), baseName.end(), '_', '-'); in InitLocaleInfo()
267 std::replace(curBaseName.begin(), curBaseName.end(), '_', '-'); in Maximize()
288 std::replace(curBaseName.begin(), curBaseName.end(), '_', '-'); in Minimize()
Dlocale_compare.cpp151 std::replace(localeBaseName1.begin(), localeBaseName1.end(), '_', '-'); in Compare()
152 std::replace(localeBaseName2.begin(), localeBaseName2.end(), '_', '-'); in Compare()
Dtaboo.cpp264 language = language.replace(pos, 1, "-"); in GetLanguageFromFileName()
268 language = language.replace(pos, 2, "-"); in GetLanguageFromFileName()
/base/update/packaging_tools/
Dpatch_package_process.py213 transfer_content.replace("TOTAL_MARK", str(total_blocks_count))
215 transfer_content.replace("MAX_STASH_MARK", str(max_stashed_blocks))
217 transfer_content.replace("ActionType.MOVE", "move")
219 transfer_content.replace("ActionType.ZERO", "zero")
221 transfer_content.replace("ActionType.NEW", "new")
/base/hiviewdfx/hiview/base/include/
Devent.h208 static std::shared_ptr<Derived> Repack(std::shared_ptr<Event>& event, bool replace = true)
211 if (replace) {
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_error.cpp52 pair.second = pair.second.replace(iter, 1, errMessage); in CreateErrorWithInnerCode()
/base/global/i18n_lite/frameworks/i18n/src/
Dstr_util.cpp30 content = content.replace(index, 1, sign); in ReplaceAndCountOff()
/base/hiviewdfx/hiview/utility/common_utils/
Dtbox.cpp124 str.replace(ret, string::npos, ")\0"); in GetStackName()
/base/startup/init/services/param/manager/
Dparam_manager.c302 valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen(powerCtrlArg[i].replace) + 1; in GetServiceCtrlInfoForPowerCtrl()
304 "%s%s.%s", OHOS_SERVICE_CTRL_PREFIX, powerCtrlArg[i].replace, value); in GetServiceCtrlInfoForPowerCtrl()
326 … uint32_t valueOffset = strlen(OHOS_SERVICE_CTRL_PREFIX) + strlen(ctrlParam[i].replace) + 1; in GetServiceCtrlInfo()
328 "%s%s.%s", OHOS_SERVICE_CTRL_PREFIX, ctrlParam[i].replace, value); in GetServiceCtrlInfo()
344 … return CreateCtrlInfo(ctrlInfo, other[i].cmd, strlen(other[i].replace), 0, "%s.%s", name, value); in GetServiceCtrlInfo()
/base/security/device_security_level/oem_property/ohos/standard/
Ddslm_cred_tool.py139 pem_str = fp.read().replace(OpenSslWrapper.PEM_PERFIX, '')
140 pem_str = pem_str.replace(OpenSslWrapper.PEM_SUFFIX, '')
141 pem_str = pem_str.replace(os.linesep, '')

12