Home
last modified time | relevance | path

Searched refs:assert_from_raw_bytes (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/os_str_bytes/tests/
H A Draw_integration.rs12 let suffix = RawOsStr::assert_from_raw_bytes(suffix); in test_ends_with()
55 let prefix = RawOsStr::assert_from_raw_bytes(prefix); in test_starts_with()
/third_party/rust/crates/os_str_bytes/src/
H A Dlib.rs272 "use `OsStrBytes::assert_from_raw_bytes` or \
355 /// assert_eq!(os_string, OsStr::assert_from_raw_bytes(os_bytes));
363 fn assert_from_raw_bytes<'a, S>(string: S) -> Cow<'a, Self> in assert_from_raw_bytes() functions
368 "use `assert_from_raw_bytes` instead, or enable the \ in assert_from_raw_bytes()
372 /// [`assert_from_raw_bytes`] should almost always be used instead. For in assert_from_raw_bytes()
395 /// [`assert_from_raw_bytes`]: Self::assert_from_raw_bytes in assert_from_raw_bytes()
428 fn assert_from_raw_bytes<'a, S>(string: S) -> Cow<'a, Self> in to_raw_bytes() functions
451 fn assert_from_raw_bytes<'a, S>(string: S) -> Cow<'a, Self> in assert_from_raw_bytes() functions
455 cow_os_str_into_path(OsStr::assert_from_raw_bytes(strin in assert_from_raw_bytes()
[all...]

Completed in 2 milliseconds