Searched refs:inputString (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/hiview/base/utility/ |
D | string_util.cpp | 132 KeyValuePair GetKeyValueByString(size_t &start, const std::string &inputString) in GetKeyValueByString() argument 136 auto length = inputString.size(); in GetKeyValueByString() 138 if (inputString[start] == INDICATE_VALUE_CHAR) { in GetKeyValueByString() 142 key.append(1, inputString[start]); in GetKeyValueByString() 147 if (inputString[start] == KEY_VALUE_END_CHAR) { in GetKeyValueByString() 150 if (start + 1 < length && inputString[start + 1] == KEY_VALUE_END_CHAR) { in GetKeyValueByString() 151 value.append(1, inputString[start]); in GetKeyValueByString() 159 if (inputString[start] == INDICATE_VALUE_CHAR && start + 1 < length && in GetKeyValueByString() 160 inputString[start + 1] == INDICATE_VALUE_CHAR) { in GetKeyValueByString() 162 value.append(1, inputString[start]); in GetKeyValueByString() [all …]
|
/base/telephony/core_service/services/network_search/src/ |
D | network_utils.cpp | 164 std::vector<std::string> NetworkUtils::SplitString(const std::string &inputString, const std::strin… in SplitString() argument 167 if (inputString.empty()) { in SplitString() 173 while ((position = inputString.find(flag, start)) != std::string::npos) { in SplitString() 174 result.push_back(inputString.substr(start, position - start)); in SplitString() 177 if (start != inputString.size()) { in SplitString() 178 result.push_back(inputString.substr(start, inputString.size() - start)); in SplitString()
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | string_util.h | 108 KeyValuePair GetKeyValueByString(size_t &start, const std::string &inputString);
|
/base/telephony/core_service/services/network_search/include/ |
D | network_utils.h | 49 …static std::vector<std::string> SplitString(const std::string &inputString, const std::string &fla…
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
D | notification_preferences_database_branch_test.cpp | 745 std::string inputString = ""; variable 746 EXPECT_EQ(preferncesDB_->FindLastString(findString, inputString), "");
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences_database.h | 182 std::string FindLastString(const std::string &findString, const std::string &inputString) const;
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_database.cpp | 911 const std::string &findString, const std::string &inputString) const in FindLastString() 916 keyStr = inputString.substr(pos); in FindLastString()
|