Lines Matching refs:TryFindProgram
116 bool TryFindProgram(StringRef Names, std::string &ProgramPath) { in TryFindProgram() function
158 if (S.TryFindProgram("open", ViewerPath)) { in DisplayGraph()
169 if (S.TryFindProgram("xdg-open", ViewerPath)) { in DisplayGraph()
179 if (S.TryFindProgram("Graphviz", ViewerPath)) { in DisplayGraph()
189 if (S.TryFindProgram("xdot|xdot.py", ViewerPath)) { in DisplayGraph()
210 if (!Viewer && S.TryFindProgram("open", ViewerPath)) in DisplayGraph()
213 if (!Viewer && S.TryFindProgram("gv", ViewerPath)) in DisplayGraph()
215 if (!Viewer && S.TryFindProgram("xdg-open", ViewerPath)) in DisplayGraph()
218 if (!Viewer && S.TryFindProgram("cmd", ViewerPath)) { in DisplayGraph()
226 (S.TryFindProgram(getProgramName(program), GeneratorPath) || in DisplayGraph()
227 S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { in DisplayGraph()
283 if (S.TryFindProgram("dotty", ViewerPath)) { in DisplayGraph()