Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/subzero/src/
DIceBrowserCompileServer.cpp133 std::vector<const char *> Argv; in onInitCallback() local
135 Argv.reserve(CLArgsLen + 1); in onInitCallback()
136 Argv.push_back(ProgramName); in onInitCallback()
142 Argv.push_back(CLArgs[i]); in onInitCallback()
146 Argv.emplace_back(Arg.c_str()); in onInitCallback()
153 Argv.size(), Argv.data()); in onInitCallback()
/external/clang/lib/Driver/
DJob.cpp233 SmallVector<const char*, 128> Argv; in Execute() local
236 Argv.push_back(Executable); in Execute()
237 Argv.append(Arguments.begin(), Arguments.end()); in Execute()
238 Argv.push_back(nullptr); in Execute()
240 return llvm::sys::ExecuteAndWait(Executable, Argv.data(), /*env*/ nullptr, in Execute()
253 buildArgvForResponseFile(Argv); in Execute()
254 Argv.push_back(nullptr); in Execute()
267 return llvm::sys::ExecuteAndWait(Executable, Argv.data(), /*env*/ nullptr, in Execute()
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp131 const char **Argv = new const char*[2]; in executeInput() local
133 Argv[0] = InputFileList[0].c_str(); in executeInput()
134 Argv[1] = 0; in executeInput()
135 return Main(1, Argv); in executeInput()
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp492 const char *Argv[] = { "1", "2" }; in TEST() local
494 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
501 const char *Argv[] = { in TEST() local
505 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
522 const char *Argv[] = { "1", "2", "--\0no-constant-folding" }; in TEST() local
524 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
538 const char *Argv[] = {"1", "2", "--", "-c", "somefile.cpp", "-DDEF3"}; in TEST() local
539 int Argc = sizeof(Argv) / sizeof(char*); in TEST()
541 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
557 const char *Argv[] = {"1", "2", "--", "mytool", "somefile.cpp"}; in TEST() local
[all …]
/external/clang/lib/Tooling/
DCompilationDatabase.cpp283 int &Argc, const char *const *Argv, Twine Directory) { in loadFromCommandLine() argument
284 const char *const *DoubleDash = std::find(Argv, Argv + Argc, StringRef("--")); in loadFromCommandLine()
285 if (DoubleDash == Argv + Argc) in loadFromCommandLine()
287 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine()
288 Argc = DoubleDash - Argv; in loadFromCommandLine()
DTooling.cpp238 std::vector<const char*> Argv; in run() local
240 Argv.push_back(Str.c_str()); in run()
241 const char *const BinaryName = Argv[0]; in run()
254 Driver->BuildCompilation(llvm::makeArrayRef(Argv))); in run()
/external/clang/tools/driver/
Dcc1_main.cpp67 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument
93 Clang->getInvocation(), Argv.begin(), Argv.end(), Diags); in cc1_main()
Dcc1as_main.cpp152 ArrayRef<const char *> Argv,
159 ArrayRef<const char *> Argv, in CreateFromArgs() argument
168 InputArgList Args = OptTbl->ParseArgs(Argv, MissingArgIndex, MissingArgCount, in CreateFromArgs()
450 int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1as_main() argument
471 if (!AssemblerInvocation::CreateFromArgs(Asm, Argv, Diags)) in cc1as_main()
Ddriver.cpp199 extern int cc1_main(ArrayRef<const char *> Argv, const char *Argv0,
201 extern int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0,
/external/clang/unittests/libclang/
DLibclangTest.cpp487 const char *Argv[] = {Clang.c_str(), "-target", "arm-linux-gnueabi", in TEST_F() local
491 clang_parseTranslationUnit2FullArgv(Index, Filename.c_str(), Argv, in TEST_F()
492 sizeof(Argv) / sizeof(Argv[0]), in TEST_F()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp62 cl::list<std::string> Argv(cl::ConsumeAfter, variable
369 for (std::vector<std::string>::iterator i = Argv.begin(), in main()
370 e = Argv.end(); in main()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp468 const char **Argv = new const char*[2]; in executeInput() local
470 Argv[0] = InputFileList[0].c_str(); in executeInput()
471 Argv[1] = nullptr; in executeInput()
472 return Main(1, Argv); in executeInput()
/external/llvm/test/CodeGen/ARM/
Dfast-isel-vaddd.ll14 define i32 @main(i32 %argc, i8** nocapture readnone %Argv, <2 x double> %tmp31) {
/external/clang/include/clang/Tooling/
DCompilationDatabase.h187 const char *const *Argv,
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp67 cl::list<std::string> Argv(cl::ConsumeAfter, variable
331 for (const std::string &Arg : Argv) { in main()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp944 SmallVectorImpl<const char *> &Argv, in ExpandResponseFiles() argument
950 for (unsigned I = 0; I != Argv.size();) { in ExpandResponseFiles()
951 const char *Arg = Argv[I]; in ExpandResponseFiles()
978 Argv.erase(Argv.begin() + I); in ExpandResponseFiles()
979 Argv.insert(Argv.begin() + I, ExpandedArgv.begin(), ExpandedArgv.end()); in ExpandResponseFiles()
/external/llvm/lib/Support/
DCommandLine.cpp901 SmallVectorImpl<const char *> &Argv, in ExpandResponseFiles() argument
907 for (unsigned I = 0; I != Argv.size();) { in ExpandResponseFiles()
908 const char *Arg = Argv[I]; in ExpandResponseFiles()
937 Argv.erase(Argv.begin() + I); in ExpandResponseFiles()
938 Argv.insert(Argv.begin() + I, ExpandedArgv.begin(), ExpandedArgv.end()); in ExpandResponseFiles()
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
D2010-06-14-NEONCoalescer.ll15 define i32 @main(i32 %argc, i8** nocapture %Argv) nounwind {
/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/googletest/googletest/src/
Dgtest-death-test.cc926 char* const* Argv() { in Argv() function in testing::internal::Arguments
1155 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/v8/testing/gtest/src/
Dgtest-death-test.cc925 char* const* Argv() { in Argv() function in testing::internal::Arguments
1154 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc927 char* const* Argv() { in Argv() function in testing::internal::Arguments
1156 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); in AssumeRole()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
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()

12