Lines Matching refs:f
307 def _dump_tags(self, tags, f=sys.stdout, truncate=True): argument
308 f.write("%-8s %-8s %-13s %4s %4s" % (
311 f.write(' data (truncated)')
312 f.write('\n')
315 f.write("%08x: %08x %-14s %3s %4s" % (
319 f.write(" %-23s %-8s\n" % (
324 f.write("\n")
326 f.write(" %08x: %-47s %-16s\n" % (
332 def dump_tags(self, f=sys.stdout, truncate=True): argument
333 self._dump_tags(self.tags, f=f, truncate=truncate)
335 def dump_log(self, f=sys.stdout, truncate=True): argument
336 self._dump_tags(self.log, f=f, truncate=truncate)
338 def dump_all(self, f=sys.stdout, truncate=True): argument
339 self._dump_tags(self.all_, f=f, truncate=truncate)
343 with open(args.disk, 'rb') as f:
347 f.seek(block * args.block_size)
348 blocks.append(f.read(args.block_size)