Home
last modified time | relevance | path

Searched refs:TrimStr (Results 1 - 23 of 23) sorted by relevance

/base/powermgr/power_manager/services/native/src/
H A Dpower_save_mode.cpp76 StrToInt(TrimStr(GetProp(nodePtr, "id")), policyId); in StartXMlParse()
83 StrToInt(TrimStr(GetProp(policyNodePtr, "id")), switchId); in StartXMlParse()
84 StrToInt(TrimStr(GetProp(policyNodePtr, "recover_flag")), pmp.recover_flag); in StartXMlParse()
85 StrToInt(TrimStr(GetProp(policyNodePtr, "value")), pmp.value); in StartXMlParse()
/base/powermgr/power_manager/utils/param/src/
H A Dsysparam.cpp48 if (!StrToInt(TrimStr(value), intValue)) { in GetIntValue()
52 StrToInt(TrimStr(value), intValue); in GetIntValue()
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dmonitor_config.cpp43 std::string strTmp = StringUtil::TrimStr(buf); in Parse()
54 std::string configItem = StringUtil::TrimStr(result[configItemField]); in Parse()
/base/hiviewdfx/hiview/core/param_update/src/
H A Dparam_reader.cpp62 StringUtil::TrimStr(sha256Digest); in VerifyCertFile()
101 StringUtil::TrimStr(sha256Digest); in VerifyParamFile()
/base/hiviewdfx/hiview/core/
H A Dplugin_config.cpp41 std::string strTmp = StringUtil::TrimStr(buf); in StartParse()
53 field = StringUtil::TrimStr(result[fieldNameField]); in StartParse()
135 std::string eventSourceName = StringUtil::TrimStr(result.str(pipelineGroupNameField)); in ParsePipelineGroup()
/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.h63 std::string TrimStr(const std::string& str, const char cTrim = ' ');
H A Dxcollie_utils.cpp198 std::string TrimStr(const std::string& str, const char cTrim) in TrimStr() function
210 std::string strTmp = needTrim ? TrimStr(str) : str; in SplitStr()
215 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
221 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dvendor.cpp123 std::string packageName = StringUtil::TrimStr(watchPoint.GetPackageName()); in SendFaultLog()
124 std::string processName = StringUtil::TrimStr(watchPoint.GetProcessName()); in SendFaultLog()
227 std::string packageName = StringUtil::TrimStr(watchPoint.GetPackageName()); in InitLogInfo()
228 std::string processName = StringUtil::TrimStr(watchPoint.GetProcessName()); in InitLogInfo()
/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp79 string TrimStr(const string& str, const char cTrim) in TrimStr() function
91 string strTmp = needTrim ? TrimStr(str) : str; in SplitStr()
96 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
102 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_manager_client.cpp45 std::string trimArg = TrimStr(Str16ToStr8(args[i])); in Request()
H A Ddump_common_utils.cpp312 std::string val = TrimStr(keyValue[LINE_VALUE], '\t'); in GetProcessInfo()
/base/telephony/sms_mms/utils/
H A Dstring_utils.cpp141 std::string strTemp = TrimStr(str); in IsEmpty()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddumper_opts.cpp192 std::string path = TrimStr(path_); in CheckOptions()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp179 if (TrimStr(descValue) == TRUE_STR) { in ParseLevelNode()
237 ai.strict = (TrimStr(strictValue) == TRUE_STR); in ParseActionNode()
243 ai.enableEvent = (TrimStr(eventValue) == TRUE_STR); in ParseActionNode()
/base/hiviewdfx/hiview/base/utility/include/
H A Dstring_util.h38 * The TrimStr function will trim str by cTrim front and end.
40 std::string TrimStr(const std::string& str, const char cTrim = ' ');
/base/powermgr/thermal_manager/application/protector/src/policy/
H A Dthermal_kernel_config_file.cpp115 if (TrimStr(value) == DESCENDING_ORDER) { in ParseControlNode()
/base/powermgr/battery_manager/charger/src/
H A Dbattery_config.cpp186 SplitStr(TrimStr(key), ".", keys); in SplitKey()
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/
H A Dmedical_proxy_test.cpp99 pidStr = TrimStr(pidStr, '\n'); in GetSensorServicePid()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dpeer_binder_catcher.cpp113 event_->SetValue(LOGGER_EVENT_PEERBINDER, StringUtil::TrimStr(pidStr, ',')); in Catch()
233 outputInfo.info = StringUtil::TrimStr(line); in BinderInfoParser()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp219 if (TrimStr(reinterpret_cast<char*>(desc)) == TRUE_STR) { in ParseLevelNode()
549 ai.strict = (TrimStr(reinterpret_cast<char*>(strict)) == TRUE_STR); in ParseActionInfo()
554 ai.enableEvent = (TrimStr(reinterpret_cast<char*>(event)) == TRUE_STR); in ParseActionInfo()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_config.cpp225 SplitStr(TrimStr(key), ".", keys); in SplitKey()
/base/hiviewdfx/hiview/plugins/eventlogger/
H A Devent_logger.cpp377 message += StringUtil::TrimStr(*line); in ParseMsgForMessageAndEventHandler()
393 std::string handlerStr = StringUtil::TrimStr(*line).substr(pos); in ParseMsgForMessageAndEventHandler()
1063 dst = StringUtil::TrimStr(result[1], '\n'); in GetMatchString()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Ddwarf_test.cpp659 std::string cfaCmd = OHOS::TrimStr(expectedResult[i]); in CheckFdeResult()

Completed in 14 milliseconds