Searched refs:ArgMatches (Results 1 – 12 of 12) sorted by relevance
/external/rust/crates/clap/src/args/ |
D | arg_matches.rs | 61 pub struct ArgMatches<'a> { struct 70 impl<'a> Default for ArgMatches<'a> { argument 72 ArgMatches { in default() 80 impl<'a> ArgMatches<'a> { impl 83 ArgMatches { in new() 630 pub fn subcommand_matches<S: AsRef<str>>(&self, name: S) -> Option<&ArgMatches<'a>> { in subcommand_matches() 748 pub fn subcommand(&self) -> (&str, Option<&ArgMatches<'a>>) { in subcommand() 968 let matches = ArgMatches::new(); in test_default_values_with_shorter_lifetime() 981 let matches = ArgMatches::new(); in test_default_osvalues_with_shorter_lifetime() 994 let matches = ArgMatches::new(); in test_default_indices_with_shorter_lifetime()
|
D | arg_matcher.rs | 11 use args::{ArgMatches, MatchedArg, SubCommand}; 15 pub struct ArgMatcher<'a>(pub ArgMatches<'a>); 19 ArgMatcher(ArgMatches::default()) in default() 140 let mut am = ArgMatcher(mem::replace(&mut sc.matches, ArgMatches::new())); in fill_in_global_values() 265 impl<'a> Into<ArgMatches<'a>> for ArgMatcher<'a> { 266 fn into(self) -> ArgMatches<'a> { in into()
|
D | subcommand.rs | 7 use ArgMatches; 35 pub matches: ArgMatches<'a>,
|
D | mod.rs | 5 pub use self::arg_matches::{ArgMatches, OsValues, Values};
|
/external/rust/crates/structopt/src/ |
D | lib.rs | 1082 fn from_clap(matches: &clap::ArgMatches<'_>) -> Self; in from_clap() 1148 fn from_subcommand<'a, 'b>(_sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> in from_subcommand() 1161 fn from_clap(matches: &clap::ArgMatches<'_>) -> Self { in from_clap() 1173 fn from_subcommand<'a, 'b>(sub: (&'b str, Option<&'b clap::ArgMatches<'a>>)) -> Option<Self> { in from_subcommand()
|
/external/rust/crates/clap/src/ |
D | lib.rs | 561 pub use args::{Arg, ArgGroup, ArgMatches, ArgSettings, OsValues, SubCommand, Values}; 630 fn from_argmatches<'a>(matches: clap::ArgMatches<'a>) -> Self; in from_argmatches() 633 fn try_from_argmatches<'a>(matches: clap::ArgMatches<'a>) -> Result<Self, clap::Error>; in try_from_argmatches()
|
/external/rust/crates/clap/src/app/ |
D | mod.rs | 26 use args::{AnyArg, Arg, ArgGroup, ArgMatcher, ArgMatches, ArgSettings}; 1459 pub fn get_matches(self) -> ArgMatches<'a> { in get_matches() 1488 pub fn get_matches_safe(self) -> ClapResult<ArgMatches<'a>> { in get_matches_safe() 1514 pub fn get_matches_from<I, T>(mut self, itr: I) -> ArgMatches<'a> in get_matches_from() 1571 pub fn get_matches_from_safe<I, T>(mut self, itr: I) -> ClapResult<ArgMatches<'a>> in get_matches_from_safe() 1600 pub fn get_matches_from_safe_borrow<I, T>(&mut self, itr: I) -> ClapResult<ArgMatches<'a>> in get_matches_from_safe_borrow()
|
/external/rust/crates/structopt-derive/src/ |
D | lib.rs | 396 fn from_clap(matches: &::structopt::clap::ArgMatches) -> Self { in gen_from_clap() 564 fn from_clap(matches: &::structopt::clap::ArgMatches) -> Self { in gen_from_clap_enum() 725 sub: (&'b str, Option<&'b ::structopt::clap::ArgMatches<'a>>) in gen_from_subcommand() 876 fn from_clap(_matches: &::structopt::clap::ArgMatches) -> Self { in impl_structopt()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4446 BoundNodesTreeBuilder ArgMatches(*Builder); in AST_POLYMORPHIC_MATCHER_P2() 4448 Finder, &ArgMatches)) { in AST_POLYMORPHIC_MATCHER_P2() 4449 BoundNodesTreeBuilder ParamMatches(ArgMatches); in AST_POLYMORPHIC_MATCHER_P2() 4532 BoundNodesTreeBuilder ArgMatches(*Builder); in AST_POLYMORPHIC_MATCHER_P2() 4534 &ArgMatches)) { in AST_POLYMORPHIC_MATCHER_P2() 4535 BoundNodesTreeBuilder ParamMatches(ArgMatches); in AST_POLYMORPHIC_MATCHER_P2()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3216 BoundNodesTreeBuilder ArgMatches(*Builder); in AST_POLYMORPHIC_MATCHER_P2() 3218 Finder, &ArgMatches)) { in AST_POLYMORPHIC_MATCHER_P2() 3219 BoundNodesTreeBuilder ParamMatches(ArgMatches); in AST_POLYMORPHIC_MATCHER_P2()
|
/external/rust/crates/clap/ |
D | README.md | 501 * `ArgMatches<'a, 'b>` => `ArgMatches<'a>` 533 * `ArgMatches::values_of` returns an `Values` now which implements `Iterator` (should not break any…
|
D | CHANGELOG.md | 1649 * `ArgMatches<'a, 'b>` => `ArgMatches<'a>` 1681 * `ArgMatches::values_of` returns an `Values` now which implements `Iterator` (should not break any… 2712 * **ArgMatches** add method to get default usage string ([02462150](https://github.com/kbknapp/cla…
|