Lines Matching refs:path

135 def openio(path, mode='r', buffering=-1):
137 if path == '-':
143 return open(path, mode, buffering)
159 '\s+(?P<path>[^\s]+)'
238 dirs[int(m.group('no'))] = m.group('path')
243 files[int(m.group('no'))] = os.path.join(
245 m.group('path'))
247 files[int(m.group('no'))] = m.group('path')
260 file = os.path.abspath(files.get(op_file, '?'))
295 def collect_job(path, start, stop, syms, sym_at, lines, line_at, *,
345 os.path.abspath(file)
346 == os.path.abspath(s)
351 if not everything and not os.path.commonpath([
353 os.path.abspath(file)]) == os.getcwd():
356 # simplify path
357 if os.path.commonpath([
359 os.path.abspath(file)]) == os.getcwd():
360 file = os.path.relpath(file)
362 file = os.path.abspath(file)
392 with openio(path) as f:
420 last_file = os.path.abspath(m.group('file'))
498 os.path.abspath(file)
499 == os.path.abspath(s)
505 if not everything and not os.path.commonpath([
507 os.path.abspath(file)]) == os.getcwd():
511 # simplify path
512 if os.path.commonpath([
514 os.path.abspath(file)]) == os.getcwd():
515 file = os.path.relpath(file)
517 file = os.path.abspath(file)
562 for path in trace_paths:
563 if path == '-':
567 size = os.path.getsize(path)
579 ((collect_job, (path, start, stop,
582 for path, ranges in zip(trace_paths, trace_ranges)
588 for path in trace_paths:
589 results.extend(collect_job(path, None, None,
929 for path in co.OrderedDict.fromkeys(r.file for r in results).keys():
932 table = {r.line: r for r in results if r.file == path}
957 with open(path) as f:
969 path,
1269 '--objdump-path',