Searched refs:decode_utf16 (Results 1 – 2 of 2) sorted by relevance
1748 StringEncoding::Utf16 => self.decode_utf16(memory, self.len), in to_str_from_memory()1753 self.decode_utf16(memory, self.len ^ UTF16_TAG) in to_str_from_memory()1766 fn decode_utf16<'a>(&self, memory: &'a [u8], len: usize) -> Result<Cow<'a, str>> { in decode_utf16() method1769 Ok(core::char::decode_utf16( in decode_utf16()
225 for ch in core::char::decode_utf16(src.iter().map(|i| u16::from_le(*i))) { in run_utf16_to_utf16()361 for ch in core::char::decode_utf16(src_iter) { in utf16_to_utf8()