Searched refs:possible_values (Results 1 – 13 of 13) sorted by relevance
/external/rust/crates/clap/ |
D | clap-test.rs | 71 … Arg::from_usage("-O --Option [option3] 'specific vals'").possible_values(&opt3_vals), in complex_app() 72 … Arg::from_usage("[positional3]... 'tests specific values'").possible_values(&pos3_vals), in complex_app()
|
D | CHANGELOG.md | 160 …ame, all bash completions fall back to file completions UNLESS `Arg::possible_values` was used ([8… 264 * Adds Arg::case_insensitive(bool) which allows matching Arg::possible_values without worrying ab…
|
/external/libchrome/components/policy/core/common/ |
D | schema.cc | 446 const base::ListValue* possible_values = nullptr; in DetermineStorageSizes() local 447 if (schema.GetList(schema::kEnum, &possible_values)) { in DetermineStorageSizes() 449 sizes->int_enums += possible_values->GetSize(); in DetermineStorageSizes() 451 sizes->string_enums += possible_values->GetSize(); in DetermineStorageSizes() 452 sizes->strings += possible_values->GetSize(); in DetermineStorageSizes() 652 const base::ListValue* possible_values = nullptr; in ParseEnum() local 653 if (!schema.GetList(schema::kEnum, &possible_values)) { in ParseEnum() 657 if (possible_values->empty()) { in ParseEnum() 666 for (base::ListValue::const_iterator it = possible_values->begin(); in ParseEnum() 667 it != possible_values->end(); ++it) { in ParseEnum() [all …]
|
/external/rust/crates/structopt/tests/ |
D | we_need_syn_full.rs | 15 possible_values = &["always", "auto", "never"] in we_need_syn_full()
|
/external/rust/crates/structopt/examples/ |
D | enum_in_args.rs | 18 #[structopt(possible_values = &Baz::variants(), case_insensitive = true)]
|
/external/rust/crates/clap/src/ |
D | suggestions.rs | 15 pub fn did_you_mean<'a, T: ?Sized, I>(v: &str, possible_values: I) -> Option<&'a str> in did_you_mean() 21 for pv in possible_values { in did_you_mean()
|
/external/rust/crates/codespan-reporting/examples/ |
D | reusable_diagnostic.rs | 14 possible_values = ColorArg::VARIANTS,
|
D | term.rs | 22 possible_values = ColorArg::VARIANTS,
|
D | readme_preview.rs | 29 possible_values = ColorArg::VARIANTS,
|
/external/rust/crates/clap/src/completions/ |
D | zsh.rs | 376 possible_values = pv, 389 possible_values = pv,
|
/external/rust/crates/bindgen/src/ |
D | options.rs | 38 .possible_values(&[ in builder_from_flags() 96 .possible_values(&["signed", "unsigned"]) in builder_from_flags() 103 .possible_values(&[ in builder_from_flags()
|
/external/rust/crates/criterion/src/ |
D | lib.rs | 748 .possible_values(&["auto", "always", "never"]) in configure_from_args() 824 .possible_values(&["gnuplot", "plotters"]) in configure_from_args() 829 .possible_values(&["criterion", "bencher"]) in configure_from_args()
|
/external/rust/crates/clap/src/args/ |
D | arg.rs | 2404 pub fn possible_values(mut self, names: &[&'b str]) -> Self { in possible_values() method
|