Home
last modified time | relevance | path

Searched refs:newStr (Results 1 - 7 of 7) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dfile_format_dump_filter.cpp69 std::string newStr; in FilterControlChar() local
90 newStr.append(1, c); in FilterControlChar()
93 str = newStr; in FilterControlChar()
/base/hiviewdfx/hiview/base/
H A Ddefault_logger.cpp22 inline void StringReplace(std::string& sourceStr, const std::string& subStr, const std::string& newStr) in StringReplace() argument
26 sourceStr.replace(pos, subStr.length(), newStr); in StringReplace()
/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp51 string newStr = Utils::ConvertSha256Hex(a, 1); in HWTEST_F() local
52 EXPECT_STREQ(newStr.c_str(), "01"); in HWTEST_F()
58 vector<string> newStr = Utils::SplitString(str, "\n"); in HWTEST_F() local
59 EXPECT_EQ(newStr[0], "aaa"); in HWTEST_F()
60 EXPECT_EQ(newStr[1], "bbb"); in HWTEST_F()
/base/security/device_auth/common_lib/impl/src/
H A Dstring_util.c118 int32_t DeepCopyString(const char *str, char **newStr) in DeepCopyString() argument
120 if (str == NULL || newStr == NULL) { in DeepCopyString()
132 *newStr = val; in DeepCopyString()
/base/security/device_auth/common_lib/interfaces/
H A Dstring_util.h74 * @param newStr: the new string. Need free.
77 int32_t DeepCopyString(const char *str, char **newStr);
/base/telephony/telephony_data/common/src/
H A Drdb_base_helper.cpp171 void RdbBaseHelper::ReplaceAllStr(std::string &path, const std::string &oldStr, const std::string &newStr) in ReplaceAllStr() argument
173 path = std::regex_replace(path, std::regex(oldStr), newStr); in ReplaceAllStr()
/base/telephony/telephony_data/common/include/
H A Drdb_base_helper.h63 void ReplaceAllStr(std::string &path, const std::string &oldStr, const std::string &newStr);

Completed in 3 milliseconds