Home | History | Annotate | Download | only in Support

Lines Matching defs:args

82 static bool ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args,
85 assert(args.back() == nullptr);
87 if (sys::ExecuteAndWait(ExecPath, args.data(), nullptr, nullptr, 0, 0,
95 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg);
143 std::vector<const char *> args;
144 args.push_back(ViewerPath.c_str());
145 args.push_back(Filename.c_str());
146 args.push_back(nullptr);
149 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
154 std::vector<const char *> args;
155 args.push_back(ViewerPath.c_str());
156 args.push_back(Filename.c_str());
158 args.push_back("-f");
159 args.push_back(getProgramName(program));
161 args.push_back(nullptr);
164 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
185 std::vector<const char *> args;
186 args.push_back(GeneratorPath.c_str());
187 args.push_back("-Tps");
188 args.push_back("-Nfontname=Courier");
189 args.push_back("-Gsize=7.5,10");
190 args.push_back(Filename.c_str());
191 args.push_back("-o");
192 args.push_back(PSFilename.c_str());
193 args.push_back(nullptr);
197 if (ExecGraphViewer(GeneratorPath, args, Filename, wait, ErrMsg))
200 args.clear();
201 args.push_back(ViewerPath.c_str());
204 args.push_back("-W");
205 args.push_back(PSFilename.c_str());
209 args.push_back(PSFilename.c_str());
212 args.push_back("--spartan");
213 args.push_back(PSFilename.c_str());
218 args.push_back(nullptr);
221 return ExecGraphViewer(ViewerPath, args, PSFilename, wait, ErrMsg);
226 std::vector<const char *> args;
227 args.push_back(ViewerPath.c_str());
228 args.push_back(Filename.c_str());
229 args.push_back(nullptr);
236 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);