Home
last modified time | relevance | path

Searched refs:Argv (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Driver/
DJob.cpp219 SmallVector<const char*, 128> Argv; in Execute() local
222 Argv.push_back(Executable); in Execute()
223 Argv.append(Arguments.begin(), Arguments.end()); in Execute()
224 Argv.push_back(nullptr); in Execute()
226 return llvm::sys::ExecuteAndWait(Executable, Argv.data(), /*env*/ nullptr, in Execute()
239 buildArgvForResponseFile(Argv); in Execute()
240 Argv.push_back(nullptr); in Execute()
253 return llvm::sys::ExecuteAndWait(Executable, Argv.data(), /*env*/ nullptr, in Execute()
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp444 const char *Argv[] = { "1", "2" }; in TEST() local
446 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
453 const char *Argv[] = { in TEST() local
457 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
474 const char *Argv[] = { "1", "2", "--\0no-constant-folding" }; in TEST() local
476 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
490 const char *Argv[] = {"1", "2", "--", "-c", "somefile.cpp", "-DDEF3"}; in TEST() local
491 int Argc = sizeof(Argv) / sizeof(char*); in TEST()
493 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
509 const char *Argv[] = {"1", "2", "--", "mytool", "somefile.cpp"}; in TEST() local
[all …]
/external/clang/lib/Tooling/
DCompilationDatabase.cpp287 int &Argc, const char *const *Argv, Twine Directory) { in loadFromCommandLine() argument
288 const char *const *DoubleDash = std::find(Argv, Argv + Argc, StringRef("--")); in loadFromCommandLine()
289 if (DoubleDash == Argv + Argc) in loadFromCommandLine()
291 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine()
292 Argc = DoubleDash - Argv; in loadFromCommandLine()
DTooling.cpp204 std::vector<const char*> Argv; in run() local
206 Argv.push_back(Str.c_str()); in run()
207 const char *const BinaryName = Argv[0]; in run()
220 Driver->BuildCompilation(llvm::makeArrayRef(Argv))); in run()
/external/clang/tools/driver/
Dcc1_main.cpp66 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument
87 Clang->getInvocation(), Argv.begin(), Argv.end(), Diags); in cc1_main()
Dcc1as_main.cpp148 ArrayRef<const char *> Argv,
155 ArrayRef<const char *> Argv, in CreateFromArgs() argument
165 OptTbl->ParseArgs(Argv.begin(), Argv.end(), MissingArgIndex, MissingArgCount, in CreateFromArgs()
433 int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1as_main() argument
436 PrettyStackTraceProgram X(Argv.size(), Argv.data()); in cc1as_main()
459 if (!AssemblerInvocation::CreateFromArgs(Asm, Argv, Diags)) in cc1as_main()
Ddriver.cpp198 extern int cc1_main(ArrayRef<const char *> Argv, const char *Argv0,
200 extern int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0,
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp327 const char **Argv = new const char*[2]; in executeInput() local
329 Argv[0] = InputFileList[0].c_str(); in executeInput()
330 Argv[1] = nullptr; in executeInput()
331 return Main(1, Argv); in executeInput()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp67 cl::list<std::string> Argv(cl::ConsumeAfter, variable
331 for (std::vector<std::string>::iterator i = Argv.begin(), in main()
332 e = Argv.end(); in main()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h181 const char *const *Argv,
/external/llvm/lib/Support/
DCommandLine.cpp740 SmallVectorImpl<const char *> &Argv, in ExpandResponseFiles() argument
746 for (unsigned I = 0; I != Argv.size();) { in ExpandResponseFiles()
747 const char *Arg = Argv[I]; in ExpandResponseFiles()
776 Argv.erase(Argv.begin() + I); in ExpandResponseFiles()
777 Argv.insert(Argv.begin() + I, ExpandedArgv.begin(), ExpandedArgv.end()); in ExpandResponseFiles()
/external/llvm/test/CodeGen/Thumb2/
D2010-06-14-NEONCoalescer.ll15 define i32 @main(i32 %argc, i8** nocapture %Argv) nounwind {
/external/protobuf/gtest/src/
Dgtest-death-test.cc821 char* const* Argv() { in Argv() function in testing::internal::Arguments
976 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc872 char* const* Argv() { in Argv() function in testing::internal::Arguments
1032 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc869 char* const* Argv() { in Argv() function in testing::internal::Arguments
1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-death-test.cc913 char* const* Argv() { in Argv() function in testing::internal::Arguments
1132 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/gtest/src/
Dgtest-death-test.cc911 char* const* Argv() { in Argv() function in testing::internal::Arguments
1138 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/llvm/include/llvm/Support/
DCommandLine.h1684 SmallVectorImpl<const char *> &Argv,
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc6860 char* const* Argv() { in Argv() function in testing::internal::Arguments
7015 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/llvm/docs/
DCommandLine.rst833 cl::list<string> Argv(cl::ConsumeAfter, cl::desc("<program arguments>..."));
848 will be set to "``test.sh``", and the ``Argv`` list will contain ``["-a", "-x",
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc7405 char* const* Argv() { in Argv() function in testing::internal::Arguments
7632 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()