Home
last modified time | relevance | path

Searched refs:sep (Results 1 - 25 of 34) sorted by relevance

12

/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_utils_test.cpp71 std::string sep; in HWTEST_F() local
72 StringOperation::SplitString(str, ret, sep); in HWTEST_F()
80 EXPECT_EQ(false, StringOperation::Compare(str, sep)); in HWTEST_F()
81 sep = "str"; in HWTEST_F()
82 EXPECT_EQ(true, StringOperation::Compare(str, sep)); in HWTEST_F()
83 EXPECT_EQ(true, StringOperation::Find(str, sep)); in HWTEST_F()
85 EXPECT_EQ(false, StringOperation::Find(str, sep)); in HWTEST_F()
/base/global/i18n/frameworks/intl/test/fuzztest/utils_fuzzer/
H A Dutils_fuzzer.cpp26 std::string sep = ""; in DoSomethingInterestingWithMyAPI() local
28 sep = input[0]; in DoSomethingInterestingWithMyAPI()
31 Split(input, sep, dest); in DoSomethingInterestingWithMyAPI()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_uri.c82 const char *resAvail, uint32_t *sep) in GetComponentEncodedLen()
97 uint32_t len = (uint32_t) (keyLen + valueLen + reserved * 2 + *sep); in GetComponentEncodedLen()
98 *sep = 1; in GetComponentEncodedLen()
108 uint32_t sep = 0; in GetEncodedLen() local
111 len += GetComponentEncodedLen(P_TYPE, g_types[uri->type], P_RES_AVAIL, &sep); in GetEncodedLen()
112 len += GetComponentEncodedLen(P_OBJECT, uri->object, P_RES_AVAIL, &sep); in GetEncodedLen()
113 len += GetComponentEncodedLen(P_USER, uri->user, P_RES_AVAIL, &sep); in GetEncodedLen()
114 len += GetComponentEncodedLen(P_APP, uri->app, P_RES_AVAIL, &sep); in GetEncodedLen()
117 sep = 0; in GetEncodedLen()
118 qlen += GetComponentEncodedLen(Q_CLIENT_USER, uri->clientUser, Q_RES_AVAIL, &sep); in GetEncodedLen()
81 GetComponentEncodedLen(const char *key, const char *value, const char *resAvail, uint32_t *sep) GetComponentEncodedLen() argument
136 EncodeComp( char *buf, uint32_t *offset, uint32_t *available, const char *key, const char *value, const char *resAvail, uint32_t *sep, char sepChar) EncodeComp() argument
201 uint32_t sep = 0; EncodePathComp() local
245 uint32_t sep = 0; EncodeQueryComp() local
338 IndexOf(char sep, const char *data, uint32_t start, uint32_t end) IndexOf() argument
[all...]
/base/hiviewdfx/hilog/services/hilogd/include/
H A 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() local
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/powermgr/thermal_manager/utils/native/src/
H A Dstring_operation.cpp28 void StringOperation::SplitString(const std::string& str, std::vector<std::string>& ret, const std::string& sep) in SplitString() argument
36 std::string::size_type begin = str.find_first_not_of(sep); in SplitString()
38 std::string::size_type pos = str.find(sep, begin); in SplitString()
41 begin = pos + sep.length(); in SplitString()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A 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, rStat in BuildFromString()
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_locale.cpp190 void CheckArg(char sep, RState &rState) in CheckArg() argument
193 if (sep != DASH_SEP && sep != UNDERLINE_SEP) { in CheckArg()
214 ResLocale *ResLocale::DoParse(const char *str, char sep, RState &rState) in DoParse() argument
227 if (*pSep == sep) { in DoParse()
262 ResLocale *ResLocale::BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
264 CheckArg(sep, rState); in BuildFromString()
272 return DoParse(str, sep, rState); in BuildFromString()
367 Locale *BuildFromString(const char *str, char sep, RState &rState) in BuildFromString() argument
369 ResLocale *resLocale = ResLocale::BuildFromString(str, sep, rStat in BuildFromString()
[all...]
/base/global/i18n/frameworks/intl/include/
H A Dutils.h31 void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
32 void Merge(const std::vector<std::string>& src, const std::string& sep, std::string& dest);
46 void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
/base/global/i18n/frameworks/intl/src/
H A Dutils.cpp47 void Split(const string &src, const string &sep, vector<string> &dest) in Split() argument
53 string::size_type end = src.find(sep); in Split()
56 begin = end + sep.size(); in Split()
57 end = src.find(sep, begin); in Split()
64 void Merge(const std::vector<std::string>& src, const std::string& sep, std::string& dest) in Merge() argument
72 dest += sep; in Merge()
H A Dpreferred_language.cpp252 void PreferredLanguage::Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest) in Split() argument
255 std::string::size_type end = src.find(sep); in Split()
258 begin = end + sep.size(); in Split()
259 end = src.find(sep, begin); in Split()
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DResourceConfiguration.java78 String sep; field in ResourceConfiguration.ConfigItem
129 * get sep
131 * @return sep
134 return sep; in getSep()
/base/global/resource_management/frameworks/resmgr/include/
H A Dres_locale.h75 * @param sep the parse string position
79 static ResLocale *BuildFromString(const char *bcp47String, char sep, RState &rState);
110 static ResLocale *DoParse(const char *bcp47String, char sep, RState &rState);
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_locale.h69 * @param sep the parse string position
73 static ResLocale *BuildFromString(const char *bcp47String, char sep, RState &rState);
104 static ResLocale *DoParse(const char *bcp47String, char sep, RState &rState);
H A Dres_config.h58 LocaleInfo *BuildFromString(const char *str, char sep, RState &rState);
/base/msdp/device_status/utils/common/src/
H A Dutil.cpp117 static size_t StringToken(std::string &strs, const std::string &sep, std::string &token) in StringToken() argument
125 for (auto &item : sep) { in StringToken()
137 return StringToken(strs, sep, token); in StringToken()
146 size_t StringSplit(const std::string &str, const std::string &sep, std::vector<std::string> &vecList) in StringSplit() argument
151 while (str.npos != (size = StringToken(strs, sep, token))) { in StringSplit()
/base/global/i18n_lite/frameworks/i18n/include/
H A Dstr_util.h37 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep);
/base/powermgr/thermal_manager/utils/native/include/
H A Dstring_operation.h26 static void SplitString(const std::string& str, std::vector<std::string>& ret, const std::string& sep);
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
H A Dzip_helper.cpp53 bool IsNameValid(const std::string& name, const std::string& sep, bool canEmpty) in IsNameValid() argument
56 SplitStr(name, sep, nameVec, canEmpty, false); in IsNameValid()
/base/global/i18n_lite/frameworks/i18n/src/
H A 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()
116 ++end; // pass the sep in Split()
/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp87 void SplitStr(const string& str, const string& sep, vector<string>& strs, in SplitStr() argument
94 string::size_type pos = strTmp.find(sep); in SplitStr()
95 if (string::npos == pos || sep.empty()) { in SplitStr()
106 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.cpp206 void SplitStr(const std::string& str, const std::string& sep, in SplitStr() argument
213 std::string::size_type pos = strTmp.find(sep); in SplitStr()
214 if (pos == std::string::npos || sep.empty()) { in SplitStr()
225 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
H A Dxcollie_utils.h65 void SplitStr(const std::string& str, const std::string& sep,
/base/global/i18n/interfaces/native/inner_api/preferred_language/include/
H A Dpreferred_language.h81 static void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dsystem_util.py74 recursive_glob = '**' + os.path.sep
/base/startup/init/services/begetctl/
H A Dsandbox.cpp95 const std::string sep = " "; in EnterExec() local
96 OHOS::SplitStr(tmpName, sep, vtr, true, false); in EnterExec()

Completed in 11 milliseconds

12