Home
last modified time | relevance | path

Searched refs:get_many (Results 1 - 23 of 23) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Dmultiple_values.rs23 m.get_many::<String>("option") in option_long()
49 m.get_many::<String>("option") in option_short()
78 m.get_many::<String>("option") in option_mixed()
105 m.get_many::<String>("option") in option_exact_exact()
129 m.get_many::<String>("option") in option_exact_exact_not_mult()
156 m.get_many::<String>("option") in option_exact_exact_mult()
215 m.get_many::<String>("option") in option_min_exact()
258 m.get_many::<String>("option") in option_short_min_more_mult_occurs()
285 m.get_many::<String>("option") in option_short_min_more_single_occur()
311 m.get_many in option_max_exact()
[all...]
H A Dapp_settings.rs337 m.get_many::<String>("arg") in stop_delim_values_only_pos_follows()
354 m.get_many::<String>("opt") in dont_delim_values_trailingvararg()
372 m.get_many::<String>("arg") in delim_values_only_pos_follows()
388 m.get_many::<String>("opt") in delim_values_trailingvararg()
409 m.get_many::<String>("arg") in delim_values_only_pos_follows_with_delim()
429 m.get_many::<String>("opt") in delim_values_trailingvararg_with_delim()
607 .get_many::<String>("opt") in assert_trailing_var_args()
724 m.get_many::<String>("ARGS") in missing_positional_no_hyphen()
751 m.get_many::<String>("ARGS") in missing_positional_hyphen()
790 m.get_many in missing_positional_hyphen_far_back()
[all...]
H A Dpositionals.rs113 assert_eq!(m.get_many::<String>("opt").unwrap().count(), 297); // i.e. more than u8 in lots_o_vals()
132 &*m.get_many::<String>("positional") in positional_multiple()
156 &*m.get_many::<String>("positional") in positional_multiple_3()
187 &*m.get_many::<String>("positional") in positional_possible_values()
284 m.get_many::<String>("ARGS") in last_positional()
H A Dopts.rs186 assert_eq!(m.get_many::<String>("o").unwrap().count(), 297); // i.e. more than u8 in lots_o_vals()
333 m.get_many::<String>("o") in require_delims()
360 m.get_many::<String>("o") in leading_hyphen_pass()
393 m.get_many::<String>("o") in leading_hyphen_with_flag_after()
412 m.get_many::<String>("o") in leading_hyphen_with_flag_before()
435 m.get_many::<String>("o") in leading_hyphen_with_only_pos_follows()
H A Dmultiple_occurrences.rs40 assert!(m.get_many::<String>("multi").is_none()); in multiple_occurrences_of_positional()
48 m.get_many::<String>("multi") in multiple_occurrences_of_positional()
61 m.get_many::<String>("multi") in multiple_occurrences_of_positional()
H A Dutf8.rs314 .get_many::<OsString>("") in allow_invalid_utf8_subcommand_args_with_allow_external_subcommands()
343 args.get_many::<String>("").unwrap_or_default().count(); in allow_validated_utf8_external_subcommand_values_of()
354 args.get_many::<OsString>("").unwrap_or_default().count(); in panic_validated_utf8_external_subcommand_values_of_os()
362 args.get_many::<OsString>("").unwrap_or_default().count(); in allow_invalid_utf8_external_subcommand_values_of_os()
371 args.get_many::<String>("").unwrap_or_default().count(); in panic_invalid_utf8_external_subcommand_values_of()
H A Denv.rs180 .get_many::<String>("arg") in opt_user_override()
238 .get_many::<String>("arg") in positionals_user_override()
263 m.get_many::<String>("arg") in multiple_one()
289 m.get_many::<String>("arg") in multiple_three()
314 m.get_many::<String>("arg") in multiple_no_delimiter()
H A Ddefault_missing_vals.rs159 m.get_many::<String>("o") in default_missing_value_per_occurrence()
244 m.get_many::<String>("flag") in delimited_missing_value()
253 m.get_many::<String>("flag") in delimited_missing_value()
H A Dtests.rs107 if let Some(ov) = matches.get_many::<String>("option") { in check_complex_output()
188 if let Some(ov) = matches.get_many::<String>("option") { in check_complex_output()
218 if let Some(ov) = matches.get_many::<String>("option") { in check_complex_output()
H A Dpossible_values.rs71 m.get_many::<String>("positional") in possible_values_of_positional_multiple()
151 m.get_many::<String>("option") in possible_values_of_option_multiple()
451 .get_many::<String>("option") in ignore_case_multiple()
H A Ddefault_vals.rs693 m.get_many::<String>("files").unwrap().collect::<Vec<_>>(), in multiple_defaults()
712 m.get_many::<String>("files").unwrap().collect::<Vec<_>>(), in multiple_defaults_override()
873 .get_many::<String>("option") in with_value_delimiter()
897 .get_many::<String>("option") in missing_with_value_delimiter()
927 m.get_many::<String>("flag") in default_independent_of_trailing()
943 m.get_many::<String>("flag") in default_independent_of_trailing()
H A Ddelimiters.rs121 m.get_many::<String>("option") in opt_eq_mult_def_delim()
H A Dgroups.rs232 &*m.get_many::<Id>("req") in required_group_multiple_args()
H A Daction.rs68 .get_many::<String>("mammal") in append()
H A Dsubcommands.rs315 .get_many::<String>("slop") in issue_1161_multiple_hyphen_hyphen()
H A Dposix_compatible.rs332 m.get_many::<String>("name") in incremental_override()
/third_party/rust/crates/clap/examples/
H A Dpacman.rs76 .get_many::<String>("search") in main()
86 .get_many::<String>("package") in main()
99 if let Some(packages) = query_matches.get_many::<String>("info") { in main()
102 } else if let Some(queries) = query_matches.get_many::<String>("search") { in main()
H A Dgit.rs99 .get_many::<PathBuf>("PATH") in main()
127 .get_many::<OsString>("") in main()
H A Descaped-positional.rs26 .get_many::<String>("slop") in main()
/third_party/rust/crates/cxx/gen/cmd/src/
H A Dapp.rs77 .get_many::<String>(INCLUDE)
95 for path in matches.get_many::<PathBuf>(OUTPUT).unwrap_or_default() {
107 for arg in matches.get_many::<String>(CFG).unwrap_or_default() {
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D03_03_positional_mult.rs9 .get_many::<String>("name") in main()
/third_party/rust/crates/clap/src/parser/matches/
H A Darg_matches.rs213 /// let vals: Vec<usize> = m.get_many("ports")
220 pub fn get_many<T: Any + Clone + Send + Sync + 'static>( in get_many() functions
916 /// let ext_args: Vec<&OsStr> = sub_m.get_many::<OsString>("")
1098 /// Non-panicking version of [`ArgMatches::get_many`]
1450 /// Iterate over multiple values for an argument via [`ArgMatches::get_many`].
1462 /// let mut values = m.get_many::<String>("output")
1935 .get_many::<String>("POTATO") in unwrap_downcast_ref()
1953 .get_many::<std::ffi::OsString>("POTATO") in unwrap_downcast_ref()
/third_party/rust/crates/clap/clap_derive/src/derives/
H A Dargs.rs648 let get_many = quote_spanned!(span=> remove_many::<#convert_type>); in gen_parsers()
681 Some(#arg_matches.#get_many(#id) in gen_parsers()
691 #arg_matches.#get_many(#id) in gen_parsers()

Completed in 14 milliseconds