Home
last modified time | relevance | path

Searched refs:Argc (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp483 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/
DInitLLVM.h36 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/
DInitLLVM.h36 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/
DFlagsTest.cpp11 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/
DInitLLVM.cpp24 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/
DInitLLVM.cpp24 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/
DCompilationDatabaseTest.cpp568 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/
Dllvm-rc.cpp82 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/
DCompilationDatabase.cpp323 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/
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()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/
Dmax_allocation_size.cpp82 int main(int Argc, char **Argv) { in main() argument
83 assert(Argc == 2); in main()
/external/llvm-project/llvm/tools/llvm-mt/
Dllvm-mt.cpp83 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/
DFuzzerUtilFuchsia.cpp430 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/
DFuzzerUtilFuchsia.cpp430 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/
Devent_callbacks.c78 int main(int Argc, char *Argv[]) { in main() argument
79 assert(Argc == 2); in main()
/external/llvm-project/llvm/tools/llvm-cvtres/
Dllvm-cvtres.cpp99 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/
DLLJITWithThinLTOSummaries.cpp175 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/
Dllvm-libtool-darwin.cpp512 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/
Dllvm-ml.cpp166 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/
DCompilationDatabase.h186 static FixedCompilationDatabase *loadFromCommandLine(int &Argc,
/external/llvm-project/llvm/include/llvm/Option/
DOptTable.h236 InputArgList parseArgs(int Argc, char *const *Argv, OptSpecifier Unknown,
/external/llvm-project/clang/include/clang/Tooling/
DCompilationDatabase.h184 int &Argc, const char *const *Argv, std::string &ErrorMsg,
/external/llvm-project/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp202 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/
Dllvm-exegesis.cpp450 int main(int Argc, char **Argv) { in main() argument
452 cl::ParseCommandLineOptions(Argc, Argv, ""); in main()
/external/llvm-project/clang-tools-extra/modularize/
DModularize.cpp810 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()

12