Searched refs:newStr (Results 1 – 5 of 5) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | file_format_dump_filter.cpp | 69 std::string newStr; in FilterControlChar() local 90 newStr.append(1, c); in FilterControlChar() 93 str = newStr; in FilterControlChar()
|
/base/hiviewdfx/hiview/base/ |
D | default_logger.cpp | 22 …ne 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/ |
D | utils_unittest.cpp | 58 string newStr = Utils::ConvertSha256Hex(a, 1); variable 59 EXPECT_STREQ(newStr.c_str(), "01"); 65 vector<string> newStr = Utils::SplitString(str, "\n"); variable 66 EXPECT_EQ(newStr[0], "aaa"); 67 EXPECT_EQ(newStr[1], "bbb");
|
/base/telephony/data_storage/common/src/ |
D | rdb_base_helper.cpp | 192 …bBaseHelper::ReplaceAllStr(std::string &path, const std::string &oldStr, const std::string &newStr) in ReplaceAllStr() argument 194 path = std::regex_replace(path, std::regex(oldStr), newStr); in ReplaceAllStr()
|
/base/telephony/data_storage/common/include/ |
D | rdb_base_helper.h | 65 void ReplaceAllStr(std::string &path, const std::string &oldStr, const std::string &newStr);
|