Home
last modified time | relevance | path

Searched refs:trim_left_matches (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/clap/src/
Dosstringext.rs18 fn trim_left_matches(&self, b: u8) -> &OsStr; in trim_left_matches() method
144 fn trim_left_matches(&self, byte: u8) -> &OsStr { in trim_left_matches() method
/external/rust/crates/chrono/src/format/
Dscan.rs82 let s = s.trim_left_matches(|c: char| '0' <= c && c <= '9'); in nanosecond()
203 Ok(s.trim_left_matches(|c: char| c == ':' || c.is_whitespace())) in colon_or_space()
349 Ok((s.trim_left_matches(|c: char| !c.is_whitespace()), ())) in timezone_name_skip()
/external/rust/crates/serde_derive/src/
Ddummy.rs47 ident.to_string().trim_left_matches("r#").to_owned() in unraw()
/external/rust/crates/clap/src/app/
Dparser.rs96 .trim_left_matches(|c| c == '-') in help_short()
105 .trim_left_matches(|c| c == '-') in version_short()
1633 let (p0, p1) = full_arg.trim_left_matches(b'-').split_at_byte(b'='); in parse_long_arg()
1639 full_arg.trim_left_matches(b'-') in parse_long_arg()
1696 let arg_os = full_arg.trim_left_matches(b'-'); in parse_short_arg()
1802 let v = fv.trim_left_matches(b'='); in parse_opt()
/external/rust/crates/clap/src/args/
Darg.rs337 self.s.short = s.as_ref().trim_left_matches(|c| c == '-').chars().nth(0); in short()
377 self.s.long = Some(l.trim_left_matches(|c| c == '-')); in long()
/external/rust/crates/serde_derive/src/internals/
Dattr.rs149 ident.to_string().trim_left_matches("r#").to_owned() in unraw()