Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dstring_splitter_unittest.cc33 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
36 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
41 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
44 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
49 EXPECT_EQ(nullptr, ss.cur_token()); in TEST()
52 EXPECT_STREQ("a", ss.cur_token()); in TEST()
60 EXPECT_STREQ("abc", ss.cur_token()); in TEST()
67 EXPECT_STREQ("ab", ss.cur_token()); in TEST()
74 EXPECT_STREQ("ab", ss.cur_token()); in TEST()
82 EXPECT_STREQ("a", ss.cur_token()); in TEST()
[all …]
Dstring_splitter.cc40 Initialize(outer->cur_token(), outer->cur_token_size() + 1); in StringSplitter()
/external/perfetto/src/ftrace_reader/
Dcpu_stats_parser.cc53 if (base::StartsWith(splitter.cur_token(), "entries")) { in DumpCpuStats()
54 stats->entries = ExtractInt(splitter.cur_token()); in DumpCpuStats()
55 } else if (base::StartsWith(splitter.cur_token(), "overrun")) { in DumpCpuStats()
56 stats->overrun = ExtractInt(splitter.cur_token()); in DumpCpuStats()
57 } else if (base::StartsWith(splitter.cur_token(), "commit overrun")) { in DumpCpuStats()
58 stats->commit_overrun = ExtractInt(splitter.cur_token()); in DumpCpuStats()
59 } else if (base::StartsWith(splitter.cur_token(), "bytes")) { in DumpCpuStats()
60 stats->bytes_read = ExtractInt(splitter.cur_token()); in DumpCpuStats()
61 } else if (base::StartsWith(splitter.cur_token(), "oldest event ts")) { in DumpCpuStats()
62 stats->oldest_event_ts = ExtractDouble(splitter.cur_token()); in DumpCpuStats()
[all …]
Dformat_parser.cc95 const char* line = ss.cur_token(); in ParseFtraceEvent()
/external/python/cpython3/Parser/
Dasdl.py253 self.cur_token = None
267 'Expected "module" (found {})'.format(self.cur_token.value),
268 self.cur_token.lineno)
277 while self.cur_token.kind == TokenKind.TypeId:
285 if self.cur_token.kind == TokenKind.LParen:
292 while self.cur_token.kind == TokenKind.Pipe:
306 while self.cur_token.kind == TokenKind.TypeId:
309 id = (self._advance() if self.cur_token.kind in self._id_kinds
312 if self.cur_token.kind == TokenKind.RParen:
314 elif self.cur_token.kind == TokenKind.Comma:
[all …]
/external/perfetto/src/traced/probes/filesystem/
Dfs_mount.cc41 PERFETTO_DLOG("Invalid mount point: %s.", lines.cur_token()); in ParseMounts()
44 const char* mountpoint = words.cur_token(); in ParseMounts()
Dprefix_finder.cc87 char* token = s.cur_token(); in AddPath()
113 char* token = s.cur_token(); in GetPrefix()
/external/perfetto/include/perfetto/base/
Dstring_splitter.h53 char* cur_token() { return cur_; } in cur_token() function
/external/perfetto/src/traced/probes/
Dprocess_stats_data_source.cc149 proc->add_cmdline(ss.cur_token()); in WriteProcess()