/external/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 483 int Argc = 0; in TEST() local 485 FixedCompilationDatabase::loadFromCommandLine(Argc, nullptr)); in TEST() 487 EXPECT_EQ(0, Argc); in TEST() 491 int Argc = 2; in TEST() local 494 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST() 496 EXPECT_EQ(2, Argc); in TEST() 500 int Argc = 5; in TEST() local 505 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST() 517 EXPECT_EQ(2, Argc); in TEST() 521 int Argc = 3; in TEST() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | InitLLVM.h | 36 InitLLVM(int &Argc, const char **&Argv, 38 InitLLVM(int &Argc, char **&Argv, bool InstallPipeSignalExitHandler = true) 39 : InitLLVM(Argc, const_cast<const char **&>(Argv), in InitLLVM() argument
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | InitLLVM.h | 36 InitLLVM(int &Argc, const char **&Argv, 38 InitLLVM(int &Argc, char **&Argv, bool InstallPipeSignalExitHandler = true) 39 : InitLLVM(Argc, const_cast<const char **&>(Argv), in InitLLVM() argument
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | FlagsTest.cpp | 11 extern "C" int LLVMFuzzerInitialize(int *Argc, char ***Argv) { in LLVMFuzzerInitialize() argument 14 while (I < *Argc) { in LLVMFuzzerInitialize() 21 while (I < *Argc) in LLVMFuzzerInitialize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | InitLLVM.cpp | 24 InitLLVM::InitLLVM(int &Argc, const char **&Argv, in InitLLVM() argument 26 : StackPrinter(Argc, Argv) { in InitLLVM() 51 Argc = Args.size() - 1; in InitLLVM()
|
/external/llvm-project/llvm/lib/Support/ |
D | InitLLVM.cpp | 24 InitLLVM::InitLLVM(int &Argc, const char **&Argv, in InitLLVM() argument 26 : StackPrinter(Argc, Argv) { in InitLLVM() 51 Argc = Args.size() - 1; in InitLLVM()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 568 int Argc = 0; in TEST() local 571 FixedCompilationDatabase::loadFromCommandLine(Argc, nullptr, ErrorMsg); in TEST() 574 EXPECT_EQ(0, Argc); in TEST() 578 int Argc = 2; in TEST() local 582 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST() 585 EXPECT_EQ(2, Argc); in TEST() 589 int Argc = 5; in TEST() local 595 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST() 604 EXPECT_EQ(2, Argc); in TEST() 608 int Argc = 3; in TEST() local [all …]
|
/external/llvm-project/llvm/tools/llvm-rc/ |
D | llvm-rc.cpp | 82 int main(int Argc, const char **Argv) { in main() argument 83 InitLLVM X(Argc, Argv); in main() 89 Argv + 1, Argv + Argc, [](StringRef Str) { return Str == "--"; }); in main() 103 if (DashDash != Argv + Argc) in main() 104 InArgsInfo.insert(InArgsInfo.end(), DashDash + 1, Argv + Argc); in main()
|
/external/llvm-project/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 323 FixedCompilationDatabase::loadFromCommandLine(int &Argc, in loadFromCommandLine() argument 328 if (Argc == 0) in loadFromCommandLine() 330 const char *const *DoubleDash = std::find(Argv, Argv + Argc, StringRef("--")); in loadFromCommandLine() 331 if (DoubleDash == Argv + Argc) in loadFromCommandLine() 333 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine() 334 Argc = DoubleDash - Argv; in loadFromCommandLine()
|
/external/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 283 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()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/ |
D | max_allocation_size.cpp | 82 int main(int Argc, char **Argv) { in main() argument 83 assert(Argc == 2); in main()
|
/external/llvm-project/llvm/tools/llvm-mt/ |
D | llvm-mt.cpp | 83 int main(int Argc, const char **Argv) { in main() argument 84 InitLLVM X(Argc, Argv); in main() 88 ArrayRef<const char *> ArgsArr = makeArrayRef(Argv + 1, Argc - 1); in main()
|
/external/llvm-project/compiler-rt/lib/fuzzer/ |
D | FuzzerUtilFuchsia.cpp | 430 size_t Argc = Args.size(); in ExecuteCommand() local 431 assert(Argc != 0); in ExecuteCommand() 432 std::unique_ptr<const char *[]> Argv(new const char *[Argc + 1]); in ExecuteCommand() 433 for (size_t i = 0; i < Argc; ++i) in ExecuteCommand() 435 Argv[Argc] = nullptr; in ExecuteCommand()
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerUtilFuchsia.cpp | 430 size_t Argc = Args.size(); in ExecuteCommand() local 431 assert(Argc != 0); in ExecuteCommand() 432 std::unique_ptr<const char *[]> Argv(new const char *[Argc + 1]); in ExecuteCommand() 433 for (size_t i = 0; i < Argc; ++i) in ExecuteCommand() 435 Argv[Argc] = nullptr; in ExecuteCommand()
|
/external/llvm-project/compiler-rt/test/dfsan/ |
D | event_callbacks.c | 78 int main(int Argc, char *Argv[]) { in main() argument 79 assert(Argc == 2); in main()
|
/external/llvm-project/llvm/tools/llvm-cvtres/ |
D | llvm-cvtres.cpp | 99 int main(int Argc, const char **Argv) { in main() argument 100 InitLLVM X(Argc, Argv); in main() 104 ArrayRef<const char *> ArgsArr = makeArrayRef(Argv + 1, Argc - 1); in main()
|
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/ |
D | LLJITWithThinLTOSummaries.cpp | 175 int main(int Argc, char *Argv[]) { in main() argument 176 InitLLVM X(Argc, Argv); in main() 181 cl::ParseCommandLineOptions(Argc, Argv, "LLJITWithThinLTOSummaries"); in main()
|
/external/llvm-project/llvm/tools/llvm-libtool-darwin/ |
D | llvm-libtool-darwin.cpp | 512 static Expected<Config> parseCommandLine(int Argc, char **Argv) { in parseCommandLine() argument 514 cl::ParseCommandLineOptions(Argc, Argv, "llvm-libtool-darwin\n"); in parseCommandLine() 563 int main(int Argc, char **Argv) { in main() argument 564 InitLLVM X(Argc, Argv); in main() 566 Expected<Config> ConfigOrErr = parseCommandLine(Argc, Argv); in main()
|
/external/llvm-project/llvm/tools/llvm-ml/ |
D | llvm-ml.cpp | 166 int main(int Argc, char **Argv) { in main() argument 167 InitLLVM X(Argc, Argv); in main() 178 ArrayRef<const char *> ArgsArr = makeArrayRef(Argv + 1, Argc - 1); in main()
|
/external/clang/include/clang/Tooling/ |
D | CompilationDatabase.h | 186 static FixedCompilationDatabase *loadFromCommandLine(int &Argc,
|
/external/llvm-project/llvm/include/llvm/Option/ |
D | OptTable.h | 236 InputArgList parseArgs(int Argc, char *const *Argv, OptSpecifier Unknown,
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | CompilationDatabase.h | 184 int &Argc, const char *const *Argv, std::string &ErrorMsg,
|
/external/llvm-project/llvm/tools/llvm-symbolizer/ |
D | llvm-symbolizer.cpp | 202 static opt::InputArgList parseOptions(int Argc, char *Argv[], bool IsAddr2Line, in parseOptions() argument 213 Tbl.parseArgs(Argc, Argv, OPT_UNKNOWN, Saver, [&](StringRef Msg) { in parseOptions()
|
/external/llvm-project/llvm/tools/llvm-exegesis/ |
D | llvm-exegesis.cpp | 450 int main(int Argc, char **Argv) { in main() argument 452 cl::ParseCommandLineOptions(Argc, Argv, ""); in main()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | Modularize.cpp | 810 int main(int Argc, const char **Argv) { in main() argument 817 for (int ArgIndex = 1; ArgIndex < Argc; ArgIndex++) { in main() 823 cl::ParseCommandLineOptions(Argc, Argv, "modularize.\n"); in main()
|