/base/powermgr/thermal_manager/services/native/test/unittest/src/ |
D | thermal_utils_test.cpp | 71 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/ |
D | cert_manager_uri.c | 81 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/ |
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/hiviewdfx/hilog/services/hilogd/include/ |
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() 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/ |
D | utils.cpp | 29 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()
|
D | preferred_language.cpp | 262 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/ |
D | string_operation.cpp | 26 …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/ |
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, rState); in BuildFromString()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | res_locale.cpp | 191 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/ |
D | res_locale.h | 73 static ResLocale *BuildFromString(const char *bcp47String, char sep, RState &rState); 104 static ResLocale *DoParse(const char *bcp47String, char sep, RState &rState);
|
D | res_config.h | 58 LocaleInfo *BuildFromString(const char *str, char sep, RState &rState);
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | res_locale.h | 79 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/ |
D | ResourceConfiguration.java | 72 String sep; field in ResourceConfiguration.ConfigItem 128 return sep; in getSep()
|
/base/global/i18n/frameworks/intl/include/ |
D | utils.h | 24 void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
|
D | locale_config.h | 59 … static void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
|
/base/powermgr/thermal_manager/utils/native/include/ |
D | string_operation.h | 26 …ic void SplitString(const std::string &str, std::vector<std::string> &ret, const std::string &sep);
|
/base/global/i18n_lite/frameworks/i18n/include/ |
D | str_util.h | 37 void Split(const std::string &src, std::string *dst, const int32_t size, const char &sep);
|
/base/hiviewdfx/hiview/base/utility/ |
D | string_util.cpp | 68 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/ |
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()
|
/base/global/i18n/interfaces/native/inner_api/preferred_language/include/ |
D | preferred_language.h | 41 … static void Split(const std::string &src, const std::string &sep, std::vector<std::string> &dest);
|
/base/startup/init/services/begetctl/ |
D | sandbox.cpp | 89 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/ |
D | res_config.h | 82 EXPORT_FUNC Locale *BuildFromString(const char *str, char sep, RState &rState);
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/ |
D | zip_helper.cpp | 151 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/ |
D | audit_log_parser.cpp | 58 std::string sep(1, Audit::DOMAIN_DELIMITER); in SplitStr() local 59 StringUtil::SplitStr(log, sep, elements); in SplitStr()
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | string_util.h | 45 void SplitStr(const std::string& str, const std::string& sep, std::vector<std::string>& strs,
|