Lines Matching full:path
43 output_help = ('path to the output command database (defaults to ' +
64 os.path.abspath(args.directory),
79 The path to a .cmd file.
87 yield os.path.join(dirpath, filename)
90 def to_cmdfile(path): argument
91 """Return the path of .cmd file used for the given build artifact
94 Path: file path
97 The path to .cmd file
99 dir, base = os.path.split(path)
100 return os.path.join(dir, '.' + base + '.cmd')
109 obj: The object path
112 The path to .cmd file
126 The path to every .cmd file found
142 The path to every .cmd file found
147 base, ext = os.path.splitext(ko)
149 sys.exit('{}: module path must end with .ko'.format(ko))
180 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
181 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
182 if not os.path.exists(abs_path):
202 for path in paths:
203 # If 'path' is a directory, handle all .cmd files under it.
208 if os.path.isdir(path):
209 cmdfiles = cmdfiles_in_dir(path)
210 elif path.endswith('.o'):
211 cmdfiles = cmdfiles_for_o(path)
212 elif path.endswith('.a'):
213 cmdfiles = cmdfiles_for_a(path, ar)
214 elif path.endswith('modules.order'):
215 cmdfiles = cmdfiles_for_modorder(path)
217 sys.exit('{}: unknown file type'.format(path))