Searched refs:needTrim (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 95 … 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 D | xcollie_utils.cpp | 212 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 D | xcollie_utils.h | 97 std::vector<std::string>& strs, bool canEmpty = false, bool needTrim = true);
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | string_util.cpp | 88 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 D | string_utils.h | 632 …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 D | string_ex.h | 101 bool canEmpty = false, bool needTrim = true);
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-string.md | 27 …ing& sep, std::vector< std::string >& strs, bool canEmpty = false, bool needTrim = true)<br>将字符串按照…
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/ |
H A D | string_util.h | 46 bool canEmpty = false, bool needTrim = true);
|