Lines Matching refs:TryFindProgram
103 bool TryFindProgram(StringRef Names, std::string &ProgramPath) { in TryFindProgram() function
144 if (S.TryFindProgram("open", ViewerPath)) { in DisplayGraph()
156 if (S.TryFindProgram("xdg-open", ViewerPath)) { in DisplayGraph()
167 if (S.TryFindProgram("Graphviz", ViewerPath)) { in DisplayGraph()
178 if (S.TryFindProgram("xdot|xdot.py", ViewerPath)) { in DisplayGraph()
201 if (!Viewer && S.TryFindProgram("open", ViewerPath)) in DisplayGraph()
204 if (!Viewer && S.TryFindProgram("gv", ViewerPath)) in DisplayGraph()
206 if (!Viewer && S.TryFindProgram("xdg-open", ViewerPath)) in DisplayGraph()
209 if (!Viewer && S.TryFindProgram("cmd", ViewerPath)) { in DisplayGraph()
217 (S.TryFindProgram(getProgramName(program), GeneratorPath) || in DisplayGraph()
218 S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { in DisplayGraph()
276 if (S.TryFindProgram("dotty", ViewerPath)) { in DisplayGraph()