Lines Matching full:path
46 output_help = ('path to the output command database (defaults to ' +
67 os.path.realpath(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')
121 The path to every .cmd file found
137 The path to every .cmd file found
142 base, ext = os.path.splitext(obj)
144 sys.exit('{}: module path must end with .o'.format(obj))
175 # Return the canonical path, eliminating any symbolic links encountered in the path.
176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
177 if not os.path.exists(abs_path):
197 for path in paths:
198 # If 'path' is a directory, handle all .cmd files under it.
202 if os.path.isdir(path):
203 cmdfiles = cmdfiles_in_dir(path)
204 elif path.endswith('.a'):
205 cmdfiles = cmdfiles_for_a(path, ar)
206 elif path.endswith('modules.order'):
207 cmdfiles = cmdfiles_for_modorder(path)
209 sys.exit('{}: unknown file type'.format(path))