Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp115 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/
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/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/argh_derive/src/
Dlib.rs169 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 …]
Dparse_attrs.rs36 SubCommand, enumerator
113 FieldKind::SubCommand, in parse()
145 FieldKind::SubCommand | FieldKind::Switch => errors.err( in parse()
Dhelp.rs188 FieldKind::SubCommand | FieldKind::Positional => unreachable!(), // don't have long_name in option_usage()
/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/crosvm/src/crosvm/sys/windows/
Dcmdline.rs8 use argh::SubCommand;
65 impl SubCommand for RunMPCommand {
/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/rust/crates/clap/3.2.23/src/
Dlib.rs203 pub struct SubCommand {} struct
206 impl SubCommand { implementation
/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/rust/crates/clap/src/parser/matches/
Dmod.rs15 pub(crate) use arg_matches::SubCommand;
Darg_matches.rs72 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/
Dmod.rs13 pub(crate) use arg_matches::SubCommand;
Darg_matches.rs76 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/
Dmod.rs15 pub(crate) use self::matches::{MatchedArg, SubCommand};
Darg_matcher.rs11 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource};
124 pub(crate) fn subcommand(&mut self, sc: SubCommand) { in subcommand() argument
Dparser.rs19 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/
Dmod.rs15 pub(crate) use self::matches::{MatchedArg, SubCommand};
Darg_matcher.rs12 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource};
127 pub(crate) fn subcommand(&mut self, sc: SubCommand) { in subcommand() argument
/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/argh/src/
Dlib.rs601 pub trait SubCommand: FromArgs { interface
606 impl<T: SubCommand> SubCommands for T {
/external/crosvm/src/sys/windows/
Dmain.rs13 use argh::SubCommand;
/external/rust/crates/argh/tests/
Dlib.rs1635 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()

12