/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 115 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands; 127 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption() 156 void addOption(Option *O, SubCommand *SC) { in addOption() 207 void removeOption(Option *O, SubCommand *SC) { in removeOption() 213 SubCommand &Sub = *SC; in removeOption() 250 bool hasOptions(const SubCommand &Sub) const { in hasOptions() 263 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand() 265 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr() 266 SubCommand &Sub = *SC; in updateArgStr() 296 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/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/argh_derive/src/ |
D | lib.rs | 169 FieldKind::SubCommand => { in new() 192 FieldKind::SubCommand | FieldKind::Positional => None, in new() 319 FieldKind::SubCommand | FieldKind::Positional => None, in impl_from_args_struct_from_args() 326 fields.iter().filter(|field| field.kind == FieldKind::SubCommand).fuse(); in impl_from_args_struct_from_args() 433 FieldKind::SubCommand | FieldKind::Positional => None, in impl_from_args_struct_redact_arg_values() 440 fields.iter().filter(|field| field.kind == FieldKind::SubCommand).fuse(); in impl_from_args_struct_redact_arg_values() 608 impl #impl_generics argh::SubCommand for #name #ty_generics #where_clause { in top_or_sub_cmd_impl() 657 FieldKind::SubCommand => { in declare_local_storage_for_from_args_fields() 688 FieldKind::SubCommand => match field.optionality { in unwrap_from_args_fields() 753 FieldKind::SubCommand => { in declare_local_storage_for_redacted_fields() [all …]
|
D | parse_attrs.rs | 36 SubCommand, enumerator 113 FieldKind::SubCommand, in parse() 145 FieldKind::SubCommand | FieldKind::Switch => errors.err( in parse()
|
D | help.rs | 188 FieldKind::SubCommand | FieldKind::Positional => unreachable!(), // don't have long_name in option_usage()
|
/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/crosvm/src/crosvm/sys/windows/ |
D | cmdline.rs | 8 use argh::SubCommand; 65 impl SubCommand for RunMPCommand {
|
/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/rust/crates/clap/3.2.23/src/ |
D | lib.rs | 203 pub struct SubCommand {} struct 206 impl SubCommand { implementation
|
/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/rust/crates/clap/src/parser/matches/ |
D | mod.rs | 15 pub(crate) use arg_matches::SubCommand;
|
D | arg_matches.rs | 72 pub(crate) subcommand: Option<Box<SubCommand>>, 1317 fn get_subcommand(&self, name: &str) -> Option<&SubCommand> { in get_subcommand() argument 1337 pub(crate) struct SubCommand { struct
|
/external/rust/crates/clap/3.2.23/src/parser/matches/ |
D | mod.rs | 13 pub(crate) use arg_matches::SubCommand;
|
D | arg_matches.rs | 76 pub(crate) subcommand: Option<Box<SubCommand>>, 1434 fn get_subcommand(&self, id: &Id) -> Option<&SubCommand> { in get_subcommand() argument 1462 pub(crate) struct SubCommand { struct
|
/external/rust/crates/clap/src/parser/ |
D | mod.rs | 15 pub(crate) use self::matches::{MatchedArg, SubCommand};
|
D | arg_matcher.rs | 11 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource}; 124 pub(crate) fn subcommand(&mut self, sc: SubCommand) { in subcommand() argument
|
D | parser.rs | 19 use crate::parser::{ArgMatcher, SubCommand}; 450 matcher.subcommand(SubCommand { in get_matches_with() 715 matcher.subcommand(SubCommand { in parse_subcommand()
|
/external/rust/crates/clap/3.2.23/src/parser/ |
D | mod.rs | 15 pub(crate) use self::matches::{MatchedArg, SubCommand};
|
D | arg_matcher.rs | 12 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource}; 127 pub(crate) fn subcommand(&mut self, sc: SubCommand) { in subcommand() argument
|
/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/argh/src/ |
D | lib.rs | 601 pub trait SubCommand: FromArgs { interface 606 impl<T: SubCommand> SubCommands for T {
|
/external/crosvm/src/sys/windows/ |
D | main.rs | 13 use argh::SubCommand;
|
/external/rust/crates/argh/tests/ |
D | lib.rs | 1635 Cmd(SubCommand), in subcommand_does_not_panic() 1641 struct SubCommand { in subcommand_does_not_panic() struct 1680 SubCommand::redact_arg_values(&[], &["5"]).unwrap_err(), in subcommand_does_not_panic()
|