Lines Matching refs:TryFindProgram
157 bool TryFindProgram(StringRef Names, std::string &ProgramPath) { in TryFindProgram() function
199 if (S.TryFindProgram("open", ViewerPath)) { in DisplayGraph()
210 if (S.TryFindProgram("xdg-open", ViewerPath)) { in DisplayGraph()
220 if (S.TryFindProgram("Graphviz", ViewerPath)) { in DisplayGraph()
230 if (S.TryFindProgram("xdot|xdot.py", ViewerPath)) { in DisplayGraph()
251 if (!Viewer && S.TryFindProgram("open", ViewerPath)) in DisplayGraph()
254 if (!Viewer && S.TryFindProgram("gv", ViewerPath)) in DisplayGraph()
256 if (!Viewer && S.TryFindProgram("xdg-open", ViewerPath)) in DisplayGraph()
259 if (!Viewer && S.TryFindProgram("cmd", ViewerPath)) { in DisplayGraph()
267 (S.TryFindProgram(getProgramName(program), GeneratorPath) || in DisplayGraph()
268 S.TryFindProgram("dot|fdp|neato|twopi|circo", GeneratorPath))) { in DisplayGraph()
324 if (S.TryFindProgram("dotty", ViewerPath)) { in DisplayGraph()