Lines Matching refs:line
41 LINE = 'line'
208 "line" : (((5, 1), ), "line number"),
211 "nfl" : (((6, 1),(4, 1),(5, 1),), "name/file/line"),
327 # Optional "amount" is either a line count, or a percentage of lines.
545 # func_name is a triple (file:string, line:int, name:string)
548 filename, line, name = func_name
549 return os.path.basename(filename), line, name
629 def generic(self, fn, line):
630 args = line.split()
661 def do_add(self, line):
664 self.stats.add(line)
666 print("Failed to load statistics for %s: %s" % (line, e), file=self.stream)
673 def do_callees(self, line):
674 return self.generic('print_callees', line)
679 def do_callers(self, line):
680 return self.generic('print_callers', line)
685 def do_EOF(self, line):
691 def do_quit(self, line):
696 def do_read(self, line):
697 if line:
699 self.stats = Stats(line)
706 self.prompt = line + "% "
708 line = self.prompt[:-2]
709 self.do_read(line)
717 def do_reverse(self, line):
726 def do_sort(self, line):
731 if line and all((x in abbrevs) for x in line.split()):
732 self.stats.sort_stats(*line.split())
744 def do_stats(self, line):
745 return self.generic('print_stats', line)
750 def do_strip(self, line):
761 def postcmd(self, stop, line):