Searched refs:trim_left_matches (Results 1 – 6 of 6) sorted by relevance
18 fn trim_left_matches(&self, b: u8) -> &OsStr; in trim_left_matches() method144 fn trim_left_matches(&self, byte: u8) -> &OsStr { in trim_left_matches() method
82 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()
47 ident.to_string().trim_left_matches("r#").to_owned() in unraw()
96 .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()
337 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()
149 ident.to_string().trim_left_matches("r#").to_owned() in unraw()