Home
last modified time | relevance | path

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

/external/rust/crates/clap/
Dclap-test.rs71 … 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()
DCHANGELOG.md160 …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/
Dschema.cc446 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/
Dwe_need_syn_full.rs15 possible_values = &["always", "auto", "never"] in we_need_syn_full()
/external/rust/crates/structopt/examples/
Denum_in_args.rs18 #[structopt(possible_values = &Baz::variants(), case_insensitive = true)]
/external/rust/crates/clap/src/
Dsuggestions.rs15 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/
Dreusable_diagnostic.rs14 possible_values = ColorArg::VARIANTS,
Dterm.rs22 possible_values = ColorArg::VARIANTS,
Dreadme_preview.rs29 possible_values = ColorArg::VARIANTS,
/external/rust/crates/clap/src/completions/
Dzsh.rs376 possible_values = pv,
389 possible_values = pv,
/external/rust/crates/bindgen/src/
Doptions.rs38 .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/
Dlib.rs748 .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/
Darg.rs2404 pub fn possible_values(mut self, names: &[&'b str]) -> Self { in possible_values() method