Home
last modified time | relevance | path

Searched refs:delimiter (Results 1 – 12 of 12) sorted by relevance

/base/print/print_fwk/utils/include/
Dprint_util.h33 static std::string SplitStr(const std::string& str, char delimiter, int index);
57 inline std::string PrintUtil::SplitStr(const std::string& str, char delimiter, int index) in SplitStr() argument
63 while (std::getline(tokenStream, token, delimiter)) { in SplitStr()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dsehap_contexts_trie.cpp25 std::string delimiter = "."; in SplitString() local
30 if ((pos = paraName.substr(index).find(delimiter)) == std::string::npos) { in SplitString()
37 index += pos + delimiter.length(); in SplitString()
/base/update/updateservice/services/core/ability/utils/include/
Dstring_utils.h52 static inline std::vector<std::string> Split(const std::string &str, char delimiter) in Split() argument
57 while ((start = str.find_first_not_of(delimiter, end)) != std::string::npos) { in Split()
58 end = str.find(delimiter, start); in Split()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_adapter.cpp47 void Split(const std::string& origin, char delimiter, std::vector<std::string>& ret) in Split() argument
50 std::string::size_type end = origin.find(delimiter); in Split()
54 end = origin.find(delimiter, start); in Split()
59 end = origin.find(delimiter, start); in Split()
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp82 std::string delimiter = "(?:\\r\\n|\\r|\\n)"; in ProcessStackTrace() local
83 auto str_lines = OHOS::HiviewDFX::SplitString(asanDump, delimiter); in ProcessStackTrace()
/base/update/updateservice/interfaces/inner_api/include/
Dmessage_parcel_helper.h78 … static std::vector<std::string> SplitString(const std::string &str, const std::string &delimiter);
/base/powermgr/battery_statistics/services/native/include/
Dcpu_time_reader.h65 void Split(std::string &origin, char delimiter, std::vector<std::string> &splited);
/base/hiviewdfx/hiview/base/utility/include/
Dstring_util.h119 std::list<std::string> SplitStr(const std::string& str, char delimiter = ' ');
/base/hiviewdfx/hiview/base/utility/
Dstring_util.cpp196 std::list<std::string> SplitStr(const std::string& str, char delimiter) in SplitStr() argument
201 while (std::getline(tokenStream, token, delimiter)) { in SplitStr()
/base/account/os_account/tools/acm/src/
Daccount_command.cpp636 std::string delimiter = ","; in AnalyzeConstraintArgument() local
640 while ((next = constraintsByUser.find(delimiter, last)) != std::string::npos) { in AnalyzeConstraintArgument()
/base/powermgr/battery_statistics/services/native/src/
Dcpu_time_reader.cpp563 void CpuTimeReader::Split(std::string &origin, char delimiter, std::vector<std::string> &splited) in Split() argument
568 while ((start = origin.find_first_not_of(delimiter, end)) != std::string::npos) { in Split()
569 end = origin.find(delimiter, start); in Split()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp140 std::vector<std::string> Split(const std::string &str, char delimiter) in Split() argument
145 if (str[i] == delimiter) { in Split()