Home
last modified time | relevance | path

Searched refs:INVALID_UTF8 (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/clap/src/
Dosstringext.rs5 use INVALID_UTF8;
97 self.to_str().map(|s| s.as_bytes()).expect(INVALID_UTF8) in as_bytes()
Dlib.rs583 const INVALID_UTF8: &'static str = "unexpected invalid UTF-8 code point"; constant
/external/rust/crates/clap/src/args/
Darg_matches.rs11 use INVALID_UTF8;
118 return Some(v.to_str().expect(INVALID_UTF8)); in value_of()
217 o.to_str().expect(INVALID_UTF8) in values_of()
/external/rust/crates/clap/src/app/
Dvalidator.rs16 use INVALID_UTF8;
390 .expect(INVALID_UTF8), in validate_arg_num_vals()
Dparser.rs40 use INVALID_UTF8;
1683 .map(|x| x.to_str().expect(INVALID_UTF8)) in parse_long_arg()
1685 self.did_you_mean_error(arg.to_str().expect(INVALID_UTF8), matcher, &args_rest2[..]) in parse_long_arg()