Lines Matching refs:from_bytes
9 fn from_bytes(b: &[u8]) -> &Self; in from_bytes() method
92 fn from_bytes(b: &[u8]) -> &Self { in from_bytes() method
133 OsStr::from_bytes(&self.as_bytes()[..i]), in split_at_byte()
134 OsStr::from_bytes(&self.as_bytes()[i + 1..]), in split_at_byte()
140 OsStr::from_bytes(&self.as_bytes()[self.len()..self.len()]), in split_at_byte()
148 return OsStr::from_bytes(&self.as_bytes()[i..]); in trim_left_matches()
154 return OsStr::from_bytes(&self.as_bytes()[self.len()..]); in trim_left_matches()
161 OsStr::from_bytes(&self.as_bytes()[..i]), in split_at()
162 OsStr::from_bytes(&self.as_bytes()[i..]), in split_at()
195 return Some(OsStr::from_bytes(&self.val[start..self.pos - 1])); in next()
198 Some(OsStr::from_bytes(&self.val[start..])) in next()