Home
last modified time | relevance | path

Searched refs:val_names (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/clap/src/
Dusage_parser.rs69 arg.v.num_vals = match arg.v.val_names { in parse()
73 debugln!("UsageParser::parse: vals...{:?}", arg.v.val_names); in parse()
102 if let Some(ref mut v) = arg.v.val_names { in name()
108 arg.v.val_names = Some(v); in name()
246 assert!(a.v.val_names.is_none()); in create_flag_usage()
255 assert!(a.v.val_names.is_none()); in create_flag_usage()
264 assert!(b.v.val_names.is_none()); in create_flag_usage()
273 assert!(c.v.val_names.is_none()); in create_flag_usage()
282 assert!(d.v.val_names.is_none()); in create_flag_usage()
291 assert!(e.v.val_names.is_none()); in create_flag_usage()
[all …]
/external/rust/crates/clap/src/args/arg_builder/
Dpositional.rs68 .val_names in multiple_str()
86 if let Some(ref names) = self.v.val_names { in name_no_brackets()
114 if let Some(ref names) = self.v.val_names { in fmt()
128 && (self.v.val_names.is_none() || self.v.val_names.as_ref().unwrap().len() == 1) in fmt()
153 fn val_names(&self) -> Option<&VecMap<&'e str>> { in val_names() method
154 self.v.val_names.as_ref() in val_names()
264 p2.v.val_names = Some(vm); in display_val_names()
276 p2.v.val_names = Some(vm); in display_val_names_req()
Dvalued.rs15 pub val_names: Option<VecMap<&'b str>>, field
35 val_names: None, in default()
49 if let Some(ref vec) = self.val_names { in fill_in()
60 if let Some(ref vec) = a.v.val_names { in from()
Doption.rs76 if let Some(ref vec) = self.v.val_names { in fmt()
132 fn val_names(&self) -> Option<&VecMap<&'e str>> { in val_names() method
133 self.v.val_names.as_ref() in val_names()
250 o2.v.val_names = Some(v_names); in optbuilder_display2()
263 o2.v.val_names = Some(v_names); in optbuilder_display3()
Dflag.rs94 fn val_names(&self) -> Option<&VecMap<&'e str>> { in val_names() method
/external/rust/crates/clap/src/args/
Dany_arg.rs32 fn val_names(&self) -> Option<&VecMap<&'e str>>; in val_names() method
107 fn val_names(&self) -> Option<&VecMap<&'e str>> { in val_names() function
108 (*self).val_names() in val_names()
Darg.rs3105 if let Some(ref mut vals) = self.v.val_names { in value_names()
3116 self.v.val_names = Some(vm); in value_names()
3169 if let Some(ref mut vals) = self.v.val_names { in value_name()
3175 self.v.val_names = Some(vm); in value_name()
/external/rust/crates/clap/src/app/
Dmod.rs1820 fn val_names(&self) -> Option<&VecMap<&'e str>> { in val_names() method
Dhelp.rs336 if let Some(vec) = arg.val_names() { in val()