Home
last modified time | relevance | path

Searched refs:values_of (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/bindgen/src/
Doptions.rs540 if let Some(bitfields) = matches.values_of("bitfield-enum") { in builder_from_flags()
546 if let Some(newtypes) = matches.values_of("newtype-enum") { in builder_from_flags()
552 if let Some(rustifieds) = matches.values_of("rustified-enum") { in builder_from_flags()
558 if let Some(const_enums) = matches.values_of("constified-enum") { in builder_from_flags()
564 if let Some(constified_mods) = matches.values_of("constified-enum-module") { in builder_from_flags()
580 if let Some(type_alias) = matches.values_of("normal-alias") { in builder_from_flags()
586 if let Some(new_type) = matches.values_of("new-type-alias") { in builder_from_flags()
592 if let Some(new_type_deref) = matches.values_of("new-type-alias-deref") { in builder_from_flags()
598 if let Some(hidden_types) = matches.values_of("blocklist-type") { in builder_from_flags()
604 if let Some(hidden_functions) = matches.values_of("blocklist-function") { in builder_from_flags()
[all …]
/external/rust/crates/structopt-derive/src/
Dlib.rs301 let (value_of, values_of, parse) = match *parser.kind { in gen_constructor()
304 quote_spanned!(span=> values_of), in gen_constructor()
309 quote_spanned!(span=> values_of), in gen_constructor()
351 Some(#matches.#values_of(#name) in gen_constructor()
359 #matches.#values_of(#name) in gen_constructor()
615 let (span, str_ty, values_of) = match subty_if_name(ty, "Vec") { in gen_from_subcommand()
621 quote!(values_of), in gen_from_subcommand()
639 ext_subcmd = Some((span, variant_name, str_ty, values_of)); in gen_from_subcommand()
654 Some((span, var_name, str_ty, values_of)) => quote_spanned! { span=> in gen_from_subcommand()
662 #matches.#values_of("").into_iter().flatten().map(#str_ty::from) in gen_from_subcommand()
/external/rust/crates/clap/src/
Dmacros.rs159 values_t!($m.values_of($v), $t)
161 ($m:ident.values_of($v:expr), $t:ty) => {
162 if let Some(vals) = $m.values_of($v) {
222 values_t_or_exit!($m.values_of($v), $t)
224 ($m:ident.values_of($v:expr), $t:ty) => {
225 if let Some(vals) = $m.values_of($v) {
/external/rust/crates/clap/src/args/
Darg_matches.rs214 pub fn values_of<S: AsRef<str>>(&'a self, name: S) -> Option<Values<'a>> { in values_of() method
969 let mut values = matches.values_of("").unwrap_or_default(); in test_default_values_with_shorter_lifetime()
/external/rust/cxx/gen/cmd/src/
Dapp.rs66 .values_of(INCLUDE) in from_args()
/external/rust/crates/clap/
DREADME.md533 * `ArgMatches::values_of` returns an `Values` now which implements `Iterator` (should not break any…
DCHANGELOG.md1681 * `ArgMatches::values_of` returns an `Values` now which implements `Iterator` (should not break any…