Searched refs:cur_token (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/src/base/ |
D | string_splitter_unittest.cc | 33 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 …]
|
D | string_splitter.cc | 40 Initialize(outer->cur_token(), outer->cur_token_size() + 1); in StringSplitter()
|
/external/perfetto/src/ftrace_reader/ |
D | cpu_stats_parser.cc | 53 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 …]
|
D | format_parser.cc | 95 const char* line = ss.cur_token(); in ParseFtraceEvent()
|
/external/python/cpython3/Parser/ |
D | asdl.py | 253 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/ |
D | fs_mount.cc | 41 PERFETTO_DLOG("Invalid mount point: %s.", lines.cur_token()); in ParseMounts() 44 const char* mountpoint = words.cur_token(); in ParseMounts()
|
D | prefix_finder.cc | 87 char* token = s.cur_token(); in AddPath() 113 char* token = s.cur_token(); in GetPrefix()
|
/external/perfetto/include/perfetto/base/ |
D | string_splitter.h | 53 char* cur_token() { return cur_; } in cur_token() function
|
/external/perfetto/src/traced/probes/ |
D | process_stats_data_source.cc | 149 proc->add_cmdline(ss.cur_token()); in WriteProcess()
|