Home
last modified time | relevance | path

Searched refs:AnyValue (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/clap/src/parser/matches/
Dmatched_arg.rs9 use crate::parser::AnyValue;
20 vals: Vec<Vec<AnyValue>>,
78 pub(crate) fn vals(&self) -> Iter<Vec<AnyValue>> { in vals() argument
82 pub(crate) fn into_vals(self) -> Vec<Vec<AnyValue>> { in into_vals() argument
86 pub(crate) fn vals_flatten(&self) -> Flatten<Iter<Vec<AnyValue>>> { in vals_flatten() argument
90 pub(crate) fn into_vals_flatten(self) -> Flatten<std::vec::IntoIter<Vec<AnyValue>>> { in into_vals_flatten() argument
102 pub(crate) fn first(&self) -> Option<&AnyValue> { in first() argument
116 pub(crate) fn append_val(&mut self, val: AnyValue, raw_val: OsString) { in append_val() argument
221 m.append_val(AnyValue::new(String::from("bbb")), "bbb".into()); in test_grouped_vals_first()
222 m.append_val(AnyValue::new(String::from("ccc")), "ccc".into()); in test_grouped_vals_first()
Darg_matches.rs11 use crate::parser::AnyValue;
1408 iter: Map<Flatten<std::vec::IntoIter<Vec<AnyValue>>>, fn(AnyValue) -> T>,
1434 let empty: Vec<Vec<AnyValue>> = Default::default(); in default()
1465 iter: Map<Flatten<Iter<'a, Vec<AnyValue>>>, fn(&AnyValue) -> &T>,
1491 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1569 iter: Map<Iter<'a, Vec<AnyValue>>, fn(&Vec<AnyValue>) -> Vec<&str>>,
1599 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1610 iter: Map<std::vec::IntoIter<Vec<AnyValue>>, fn(Vec<AnyValue>) -> OccurrenceValues<T>>,
1635 let empty: Vec<Vec<AnyValue>> = Default::default(); in default()
1645 iter: Map<std::vec::IntoIter<AnyValue>, fn(AnyValue) -> T>,
[all …]
Dany_value.rs2 pub(crate) struct AnyValue { struct
9 impl AnyValue { impl
35 impl std::fmt::Debug for AnyValue { implementation
110 assert_eq!(format!("{:?}", AnyValue::new(5)), "AnyValue { inner: i32 }"); in debug_impl()
Dmod.rs14 pub(crate) use any_value::AnyValue;
/external/rust/crates/clap/3.2.23/src/parser/matches/
Dmatched_arg.rs9 use crate::parser::AnyValue;
21 vals: Vec<Vec<AnyValue>>,
98 pub(crate) fn vals(&self) -> Iter<Vec<AnyValue>> { in vals() argument
102 pub(crate) fn vals_flatten(&self) -> Flatten<Iter<Vec<AnyValue>>> { in vals_flatten() argument
106 pub(crate) fn into_vals_flatten(self) -> Flatten<std::vec::IntoIter<Vec<AnyValue>>> { in into_vals_flatten() argument
114 pub(crate) fn first(&self) -> Option<&AnyValue> { in first() argument
128 pub(crate) fn append_val(&mut self, val: AnyValue, raw_val: OsString) { in append_val() argument
236 m.append_val(AnyValue::new(String::from("bbb")), "bbb".into()); in test_grouped_vals_first()
237 m.append_val(AnyValue::new(String::from("ccc")), "ccc".into()); in test_grouped_vals_first()
Darg_matches.rs14 use crate::parser::AnyValue;
1491 iter: Map<Flatten<std::vec::IntoIter<Vec<AnyValue>>>, fn(AnyValue) -> T>,
1517 let empty: Vec<Vec<AnyValue>> = Default::default(); in default()
1549 iter: Map<Flatten<Iter<'a, Vec<AnyValue>>>, fn(&AnyValue) -> &T>,
1575 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1657 iter: Map<Flatten<Iter<'a, Vec<AnyValue>>>, for<'r> fn(&'r AnyValue) -> &'r str>,
1687 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1699 iter: Map<Iter<'a, Vec<AnyValue>>, fn(&Vec<AnyValue>) -> Vec<&str>>,
1726 static EMPTY: [Vec<AnyValue>; 0] = []; in default()
1742 iter: Map<Flatten<Iter<'a, Vec<AnyValue>>>, fn(&AnyValue) -> &OsStr>,
[all …]
Dany_value.rs2 pub(crate) struct AnyValue { struct
9 impl AnyValue { argument
35 impl std::fmt::Debug for AnyValue { implementation
110 assert_eq!(format!("{:?}", AnyValue::new(5)), "AnyValue { inner: i32 }"); in debug_impl()
Dmod.rs12 pub(crate) use any_value::AnyValue;
/external/rust/crates/clap/src/parser/
Dmod.rs13 pub(crate) use self::matches::AnyValue;
Darg_matcher.rs8 use crate::parser::AnyValue;
175 pub(crate) fn add_val_to(&mut self, arg: &Id, val: AnyValue, raw_val: OsString) { in add_val_to() argument
Dparser.rs18 use crate::parser::AnyValue;
1510 AnyValue::new(arg.get_id().clone()), in start_custom_arg()
/external/rust/crates/clap/3.2.23/src/parser/
Dmod.rs13 pub(crate) use self::matches::AnyValue;
Darg_matcher.rs9 use crate::parser::AnyValue;
205 pub(crate) fn add_val_to(&mut self, arg: &Id, val: AnyValue, raw_val: OsString) { in add_val_to() argument
/external/rust/crates/clap/3.2.23/src/builder/
Dvalue_parser.rs4 use crate::parser::AnyValue;
232 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
545 ) -> Result<AnyValue, crate::Error>; in parse_ref() argument
552 ) -> Result<AnyValue, crate::Error>; in parse() argument
574 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
576 Ok(AnyValue::new(value)) in parse_ref()
584 ) -> Result<AnyValue, crate::Error> { in parse() argument
586 Ok(AnyValue::new(value)) in parse()
/external/rust/crates/clap/src/builder/
Dvalue_parser.rs4 use crate::parser::AnyValue;
230 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
577 ) -> Result<AnyValue, crate::Error>; in parse_ref() argument
584 ) -> Result<AnyValue, crate::Error>; in parse() argument
606 ) -> Result<AnyValue, crate::Error> { in parse_ref() argument
608 Ok(AnyValue::new(value)) in parse_ref()
616 ) -> Result<AnyValue, crate::Error> { in parse() argument
618 Ok(AnyValue::new(value)) in parse()
/external/pdfium/third_party/lcms/src/
Dcmstypes.c5326 cmsBool AnyName, AnyValue; in Type_Dictionary_Write() local
5336 Count = 0; AnyName = FALSE; AnyValue = FALSE; in Type_Dictionary_Write()
5340 if (p ->DisplayValue != NULL) AnyValue = TRUE; in Type_Dictionary_Write()
5346 if (AnyValue) Length += 8; in Type_Dictionary_Write()