Home
last modified time | relevance | path

Searched refs:matchStr (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_expression.cpp73 std::string matchStr; in ReplaceSignNumber() local
81 matchStr = result[0]; in ReplaceSignNumber()
82 if (matchStr.empty()) { in ReplaceSignNumber()
85 catStr = matchStr[0]; in ReplaceSignNumber()
87 catStr = catStr + " " + matchStr.substr(1) + ")"; in ReplaceSignNumber()
101 std::string matchStr; in ReplaceSignNumberWithUnit() local
109 matchStr = result[0]; in ReplaceSignNumberWithUnit()
110 if (matchStr.empty()) { in ReplaceSignNumberWithUnit()
113 catStr = matchStr[0]; in ReplaceSignNumberWithUnit()
115 catStr = catStr + " " + matchStr.substr(1) + ")"; in ReplaceSignNumberWithUnit()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/module_test_dump_util/
H A Dmodule_test_dump_util.cpp77 str_iter MTDumpUtil::GetSpecific(const string& matchStr, const str_vec& dumpInfo, const str_iter& b… in GetSpecific() argument
79 auto checkCondition = [&matchStr](const str_vec::value_type& value) -> bool { in GetSpecific()
80 return value.find(matchStr) != string::npos; in GetSpecific()
H A Dmodule_test_dump_util.h66 str_iter GetSpecific(const string& matchStr, const str_vec& dumpInfo, const str_iter& begin);
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dpanic_report_recovery.cpp179 std::smatch matchStr; in GetParamValueFromString() local
180 if (!std::regex_search(content, matchStr, std::regex(param + REGEX_FORMAT))) { in GetParamValueFromString()
183 return matchStr[1].str(); in GetParamValueFromString()