Lines Matching full:path
46 output_help = ('path to the output command database (defaults to ' +
67 os.path.abspath(args.directory),
82 The path to a .cmd file.
86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
96 yield os.path.join(dirpath, filename)
99 def to_cmdfile(path): argument
100 """Return the path of .cmd file used for the given build artifact
103 Path: file path
106 The path to .cmd file
108 dir, base = os.path.split(path)
109 return os.path.join(dir, '.' + base + '.cmd')
118 obj: The object path
121 The path to .cmd file
135 The path to every .cmd file found
151 The path to every .cmd file found
156 base, ext = os.path.splitext(ko)
158 sys.exit('{}: module path must end with .ko'.format(ko))
189 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
190 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
191 if not os.path.exists(abs_path):
211 for path in paths:
212 # If 'path' is a directory, handle all .cmd files under it.
217 if os.path.isdir(path):
218 cmdfiles = cmdfiles_in_dir(path)
219 elif path.endswith('.o'):
220 cmdfiles = cmdfiles_for_o(path)
221 elif path.endswith('.a'):
222 cmdfiles = cmdfiles_for_a(path, ar)
223 elif path.endswith('modules.order'):
224 cmdfiles = cmdfiles_for_modorder(path)
226 sys.exit('{}: unknown file type'.format(path))