Home
last modified time | relevance | path

Searched refs:Strip (Results 1 - 10 of 10) sorted by relevance

/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
H A Dstring_utils_test.cpp184 * @tc.desc: test StringUtils::Strip with normal input.
190 EXPECT_EQ(StringUtils::Strip(str + " "), str); in HWTEST_F()
191 EXPECT_EQ(StringUtils::Strip(" " + str), str); in HWTEST_F()
192 EXPECT_EQ(StringUtils::Strip(str + "\t"), str); in HWTEST_F()
193 EXPECT_EQ(StringUtils::Strip("\t" + str), str); in HWTEST_F()
194 EXPECT_EQ(StringUtils::Strip(str + "\n"), str); in HWTEST_F()
195 EXPECT_EQ(StringUtils::Strip("\n" + str), str); in HWTEST_F()
200 * @tc.desc: test StringUtils::Strip with random input.
217 EXPECT_EQ(StringUtils::Strip(str), original); in HWTEST_F()
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dprintk_formats_parser.cpp63 std::string addrStr = StringUtils::Strip(line.substr(0, pos)); in Parse()
66 symbol = StringUtils::Strip(line.substr(pos + 1)); in Parse()
H A Dftrace_parser.cpp145 line = StringUtils::Strip(line); in ParseEventFormat()
188 type = StringUtils::Strip(type); in EraseNameFromTypeName()
215 auto cols = StringUtils::Split(StringUtils::Strip(part), ":"); in ParseFieldFormat()
H A Dstring_utils.cpp47 std::string StringUtils::Strip(const std::string& str) in Strip() function in StringUtils
/developtools/smartperf_host/trace_streamer/src/parser/rawtrace_parser/
H A Dprintk_formats_processor.cpp55 std::string addrInfo = base::Strip(curLine.substr(0, pos)); in HandlePrintkSyms()
57 curSymbol = base::Strip(curLine.substr(pos + 1)); in HandlePrintkSyms()
H A Dftrace_processor.cpp136 curLine = Strip(curLine); in HandleEventFormat()
242 curType = Strip(curType); in GetTypeFromTypeName()
267 auto fieldMap = SplitStringToVec(Strip(partInfo), ":"); in HandleFieldFormat()
/developtools/profiler/device/plugins/ftrace_plugin/include/
H A Dstring_utils.h27 static std::string Strip(const std::string& str);
/developtools/smartperf_host/trace_streamer/src/base/
H A Dstring_help.h30 std::string Strip(const std::string &str);
H A Dstring_help.cpp93 std::string Strip(const std::string &str) in Strip() function
/developtools/smartperf_host/trace_streamer/src/filter/
H A Dslice_filter.cpp460 cat = traceDataCache_->GetDataIndex(Strip(category)); in StartAsyncSlice()

Completed in 7 milliseconds