/external/llvm-project/llvm/tools/llvm-xray/ |
D | xray-registry.cpp | 22 ManagedStatic<std::unordered_map<cl::SubCommand *, HandlerType>> Commands; 24 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration() 32 HandlerType dispatch(cl::SubCommand *SC) { in dispatch()
|
D | xray-registry.h | 31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command); 35 std::function<Error()> dispatch(cl::SubCommand *SC);
|
D | xray-extract.cpp | 32 static cl::SubCommand Extract("extract", "Extract instrumentation maps");
|
D | xray-fdr-dump.cpp | 28 static cl::SubCommand Dump("fdr-dump", "FDR Trace Dump");
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 116 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/ |
D | CommandLine.cpp | 102 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/ |
D | CommandLine.cpp | 165 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/ |
D | CommandLine.cpp | 165 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/ |
D | privacy.rs | 17 pub subcommand: super::subcommands::SubCommand, 25 pub enum SubCommand { enum
|
D | issues.rs | 83 _cmd: Option<SubCommand>, in issue_324() 87 enum SubCommand { in issue_324() enum
|
D | doc-comments-help.rs | 95 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/ |
D | doc_comments.rs | 52 sub_command: SubCommand, 57 enum SubCommand { enum
|
/external/rust/crates/clap/src/args/ |
D | subcommand.rs | 31 pub struct SubCommand<'a> { struct 38 impl<'a> SubCommand<'a> { impl
|
D | mod.rs | 9 pub use self::subcommand::SubCommand;
|
D | arg_matcher.rs | 11 use args::{ArgMatches, MatchedArg, SubCommand}; 192 pub fn subcommand(&mut self, sc: SubCommand<'a>) { in subcommand()
|
D | arg_matches.rs | 10 use args::SubCommand; 65 pub subcommand: Option<Box<SubCommand<'a>>>,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CommandLine.h | 186 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 ⋐ 429 sub(SubCommand &S) : Sub(S) {} in sub() [all …]
|
/external/llvm-project/clang/tools/clang-refactor/ |
D | ClangRefactor.cpp | 223 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/ |
D | clap-test.rs | 8 use clap::{App, Arg, SubCommand, ArgGroup}; 78 .subcommand(SubCommand::with_name("subcmd") in complex_app()
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 179 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 ⋐ 410 sub(SubCommand &S) : Sub(S) {} in sub() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CommandLine.h | 215 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 ⋐ 469 sub(SubCommand &S) : Sub(S) {} in sub() [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | CommandLine.h | 207 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 ⋐ 461 sub(SubCommand &S) : Sub(S) {} in sub() [all …]
|
/external/llvm/unittests/Support/ |
D | CommandLineTest.cpp | 77 class StackSubCommand : public cl::SubCommand { 81 : SubCommand(Name, Description) {} in StackSubCommand() 83 StackSubCommand() : SubCommand() {} in StackSubCommand()
|
/external/llvm/tools/llvm-pdbdump/ |
D | llvm-pdbdump.cpp | 93 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/ |
D | lib.rs | 561 pub use args::{Arg, ArgGroup, ArgMatches, ArgSettings, OsValues, SubCommand, Values};
|