Lines Matching refs:TryFindProgram
156 bool TryFindProgram(StringRef Names, std::string &ProgramPath) { in TryFindProgram() function
198 if (S.TryFindProgram("open", ViewerPath)) { in DisplayGraph()
209 if (S.TryFindProgram("xdg-open", ViewerPath)) { in DisplayGraph()
219 if (S.TryFindProgram("Graphviz", ViewerPath)) { in DisplayGraph()
229 if (S.TryFindProgram("xdot|xdot.py", ViewerPath)) { in DisplayGraph()
250 if (!Viewer && S.TryFindProgram("open", ViewerPath)) in DisplayGraph()
253 if (!Viewer && S.TryFindProgram("gv", ViewerPath)) in DisplayGraph()
255 if (!Viewer && S.TryFindProgram("xdg-open", ViewerPath)) in DisplayGraph()
258 if (!Viewer && S.TryFindProgram("cmd", ViewerPath)) { in DisplayGraph()
266 (S.TryFindProgram(getProgramName(program), GeneratorPath) || in DisplayGraph()
267 S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { in DisplayGraph()
323 if (S.TryFindProgram("dotty", ViewerPath)) { in DisplayGraph()