Home
last modified time | relevance | path

Searched refs:SafeSubString (Results 1 – 2 of 2) sorted by relevance

/base/update/updateservice/services/core/ability/utils/test/unittest/
Dstring_utils_test.cpp172 …EXPECT_EQ("default", StringUtils::SafeSubString(sourceString, beginIndex, endIndex, defaultString)…
187 …EXPECT_EQ("default", StringUtils::SafeSubString(sourceString, beginIndex, endIndex, defaultString)…
202 …EXPECT_EQ("default", StringUtils::SafeSubString(sourceString, beginIndex, endIndex, defaultString)…
217 …EXPECT_EQ("default", StringUtils::SafeSubString(sourceString, beginIndex, endIndex, defaultString)…
232 …EXPECT_EQ("ubString ", StringUtils::SafeSubString(sourceString, beginIndex, endIndex, defaultStrin…
/base/update/updateservice/services/core/ability/utils/include/
Dstring_utils.h69 static std::string SafeSubString(const std::string &sourceStr, int beginIndex, int endIndex, in SafeSubString() function