/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_utils_test.cpp | 71 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 D | utils_fuzzer.cpp | 26 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 D | cert_manager_uri.c | 82 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 D | log_stats.h | 114 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 D | string_operation.cpp | 28 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 D | res_locale.cpp | 185 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 D | res_locale.cpp | 190 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 D | utils.h | 31 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 D | utils.cpp | 47 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 D | preferred_language.cpp | 252 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 D | ResourceConfiguration.java | 78 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 D | res_locale.h | 75 * @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 D | res_locale.h | 69 * @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 D | res_config.h | 58 LocaleInfo *BuildFromString(const char *str, char sep, RState &rState);
|
/base/msdp/device_status/utils/common/src/ |
H A D | util.cpp | 117 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 D | str_util.h | 37 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 D | string_operation.h | 26 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 D | zip_helper.cpp | 53 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 D | str_util.cpp | 98 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 D | string_util.cpp | 87 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 D | xcollie_utils.cpp | 206 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 D | xcollie_utils.h | 65 void SplitStr(const std::string& str, const std::string& sep,
|
/base/global/i18n/interfaces/native/inner_api/preferred_language/include/ |
H A D | preferred_language.h | 81 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 D | system_util.py | 74 recursive_glob = '**' + os.path.sep
|
/base/startup/init/services/begetctl/ |
H A D | sandbox.cpp | 95 const std::string sep = " "; in EnterExec() local 96 OHOS::SplitStr(tmpName, sep, vtr, true, false); in EnterExec()
|