Lines Matching refs:path
44 output_help = ('path to the output command database (defaults to ' +
65 os.path.abspath(args.directory),
80 The path to a .cmd file.
88 yield os.path.join(dirpath, filename)
91 def to_cmdfile(path):
92 """Return the path of .cmd file used for the given build artifact
95 Path: file path
98 The path to .cmd file
100 dir, base = os.path.split(path)
101 return os.path.join(dir, '.' + base + '.cmd')
110 obj: The object path
113 The path to .cmd file
127 The path to every .cmd file found
143 The path to every .cmd file found
148 base, ext = os.path.splitext(ko)
150 sys.exit('{}: module path must end with .ko'.format(ko))
181 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
182 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
183 if not os.path.exists(abs_path):
203 for path in paths:
204 # If 'path' is a directory, handle all .cmd files under it.
209 if os.path.isdir(path):
210 cmdfiles = cmdfiles_in_dir(path)
211 elif path.endswith('.o'):
212 cmdfiles = cmdfiles_for_o(path)
213 elif path.endswith('.a'):
214 cmdfiles = cmdfiles_for_a(path, ar)
215 elif path.endswith('modules.order'):
216 cmdfiles = cmdfiles_for_modorder(path)
218 sys.exit('{}: unknown file type'.format(path))