/base/powermgr/power_manager/services/native/src/ |
H A D | power_save_mode.cpp | 76 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 D | sysparam.cpp | 48 if (!StrToInt(TrimStr(value), intValue)) { in GetIntValue() 52 StrToInt(TrimStr(value), intValue); in GetIntValue()
|
/base/hiviewdfx/hiview/plugins/sysevent_source/ |
H A D | monitor_config.cpp | 43 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 D | param_reader.cpp | 62 StringUtil::TrimStr(sha256Digest); in VerifyCertFile() 101 StringUtil::TrimStr(sha256Digest); in VerifyParamFile()
|
/base/hiviewdfx/hiview/core/ |
H A D | plugin_config.cpp | 41 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 D | xcollie_utils.h | 63 std::string TrimStr(const std::string& str, const char cTrim = ' ');
|
H A D | xcollie_utils.cpp | 198 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 D | vendor.cpp | 123 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 D | string_util.cpp | 79 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 D | dump_manager_client.cpp | 45 std::string trimArg = TrimStr(Str16ToStr8(args[i])); in Request()
|
H A D | dump_common_utils.cpp | 312 std::string val = TrimStr(keyValue[LINE_VALUE], '\t'); in GetProcessInfo()
|
/base/telephony/sms_mms/utils/ |
H A D | string_utils.cpp | 141 std::string strTemp = TrimStr(str); in IsEmpty()
|
/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
H A D | dumper_opts.cpp | 192 std::string path = TrimStr(path_); in CheckOptions()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_config_file_parser.cpp | 179 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 D | string_util.h | 38 * 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 D | thermal_kernel_config_file.cpp | 115 if (TrimStr(value) == DESCENDING_ORDER) { in ParseControlNode()
|
/base/powermgr/battery_manager/charger/src/ |
H A D | battery_config.cpp | 186 SplitStr(TrimStr(key), ".", keys); in SplitKey()
|
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
H A D | medical_proxy_test.cpp | 99 pidStr = TrimStr(pidStr, '\n'); in GetSensorServicePid()
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | peer_binder_catcher.cpp | 113 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 D | thermal_srv_config_parser.cpp | 219 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 D | battery_config.cpp | 225 SplitStr(TrimStr(key), ".", keys); in SplitKey()
|
/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 377 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 D | dwarf_test.cpp | 659 std::string cfaCmd = OHOS::TrimStr(expectedResult[i]); in CheckFdeResult()
|