Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/c_utils/base/src/
H A Dstring_ex.cpp95 … SplitStr(const string& str, const string& sep, vector<string>& strs, bool canEmpty, bool needTrim) in SplitStr() argument
98 string strTmp = needTrim ? TrimStr(str) : str; in SplitStr()
103 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
109 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.cpp212 std::vector<std::string>& strs, bool canEmpty, bool needTrim) in SplitStr() argument
215 std::string strTmp = needTrim ? TrimStr(str) : str; in SplitStr()
220 strPart = needTrim ? TrimStr(strTmp) : strTmp; in SplitStr()
226 strPart = needTrim ? TrimStr(strTmp.substr(0, pos)) : strTmp.substr(0, pos); in SplitStr()
H A Dxcollie_utils.h97 std::vector<std::string>& strs, bool canEmpty = false, bool needTrim = true);
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp88 bool canEmpty, bool needTrim) in SplitStr() argument
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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h632 …const std::string& str, const std::string& sep, std::vector<std::string>& out, bool needTrim = tru…
645 …strPart = needTrim ? TrimStr(str.substr(startPos, pos - startPos)) : str.substr(startPos, pos - st…
653 strPart = needTrim ? TrimStr(str.substr(startPos)) : str.substr(startPos);
658 …(const std::string& str, const std::string& sep, std::vector<Dimension>& out, bool needTrim = true)
669 …strPart = needTrim ? TrimStr(str.substr(startPos, pos - startPos)) : str.substr(startPos, pos - st…
678 strPart = needTrim ? TrimStr(str.substr(startPos)) : str.substr(startPos);
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dstring_ex.h101 bool canEmpty = false, bool needTrim = true);
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-string.md27 …ing& sep, std::vector< std::string >& strs, bool canEmpty = false, bool needTrim = true)<br>将字符串按照…
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dstring_util.h46 bool canEmpty = false, bool needTrim = true);