Lines Matching full:path
51 output_help = ('path to the output command database (defaults to ' +
73 os.path.abspath(args.directory),
88 The path to a .cmd file.
92 exclude_dirs = [os.path.join(directory, d) for d in _EXCLUDE_DIRS]
102 yield os.path.join(dirpath, filename)
105 def to_cmdfile(path): argument
106 """Return the path of .cmd file used for the given build artifact
109 Path: file path
112 The path to .cmd file
114 dir, base = os.path.split(path)
115 return os.path.join(dir, '.' + base + '.cmd')
127 The path to every .cmd file found
143 The path to every .cmd file found
148 base, ext = os.path.splitext(obj)
150 sys.exit('{}: module path must end with .o'.format(obj))
182 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
183 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
184 if not os.path.exists(abs_path):
204 for path in paths:
205 # 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('.a'):
212 cmdfiles = cmdfiles_for_a(path, ar)
213 elif path.endswith('modules.order'):
214 cmdfiles = cmdfiles_for_modorder(path)
216 sys.exit('{}: unknown file type'.format(path))