Home
last modified time | relevance | path

Searched refs:StringSplitter (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/src/base/
Dstring_splitter_unittest.cc32 StringSplitter ss("", 'x'); in TEST()
40 StringSplitter ss(std::string(), 'x'); in TEST()
48 StringSplitter ss("a", 'x'); in TEST()
58 StringSplitter ss("abc", 'x'); in TEST()
65 StringSplitter ss("ab,", ','); in TEST()
72 StringSplitter ss(",ab,", ','); in TEST()
79 StringSplitter ss("a,b,c", ','); in TEST()
97 StringSplitter ss("a,b,c,", ','); in TEST()
111 StringSplitter ss(",,a,,b,,,,c,,,", ','); in TEST()
130 StringSplitter ss(",,", ','); in TEST()
[all …]
Dstring_splitter.cc26 StringSplitter::StringSplitter(std::string str, char delimiter) in StringSplitter() function in perfetto::base::StringSplitter
33 StringSplitter::StringSplitter(char* str, size_t size, char delimiter) in StringSplitter() function in perfetto::base::StringSplitter
38 StringSplitter::StringSplitter(StringSplitter* outer, char delimiter) in StringSplitter() function in perfetto::base::StringSplitter
43 void StringSplitter::Initialize(char* str, size_t size) { in Initialize()
53 bool StringSplitter::Next() { in Next()
/external/perfetto/include/perfetto/base/
Dstring_splitter.h29 class StringSplitter {
33 StringSplitter(std::string, char delimiter);
37 StringSplitter(char* str, size_t size, char delimiter);
43 StringSplitter(StringSplitter*, char delimiter);
59 StringSplitter(const StringSplitter&) = delete;
60 StringSplitter& operator=(const StringSplitter&) = delete;
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc188 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadMeminfo()
189 base::StringSplitter words(&lines, ' '); in ReadMeminfo()
212 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadVmstat()
213 base::StringSplitter words(&lines, ' '); in ReadVmstat()
234 for (base::StringSplitter lines(buf, rsize, '\n'); lines.Next();) { in ReadStat()
235 base::StringSplitter words(&lines, ' '); in ReadStat()
/external/perfetto/src/traced/probes/filesystem/
Dfs_mount.cc38 for (base::StringSplitter lines(std::move(data), '\n'); lines.Next();) { in ParseMounts()
39 base::StringSplitter words(&lines, ' '); in ParseMounts()
Dprefix_finder.cc70 perfetto::base::StringSplitter s(std::move(path), '/'); in AddPath()
99 perfetto::base::StringSplitter s(std::move(path), '/'); in GetPrefix()
/external/perfetto/src/traced/probes/ftrace/
Dformat_parser.cc52 bool ParseFtraceEventBody(base::StringSplitter* ss, in ParseFtraceEventBody()
126 base::StringSplitter ss(std::move(input), '\n'); in ParseFtraceEventBody()
142 for (base::StringSplitter ss(std::move(input), '\n'); ss.Next();) { in ParseFtraceEvent()
Dcpu_stats_parser.cc52 base::StringSplitter splitter(std::move(text), '\n'); in DumpCpuStats()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc461 for (base::StringSplitter ss(std::move(event_log_tags), '\n'); ss.Next();) { in ParseEventLogDefinitions()
469 base::StringSplitter tok(line, len, ' '); in ParseEventLogDefinitionLine()
489 for (base::StringSplitter field(format, format_len, ','); field.Next();) { in ParseEventLogDefinitionLine()
495 base::StringSplitter parts(start, field.cur_token_size() - 1, '|'); in ParseEventLogDefinitionLine()
/external/dexmaker/dexmaker/
Dbuild.gradle27 options.compilerArgs += ["-Xep:StringSplitter:OFF"]
/external/perfetto/tools/dump_ftrace_stats/
Dmain.cc79 base::StringSplitter splitter(std::move(text), '\n'); in DumpAllCpuStats()
/external/perfetto/src/traced/probes/packages_list/
Dpackages_list_data_source.cc59 for (base::StringSplitter ss(line, ' '); ss.Next();) { in ReadPackagesListLine()
/external/perfetto/src/trace_processor/
Dquery_constraints.cc108 base::StringSplitter splitter(std::string(idxStr), ','); in FromString()
Dtrace_processor_shell.cc598 for (base::StringSplitter ss(metric_names, ','); ss.Next();) { in TraceProcessorMain()
Dspan_join_operator_table.cc690 base::StringSplitter splitter(raw_descriptor, ' '); in Parse()
/external/dexmaker/dexmaker-mockito-inline-extended/
Dbuild.gradle50 options.compilerArgs += ["-Xep:StringSplitter:OFF"]
/external/dexmaker/dexmaker-mockito-inline/
Dbuild.gradle45 options.compilerArgs += ["-Xep:StringSplitter:OFF"]
/external/perfetto/src/traced/probes/ps/
Dprocess_stats_data_source.cc234 using base::StringSplitter; in WriteProcess()
235 for (StringSplitter ss(&cmdline[0], cmdline.size(), '\0'); ss.Next();) in WriteProcess()
/external/perfetto/src/profiling/memory/
Dbookkeeping.cc241 base::StringSplitter sp(loc.frame.map_name, '/'); in InternCodeLocation()