Lines Matching refs:TryFindProgram
159 bool TryFindProgram(StringRef Names, std::string &ProgramPath) { in TryFindProgram() function
201 if (S.TryFindProgram("open", ViewerPath)) { in DisplayGraph()
212 if (S.TryFindProgram("xdg-open", ViewerPath)) { in DisplayGraph()
222 if (S.TryFindProgram("Graphviz", ViewerPath)) { in DisplayGraph()
232 if (S.TryFindProgram("xdot|xdot.py", ViewerPath)) { in DisplayGraph()
253 if (!Viewer && S.TryFindProgram("open", ViewerPath)) in DisplayGraph()
256 if (!Viewer && S.TryFindProgram("gv", ViewerPath)) in DisplayGraph()
258 if (!Viewer && S.TryFindProgram("xdg-open", ViewerPath)) in DisplayGraph()
261 if (!Viewer && S.TryFindProgram("cmd", ViewerPath)) { in DisplayGraph()
269 (S.TryFindProgram(getProgramName(program), GeneratorPath) || in DisplayGraph()
270 S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { in DisplayGraph()
326 if (S.TryFindProgram("dotty", ViewerPath)) { in DisplayGraph()