Lines Matching refs:os
86 import os.path
99 srctree = os.path.abspath(os.environ["srctree"])
100 sys.path.insert(0, os.path.join(srctree, "tools/lib/python"))
221 source_dir = os.path.dirname(os.path.abspath(
224 exceptions_file = os.path.join(source_dir, self.options['exception-file'])
254 relpath = os.path.relpath(path, srctree)
341 srctree = os.path.abspath(os.environ["srctree"])
343 path = os.path.expandvars(self.arguments[0])
344 src_path = os.path.join(srctree, path)
346 if os.path.isfile(src_path):
352 abs_base = os.path.abspath(base)
353 abs_full_path = os.path.abspath(os.path.join(base, path))
356 if os.path.commonpath([abs_full_path, abs_base]) != abs_base:
371 env.note_dependency(os.path.abspath(path))
377 source_dir = os.path.dirname(os.path.abspath(source))
380 path = os.path.join(self.standard_include_path, path[1:-1])
381 path = os.path.normpath(os.path.join(source_dir, path))