Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 26) sorted by relevance

12

/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_utils_test.cpp71 std::string sep; variable
72 StringOperation::SplitString(str, ret, sep);
76 EXPECT_EQ(false, StringOperation::Compare(str, sep));
77 sep = "str";
78 EXPECT_EQ(true, StringOperation::Compare(str, sep));
79 EXPECT_EQ(true, StringOperation::Find(str, sep));
81 EXPECT_EQ(false, StringOperation::Find(str, sep));
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_uri.c81 const char *resAvail, uint32_t *sep) in GetComponentEncodedLen() argument
96 uint32_t len = (uint32_t) (keyLen + valueLen + reserved * 2 + *sep); in GetComponentEncodedLen()
97 *sep = 1; in GetComponentEncodedLen()
107 uint32_t sep = 0; in GetEncodedLen() local
110 len += GetComponentEncodedLen(P_TYPE, g_types[uri->type], P_RES_AVAIL, &sep); in GetEncodedLen()
111 len += GetComponentEncodedLen(P_OBJECT, uri->object, P_RES_AVAIL, &sep); in GetEncodedLen()
112 len += GetComponentEncodedLen(P_USER, uri->user, P_RES_AVAIL, &sep); in GetEncodedLen()
113 len += GetComponentEncodedLen(P_APP, uri->app, P_RES_AVAIL, &sep); in GetEncodedLen()
116 sep = 0; in GetEncodedLen()
117 qlen += GetComponentEncodedLen(Q_CLIENT_USER, uri->clientUser, Q_RES_AVAIL, &sep); in GetEncodedLen()
[all …]
/base/global/i18n/frameworks/intl/test/fuzztest/utils_fuzzer/
Dutils_fuzzer.cpp26 std::string sep = ""; in DoSomethingInterestingWithMyAPI() local
28 sep = input[0]; in DoSomethingInterestingWithMyAPI()
31 Split(input, sep, dest); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_stats.h114 const std::string sep = " | "; in Print() local
116 std::cout << GetTotalLines() << sep; in Print()
118 std::cout << GetTotalLen() << sep; in Print()
119 std::cout << "Dropped: " << dropped << sep; in Print()
120 std::cout << "Max freq: " << GetFreqMax() << sep; in Print()
121 … std::cout << "Max freq ts: " << realTimeFreqMax.tv_sec << "." << realTimeFreqMax.tv_nsec << sep; in Print()
122 std::cout << "Max throughput: " << GetThroughputMax() << sep; in Print()
124 std::cout << realTimeThroughputMax.tv_nsec << sep; in Print()
/base/global/i18n/frameworks/intl/src/
Dutils.cpp29 void Split(const string &src, const string &sep, vector<string> &dest) in Split() argument
35 string::size_type end = src.find(sep); in Split()
38 begin = end + sep.size(); in Split()
39 end = src.find(sep, begin); in Split()
Dpreferred_language.cpp262 void PreferredLanguage::Split(const std::string &src, const std::string &sep, std::vector<std::stri… in Split() argument
265 std::string::size_type end = src.find(sep); in Split()
268 begin = end + sep.size(); in Split()
269 end = src.find(sep, begin); in Split()
/base/powermgr/thermal_manager/utils/native/src/
Dstring_operation.cpp26 …eration::SplitString(const std::string &str, std::vector<std::string> &ret, const std::string &sep) in SplitString() argument
34 std::string::size_type begin = str.find_first_not_of(sep); in SplitString()
36 std::string::size_type pos = str.find(sep, begin); in SplitString()
39 begin = pos + sep.length(); in SplitString()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dres_locale.cpp185 void CheckArg(char sep, RState &rState) in CheckArg() argument
188 if (sep != DASH_SEP && sep != UNDERLINE_SEP) { in CheckArg()
209 ResLocale *ResLocale::DoParse(const char *str, char sep, RState &rState) in DoParse() argument
222 if (*pSep == sep) { in DoParse()
257 ResLocale *ResLocale::BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
259 CheckArg(sep, rState); in BuildFromString()
267 return DoParse(str, sep, rState); in BuildFromString()
365 LocaleInfo *BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
367 ResLocale *resLocale = ResLocale::BuildFromString(str, sep, rState); in BuildFromString()
/base/global/resource_management/frameworks/resmgr/src/
Dres_locale.cpp191 void CheckArg(char sep, RState &rState) in CheckArg() argument
194 if (sep != DASH_SEP && sep != UNDERLINE_SEP) { in CheckArg()
215 ResLocale *ResLocale::DoParse(const char *str, char sep, RState &rState) in DoParse() argument
228 if (*pSep == sep) { in DoParse()
263 ResLocale *ResLocale::BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
265 CheckArg(sep, rState); in BuildFromString()
273 return DoParse(str, sep, rState); in BuildFromString()
374 Locale *BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
376 ResLocale *resLocale = ResLocale::BuildFromString(str, sep, rState); in BuildFromString()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dres_locale.h73 static ResLocale *BuildFromString(const char *bcp47String, char sep, RState &rState);
104 static ResLocale *DoParse(const char *bcp47String, char sep, RState &rState);
Dres_config.h58 LocaleInfo *BuildFromString(const char *str, char sep, RState &rState);
/base/global/resource_management/frameworks/resmgr/include/
Dres_locale.h79 static ResLocale *BuildFromString(const char *bcp47String, char sep, RState &rState);
110 static ResLocale *DoParse(const char *bcp47String, char sep, RState &rState);
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DResourceConfiguration.java72 String sep; field in ResourceConfiguration.ConfigItem
128 return sep; in getSep()
/base/global/i18n/frameworks/intl/include/
Dutils.h24 void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
Dlocale_config.h59 … static void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
/base/powermgr/thermal_manager/utils/native/include/
Dstring_operation.h26 …ic void SplitString(const std::string &str, std::vector<std::string> &ret, const std::string &sep);
/base/global/i18n_lite/frameworks/i18n/include/
Dstr_util.h37 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep);
/base/hiviewdfx/hiview/base/utility/
Dstring_util.cpp68 void SplitStr(const string& str, const string& sep, vector<string>& strs, in SplitStr() argument
75 string::size_type pos = strTmp.find(sep); in SplitStr()
76 if (string::npos == pos || sep.empty()) { in SplitStr()
87 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
/base/global/i18n_lite/frameworks/i18n/src/
Dstr_util.cpp98 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep) in Split() argument
109 while ((end < srcSize) && (src[end] != sep)) { in Split()
/base/global/i18n/interfaces/native/inner_api/preferred_language/include/
Dpreferred_language.h41 … static void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
/base/startup/init/services/begetctl/
Dsandbox.cpp89 const std::string sep = " "; in EnterExec() local
90 OHOS::SplitStr(tmpName, sep, vtr, true, false); in EnterExec()
/base/global/resource_management/interfaces/inner_api/include/
Dres_config.h82 EXPORT_FUNC Locale *BuildFromString(const char *str, char sep, RState &rState);
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dzip_helper.cpp151 bool IsNameValid(const std::string& name, const std::string& sep, bool canEmpty) in IsNameValid() argument
154 SplitStr(name, sep, nameVec, canEmpty, false); in IsNameValid()
/base/hiviewdfx/hiview/base/
Daudit_log_parser.cpp58 std::string sep(1, Audit::DOMAIN_DELIMITER); in SplitStr() local
59 StringUtil::SplitStr(log, sep, elements); in SplitStr()
/base/hiviewdfx/hiview/base/utility/include/
Dstring_util.h45 void SplitStr(const std::string& str, const std::string& sep, std::vector<std::string>& strs,

12