Home
last modified time | relevance | path

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

/external/rust/crates/criterion/src/
Dlib.rs856 if let Some(color) = matches.value_of("color") { in configure_from_args()
867 if let Some(backend) = matches.value_of("plotting-backend") { in configure_from_args()
870 if let Some(format) = matches.value_of("output-format") { in configure_from_args()
878 .value_of("save-baseline") in configure_from_args()
901 let num_seconds = value_t!(matches.value_of("profile-time"), u64).unwrap_or_else(|e| { in configure_from_args()
921 if let Some(filter) = matches.value_of("FILTER") { in configure_from_args()
925 match matches.value_of("plotting-backend") { in configure_from_args()
939 if let Some(dir) = matches.value_of("save-baseline") { in configure_from_args()
943 if let Some(dir) = matches.value_of("baseline") { in configure_from_args()
955 match matches.value_of("output-format") { in configure_from_args()
[all …]
/external/rust/crates/bindgen/src/
Doptions.rs517 if let Some(header) = matches.value_of("header") { in builder_from_flags()
532 if let Some(rust_target) = matches.value_of("rust-target") { in builder_from_flags()
536 if let Some(variant) = matches.value_of("default-enum-style") { in builder_from_flags()
570 if let Some(variant) = matches.value_of("default-macro-constant-type") { in builder_from_flags()
575 if let Some(variant) = matches.value_of("default-alias-style") { in builder_from_flags()
688 if let Some(wasm_import_name) = matches.value_of("wasm-import-module-name") in builder_from_flags()
693 if let Some(prefix) = matches.value_of("ctypes-prefix") { in builder_from_flags()
697 if let Some(prefix) = matches.value_of("anon-fields-prefix") { in builder_from_flags()
701 if let Some(what_to_generate) = matches.value_of("generate") { in builder_from_flags()
730 if let Some(path) = matches.value_of("emit-ir-graphviz") { 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()
303 quote_spanned!(span=> value_of), in gen_constructor()
308 quote_spanned!(span=> value_of), in gen_constructor()
337 #matches.#value_of(#name) in gen_constructor()
343 Some(#matches.#value_of(#name).map(#parse)) in gen_constructor()
364 #parse(#matches.#value_of(#name)) in gen_constructor()
372 #matches.#value_of(#name) in gen_constructor()
/external/rust/crates/clap/src/
Dmacros.rs63 value_t!($m.value_of($v), $t)
65 ($m:ident.value_of($v:expr), $t:ty) => {
66 if let Some(v) = $m.value_of($v) {
109 value_t_or_exit!($m.value_of($v), $t)
111 ($m:ident.value_of($v:expr), $t:ty) => {
112 if let Some(v) = $m.value_of($v) {
/external/rust/cxx/gen/cmd/src/
Dapp.rs63 let cxx_impl_annotations = matches.value_of(CXX_IMPL_ANNOTATIONS).map(str::to_owned); in from_args()
/external/rust/crates/clap/src/args/
Darg_matches.rs115 pub fn value_of<S: AsRef<str>>(&self, name: S) -> Option<&str> { in value_of() method
/external/rust/crates/clap/
DREADME.md181 let config = matches.value_of("config").unwrap_or("default.conf");
186 println!("Using input file: {}", matches.value_of("INPUT").unwrap());