Lines Matching refs:lineno
160 self.counter = self.counts.copy() # map (filename, lineno) to count
239 # turn the counts data ("(filename, lineno) = count") into something
242 for filename, lineno in self.counts:
244 lines_hit[lineno] = self.counts[(filename, lineno)]
311 for lineno, line in enumerate(lines, 1):
314 if lineno in lines_hit:
315 outfile.write("%5d: " % lines_hit[lineno])
318 elif lineno in lnotab and not PRAGMA_NOCOVER in line:
333 for _, lineno in dis.findlinestarts(code):
334 if lineno not in strs:
335 linenos[lineno] = 1
340 """Return lineno dict for all code objects reachable from code."""
341 # get all of the lineno information from the code of this scope level
556 lineno = frame.f_lineno
557 key = filename, lineno
563 print("%s(%d): %s" % (bname, lineno,
564 linecache.getline(filename, lineno)), end='')
571 lineno = frame.f_lineno
576 print("%s(%d): %s" % (bname, lineno,
577 linecache.getline(filename, lineno)), end='')
583 lineno = frame.f_lineno
584 key = filename, lineno