Home
last modified time | relevance | path

Searched refs:StripChars (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/base/
Dstring_utils_unittest.cc230 EXPECT_EQ(StripChars("foobar", "", '_'), "foobar"); in TEST()
231 EXPECT_EQ(StripChars("foobar", "x", '_'), "foobar"); in TEST()
232 EXPECT_EQ(StripChars("foobar", "f", '_'), "_oobar"); in TEST()
233 EXPECT_EQ(StripChars("foobar", "o", '_'), "f__bar"); in TEST()
234 EXPECT_EQ(StripChars("foobar", "oa", '_'), "f__b_r"); in TEST()
235 EXPECT_EQ(StripChars("foobar", "fbr", '_'), "_oo_a_"); in TEST()
236 EXPECT_EQ(StripChars("foobar", "froab", '_'), "______"); in TEST()
Dstring_utils.cc218 std::string StripChars(const std::string& str, in StripChars() function
/external/perfetto/src/ipc/protoc_plugin/
Dipc_plugin.cc42 using perfetto::base::StripChars;
277 guard = StripChars(guard, ".-/\\", '_'); in Generate()
/external/perfetto/src/traced/probes/system_info/
Dsystem_info_data_source.cc91 base::StripSuffix(base::StripChars(splits[0], "\t", ' '), " "); in Start()
/external/perfetto/include/perfetto/ext/base/
Dstring_utils.h112 std::string StripChars(const std::string& str,
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_plugin.cc46 using perfetto::base::StripChars;
142 std::string name = StripChars(GetDescriptorName(descriptor), ".", '_'); in GetCppClassName()
459 guard = StripChars(guard, ".-/\\", '_'); in GeneratePrologue()
Dcppgen_plugin.cc45 using perfetto::base::StripChars;
137 include_guard = StripChars(include_guard, ".-/\\", '_'); in Generate()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs.cc147 events.push_back(base::StripChars(event, ":", '/')); in ReadEnabledEvents()