Home
last modified time | relevance | path

Searched refs:starts_with_os (Results 1 - 4 of 4) sorted by relevance

/third_party/rust/crates/os_str_bytes/tests/
H A Draw_random.rs33 test!(true, starts_with_os(&string, &prefix)); in test_complex()
37 test!(false, starts_with_os(&string, &suffix)); in test_complex()
H A Draw_integration.rs56 assert_eq!(result, RAW_WTF8_STRING.starts_with_os(prefix)); in test_starts_with()
85 RawOsStr::from_str("").starts_with_os(RawOsStr::from_str(prefix)), in test_empty_starts_with()
/third_party/rust/crates/os_str_bytes/src/
H A Draw_str.rs638 /// assert!(raw.starts_with_os(RawOsStr::from_str("foo")));
639 /// assert!(!raw.starts_with_os(RawOsStr::from_str("bar")));
643 pub fn starts_with_os(&self, pat: &Self) -> bool { in starts_with_os() functions
/third_party/rust/crates/clap/clap_complete/src/
H A Ddynamic.rs514 if !raw_file_name.starts_with_os(prefix) { in complete_path()

Completed in 3 milliseconds