Home
last modified time | relevance | path

Searched refs:targetStr (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Drules_engine.cpp120 std::string targetStr = in InitRules() local
122 targetStr = (paramValue.length() != 0 && paramBackupValue.length() != 0 && in InitRules()
125 paramValue + "|" + paramBackupValue : targetStr; in InitRules()
126 isVaild = (targetStr.length() == 0) ? false : true; in InitRules()
129 rulesValue = StrReplaceAll(rulesValue, replaceStr, targetStr); in InitRules()
167 std::string targetStr = paramValue; in InitOptRules() local
169 targetStr = paramBackupValue; in InitOptRules()
172 targetStr = paramValue + '|' + paramBackupValue; in InitOptRules()
181 rulesValue = StrReplaceAll(rulesValue, replaceStr2, targetStr); in InitOptRules()
210 std::string targetStr = subRules[valueStr]; in InitSubRules() local
[all …]
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_kickdog_test.cpp41 static int CheckFileContent(const char *filePath, const char *targetStr) in CheckFileContent() argument
63 if (strcmp(buf, targetStr) != 0) { in CheckFileContent()
64 printf("read buf %s is not euqal target str:%s\n", buf, targetStr); in CheckFileContent()
68 printf("read buf %s is euqal to target str:%s\n", buf, targetStr); in CheckFileContent()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/common/log/
H A Dace_log.cpp25 … ReplaceHiLogPrivacyKeyWords(string &original, const string &toBeReplaced, const string &targetStr) in ReplaceHiLogPrivacyKeyWords() argument
35 original.replace(foundPos, toBeReplacedLen, targetStr); in ReplaceHiLogPrivacyKeyWords()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_system_properties_test.cpp341 std::string targetStr("A,B,C,D"); variable
342 system::SetParameter("rosen.dirtyregiondebug.surfacenames", targetStr);
780 std::string targetStr("A;B;C;D"); variable
781 system::SetParameter("persist.sys.graphic.traceTargetList", targetStr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_system_properties.cpp764 static std::string targetStr = system::GetParameter("persist.sys.graphic.traceTargetList", ""); in FindNodeInTargetList() local
765 static auto strSize = targetStr.size(); in FindNodeInTargetList()
773 targetStr += pattern; in FindNodeInTargetList()
774 strSize = targetStr.size(); in FindNodeInTargetList()
777 pos = targetStr.find(pattern, i); in FindNodeInTargetList()
781 auto str = targetStr.substr(i, pos - i); in FindNodeInTargetList()
/ohos5.0/base/startup/init/services/init/
H A Dinit_common_cmds.c396 static int GetMountFlag(unsigned long *mountflag, const char *targetStr, const char *source) in GetMountFlag() argument
398 INIT_CHECK_RETURN_VALUE(targetStr != NULL && mountflag != NULL, 0); in GetMountFlag()
422 if (strncmp(targetStr, mountFlagMap[i].flagName, strlen(mountFlagMap[i].flagName)) == 0) { in GetMountFlag()
427 if (strncmp(targetStr, "wait", strlen("wait")) == 0) { in GetMountFlag()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.h110 bool HasProperty(napi_env env, napi_value value, const std::string& targetStr);
H A Dnapi_utils.cpp836 bool HasProperty(napi_env env, napi_value value, const std::string& targetStr) in HasProperty() argument
839 napi_has_named_property(env, value, targetStr.c_str(), &hasProperty); in HasProperty()