Home
last modified time | relevance | path

Searched refs:ends_with_os (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/os_str_bytes/tests/
Draw_random.rs32 test!(true, ends_with_os(&string, &suffix)); in test_complex()
36 test!(false, ends_with_os(&string, &prefix)); in test_complex()
Draw_integration.rs13 assert_eq!(result, RAW_WTF8_STRING.ends_with_os(suffix)); in test_ends_with()
42 RawOsStr::from_str("").ends_with_os(RawOsStr::from_str(suffix)), in test_empty_ends_with()
/third_party/rust/crates/os_str_bytes/src/
Draw_str.rs352 pub fn ends_with_os(&self, pat: &Self) -> bool { in ends_with_os() method