Home
last modified time | relevance | path

Searched refs:SubCommand (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm-project/llvm/tools/llvm-xray/
Dxray-registry.cpp22 ManagedStatic<std::unordered_map<cl::SubCommand *, HandlerType>> Commands;
24 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration()
32 HandlerType dispatch(cl::SubCommand *SC) { in dispatch()
Dxray-registry.h31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
35 std::function<Error()> dispatch(cl::SubCommand *SC);
Dxray-extract.cpp32 static cl::SubCommand Extract("extract", "Extract instrumentation maps");
Dxray-fdr-dump.cpp28 static cl::SubCommand Dump("fdr-dump", "FDR Trace Dump");
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp116 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
128 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
157 void addOption(Option *O, SubCommand *SC) { in addOption()
208 void removeOption(Option *O, SubCommand *SC) { in removeOption()
214 SubCommand &Sub = *SC; in removeOption()
251 bool hasOptions(const SubCommand &Sub) const { in hasOptions()
264 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand()
266 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
267 SubCommand &Sub = *SC; in updateArgStr()
297 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
[all …]
/external/llvm/lib/Support/
DCommandLine.cpp102 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
114 void addLiteralOption(Option &Opt, SubCommand *SC, const char *Name) { in addLiteralOption()
143 void addOption(Option *O, SubCommand *SC) { in addOption()
194 void removeOption(Option *O, SubCommand *SC) { in removeOption()
200 SubCommand &Sub = *SC; in removeOption()
237 bool hasOptions(const SubCommand &Sub) const { in hasOptions()
250 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand()
252 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
253 SubCommand &Sub = *SC; in updateArgStr()
283 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
[all …]
/external/llvm-project/llvm/lib/Support/
DCommandLine.cpp165 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
207 void addOption(Option *O, SubCommand *SC) { in addOption()
268 void removeOption(Option *O, SubCommand *SC) { in removeOption()
274 SubCommand &Sub = *SC; in removeOption()
315 bool hasOptions(const SubCommand &Sub) const { in hasOptions()
328 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand()
330 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
331 SubCommand &Sub = *SC; in updateArgStr()
366 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCommandLine.cpp165 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
207 void addOption(Option *O, SubCommand *SC) { in addOption()
268 void removeOption(Option *O, SubCommand *SC) { in removeOption()
274 SubCommand &Sub = *SC; in removeOption()
315 bool hasOptions(const SubCommand &Sub) const { in hasOptions()
328 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand()
330 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
331 SubCommand &Sub = *SC; in updateArgStr()
366 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
[all …]
/external/rust/crates/structopt/tests/
Dprivacy.rs17 pub subcommand: super::subcommands::SubCommand,
25 pub enum SubCommand { enum
Dissues.rs83 _cmd: Option<SubCommand>, in issue_324()
87 enum SubCommand { in issue_324() enum
Ddoc-comments-help.rs95 foo: SubCommand, in top_long_doc_comment_both_help_long_help()
99 pub enum SubCommand { in top_long_doc_comment_both_help_long_help() enum
/external/rust/crates/structopt/examples/
Ddoc_comments.rs52 sub_command: SubCommand,
57 enum SubCommand { enum
/external/rust/crates/clap/src/args/
Dsubcommand.rs31 pub struct SubCommand<'a> { struct
38 impl<'a> SubCommand<'a> { impl
Dmod.rs9 pub use self::subcommand::SubCommand;
Darg_matcher.rs11 use args::{ArgMatches, MatchedArg, SubCommand};
192 pub fn subcommand(&mut self, sc: SubCommand<'a>) { in subcommand()
Darg_matches.rs10 use args::SubCommand;
65 pub subcommand: Option<Box<SubCommand<'a>>>,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCommandLine.h186 class SubCommand {
196 SubCommand(StringRef Name, StringRef Description = "")
200 SubCommand() = default;
217 extern ManagedStatic<SubCommand> TopLevelSubCommand;
220 extern ManagedStatic<SubCommand> AllSubCommands;
260 SmallPtrSet<SubCommand *, 4> Subs; // The subcommands this option belongs to.
293 return any_of(Subs, [](const SubCommand *SC) { in isInAllSubCommands()
311 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
427 SubCommand &Sub;
429 sub(SubCommand &S) : Sub(S) {} in sub()
[all …]
/external/llvm-project/clang/tools/clang-refactor/
DClangRefactor.cpp223 cl::OptionCategory &Category, cl::SubCommand &Subcommand, in CommandLineRefactoringOptionCreator()
248 cl::SubCommand &Subcommand;
253 class RefactoringActionSubcommand : public cl::SubCommand {
258 : SubCommand(Action->getCommand(), Action->getDescription()), in RefactoringActionSubcommand()
582 [](const std::unique_ptr<RefactoringActionSubcommand> &SubCommand) { in getSelectedSubcommand() argument
583 return !!(*SubCommand); in getSelectedSubcommand()
/external/rust/crates/clap/
Dclap-test.rs8 use clap::{App, Arg, SubCommand, ArgGroup};
78 .subcommand(SubCommand::with_name("subcmd") in complex_app()
/external/llvm/include/llvm/Support/
DCommandLine.h179 class SubCommand {
189 SubCommand(const char *const Name, const char *const Description = nullptr)
193 SubCommand() {} in SubCommand() function
210 extern ManagedStatic<SubCommand> TopLevelSubCommand;
213 extern ManagedStatic<SubCommand> AllSubCommands;
254 SmallPtrSet<SubCommand *, 4> Subs; // The subcommands this option belongs to.
281 return std::any_of(Subs.begin(), Subs.end(), [](const SubCommand *SC) { in isInAllSubCommands()
299 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
409 SubCommand &Sub;
410 sub(SubCommand &S) : Sub(S) {} in sub()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCommandLine.h215 class SubCommand {
225 SubCommand(StringRef Name, StringRef Description = "")
229 SubCommand() = default;
246 extern ManagedStatic<SubCommand> TopLevelSubCommand;
249 extern ManagedStatic<SubCommand> AllSubCommands;
291 SmallPtrSet<SubCommand *, 1> Subs; // The subcommands this option belongs to.
324 return any_of(Subs, [](const SubCommand *SC) { in isInAllSubCommands()
342 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
467 SubCommand &Sub;
469 sub(SubCommand &S) : Sub(S) {} in sub()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DCommandLine.h207 class SubCommand {
217 SubCommand(StringRef Name, StringRef Description = "")
221 SubCommand() = default;
238 extern ManagedStatic<SubCommand> TopLevelSubCommand;
241 extern ManagedStatic<SubCommand> AllSubCommands;
283 SmallPtrSet<SubCommand *, 1> Subs; // The subcommands this option belongs to.
316 return any_of(Subs, [](const SubCommand *SC) { in isInAllSubCommands()
334 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
459 SubCommand &Sub;
461 sub(SubCommand &S) : Sub(S) {} in sub()
[all …]
/external/llvm/unittests/Support/
DCommandLineTest.cpp77 class StackSubCommand : public cl::SubCommand {
81 : SubCommand(Name, Description) {} in StackSubCommand()
83 StackSubCommand() : SubCommand() {} in StackSubCommand()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp93 cl::SubCommand RawSubcommand("raw", "Dump raw structure of the PDB file");
94 cl::SubCommand
97 cl::SubCommand
100 cl::SubCommand
/external/rust/crates/clap/src/
Dlib.rs561 pub use args::{Arg, ArgGroup, ArgMatches, ArgSettings, OsValues, SubCommand, Values};

12