Home
last modified time | relevance | path

Searched refs:cur_token_size (Results 1 – 9 of 9) sorted by relevance

/external/perfetto/src/base/
Dstring_splitter_unittest.cc33 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
36 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
41 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
44 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
49 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
52 EXPECT_EQ(1u, ss.cur_token_size()); in TEST()
54 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
60 EXPECT_EQ(3u, ss.cur_token_size()); in TEST()
67 EXPECT_EQ(2u, ss.cur_token_size()); in TEST()
74 EXPECT_EQ(2u, ss.cur_token_size()); in TEST()
[all …]
Dstring_splitter.cc40 Initialize(outer->cur_token(), outer->cur_token_size() + 1); in StringSplitter()
/external/perfetto/src/profiling/
Ddeobfuscator.cc46 std::string deobfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseClass()
48 if (!ss.Next() || ss.cur_token_size() != 2 || in ParseClass()
58 std::string obfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseClass()
95 std::string type_name(ss.cur_token(), ss.cur_token_size()); in ParseMember()
101 std::string deobfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseMember()
103 if (!ss.Next() || ss.cur_token_size() != 2 || in ParseMember()
113 std::string obfuscated_name(ss.cur_token(), ss.cur_token_size()); in ParseMember()
287 std::string token(sp.cur_token(), sp.cur_token_size()); in GetPerfettoProguardMapPath()
/external/perfetto/src/traced/probes/packages_list/
Dpackages_list_parser.cc29 package->name = std::string(ss.cur_token(), ss.cur_token_size()); in ReadPackagesListLine()
84 std::string(ss.cur_token(), ss.cur_token_size()); in ReadPackagesListLine()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc479 if (!ParseEventLogDefinitionLine(ss.cur_token(), ss.cur_token_size() + 1)) { in ParseEventLogDefinitions()
492 std::string name(tok.cur_token(), tok.cur_token_size()); in ParseEventLogDefinitionLine()
494 char* format = tok.cur_token() + tok.cur_token_size() + 1; in ParseEventLogDefinitionLine()
507 if (field.cur_token_size() <= 2) { in ParseEventLogDefinitionLine()
512 base::StringSplitter parts(start, field.cur_token_size() - 1, '|'); in ParseEventLogDefinitionLine()
517 std::string field_name(parts.cur_token(), parts.cur_token_size()); in ParseEventLogDefinitionLine()
/external/perfetto/src/trace_processor/sqlite/
Dquery_constraints.cc114 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
126 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
/external/perfetto/include/perfetto/ext/base/
Dstring_splitter.h56 size_t cur_token_size() const { return cur_size_; } in cur_token_size() function
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc276 words.cur_token()[words.cur_token_size() - 1] = '\0'; in ReadMeminfo()
324 words.cur_token_size() > 3 && !strncmp(words.cur_token(), "cpu", 3)) { in ReadStat()
/external/perfetto/src/tracing/
Dtrack.cc66 std::string(splitter.cur_token(), splitter.cur_token_size())); in Serialize()