Home
last modified time | relevance | path

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

/third_party/rust/crates/os_str_bytes/src/windows/
Draw.rs19 wtf8::encode_wide(string).map(|x| expect_encoded!(x)) in encode_wide_unchecked()
24 let code_point = expect_encoded!(code_points in decode_code_point()
/third_party/rust/crates/os_str_bytes/src/
Draw_str.rs195 expect_encoded!(raw::validate_bytes(string)); in assert_from_raw_bytes()
269 expect_encoded!(raw::validate_bytes(string)); in from_raw_bytes_unchecked()
498 let start = expect_encoded!(self.0[..index] in index_boundary_error()
721 expect_encoded!(imp::os_str_from_bytes(&self.0)) in to_os_str()
1061 expect_encoded!(raw::validate_bytes(&string)); in assert_from_raw_vec()
1136 expect_encoded!(raw::validate_bytes(&string)); in from_raw_vec_unchecked()
1200 expect_encoded!(imp::os_string_from_vec(self.0)) in into_os_string()
Dlib.rs223 macro_rules! expect_encoded { macro
432 expect_encoded!(from_raw_bytes(string)) in assert_from_raw_bytes()
567 expect_encoded!(imp::os_string_from_vec(string)) in assert_from_raw_vec()
/third_party/rust/crates/os_str_bytes/src/wasm/
Draw.rs22 let string = expect_encoded!(str::from_utf8(string)); in decode_code_point()
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
Dstring.rs13 let index = expect_encoded!(index.checked_sub(1)); in ends_with()