Searched refs:cur_token_size (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/base/ |
D | string_splitter_unittest.cc | 34 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 …]
|
D | string_splitter.cc | 40 Initialize(outer->cur_token(), outer->cur_token_size() + 1); in StringSplitter()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source.cc | 462 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/ |
D | query_constraints.cc | 110 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/ |
D | string_splitter.h | 56 size_t cur_token_size() const { return cur_size_; } in cur_token_size() function
|
/external/perfetto/src/traced/probes/sys_stats/ |
D | sys_stats_data_source.cc | 193 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/ |
D | packages_list_data_source.cc | 62 package->name = std::string(ss.cur_token(), ss.cur_token_size()); in ReadPackagesListLine()
|