Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dstring_splitter_unittest.cc34 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
37 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
42 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
45 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
50 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
53 EXPECT_EQ(1u, ss.cur_token_size()); in TEST()
55 EXPECT_EQ(0u, ss.cur_token_size()); in TEST()
61 EXPECT_EQ(3u, ss.cur_token_size()); in TEST()
68 EXPECT_EQ(2u, ss.cur_token_size()); in TEST()
75 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/traced/probes/android_log/
Dandroid_log_data_source.cc462 if (!ParseEventLogDefinitionLine(ss.cur_token(), ss.cur_token_size() + 1)) { in ParseEventLogDefinitions()
475 std::string name(tok.cur_token(), tok.cur_token_size()); in ParseEventLogDefinitionLine()
477 char* format = tok.cur_token() + tok.cur_token_size() + 1; in ParseEventLogDefinitionLine()
490 if (field.cur_token_size() <= 2) { in ParseEventLogDefinitionLine()
495 base::StringSplitter parts(start, field.cur_token_size() - 1, '|'); in ParseEventLogDefinitionLine()
500 std::string field_name(parts.cur_token(), parts.cur_token_size()); in ParseEventLogDefinitionLine()
/external/perfetto/src/trace_processor/
Dquery_constraints.cc110 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
122 PERFETTO_CHECK(splitter.Next() && splitter.cur_token_size() > 1); in FromString()
/external/perfetto/include/perfetto/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.cc193 words.cur_token()[words.cur_token_size() - 1] = '\0'; in ReadMeminfo()
241 words.cur_token_size() > 3 && !strncmp(words.cur_token(), "cpu", 3)) { in ReadStat()
/external/perfetto/src/traced/probes/packages_list/
Dpackages_list_data_source.cc62 package->name = std::string(ss.cur_token(), ss.cur_token_size()); in ReadPackagesListLine()