Searched refs:StripChars (Results 1 – 8 of 8) sorted by relevance
/external/perfetto/src/base/ |
D | string_utils_unittest.cc | 230 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()
|
D | string_utils.cc | 218 std::string StripChars(const std::string& str, in StripChars() function
|
/external/perfetto/src/ipc/protoc_plugin/ |
D | ipc_plugin.cc | 42 using perfetto::base::StripChars; 277 guard = StripChars(guard, ".-/\\", '_'); in Generate()
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.cc | 91 base::StripSuffix(base::StripChars(splits[0], "\t", ' '), " "); in Start()
|
/external/perfetto/include/perfetto/ext/base/ |
D | string_utils.h | 112 std::string StripChars(const std::string& str,
|
/external/perfetto/src/protozero/protoc_plugin/ |
D | protozero_plugin.cc | 46 using perfetto::base::StripChars; 142 std::string name = StripChars(GetDescriptorName(descriptor), ".", '_'); in GetCppClassName() 459 guard = StripChars(guard, ".-/\\", '_'); in GeneratePrologue()
|
D | cppgen_plugin.cc | 45 using perfetto::base::StripChars; 137 include_guard = StripChars(include_guard, ".-/\\", '_'); in Generate()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_procfs.cc | 147 events.push_back(base::StripChars(event, ":", '/')); in ReadEnabledEvents()
|