Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/rust/crates/clap/tests/derive/
Dprivacy.rs21 pub subcommand: super::subcommands::SubCommand,
29 pub enum SubCommand { enum
Dissues.rs66 _cmd: SubCommand, in issue_324()
70 enum SubCommand { in issue_324() enum
Ddoc_comments_help.rs107 foo: SubCommand, in top_long_doc_comment_both_help_long_help()
111 pub enum SubCommand { in top_long_doc_comment_both_help_long_help() enum
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/rust/crates/clap/src/parser/matches/
Dmod.rs15 pub(crate) use arg_matches::SubCommand;
Darg_matches.rs72 pub(crate) subcommand: Option<Box<SubCommand>>,
1325 fn get_subcommand(&self, name: &str) -> Option<&SubCommand> { in get_subcommand() argument
1345 pub(crate) struct SubCommand { struct
/third_party/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()
/third_party/rust/crates/clap/
DCHANGELOG.md2743 * **SubCommand Aliases:** adds feature to yaml configs too ([69592195](https://github.com/clap-rs/…
3043 * `SubCommand::new`
3275 * Builder macro to assist with App/Arg/Group/SubCommand building ([443841b0](https://github.com/c…
3649 * **SubCommand/App** several methods and functions for stable release ([28b73855](https://github.c…