Home
last modified time | relevance | path

Searched defs:BStr (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/bstr/src/
Dbstr.rs34 pub struct BStr { struct
38 impl BStr { argument
63 pub fn new<'a, B: ?Sized + AsRef<[u8]>>(bytes: &'a B) -> &'a BStr { in new()
70 ) -> &mut BStr { in new_mut()
75 pub(crate) fn from_bytes(slice: &[u8]) -> &BStr { in from_bytes()
80 pub(crate) fn from_bytes_mut(slice: &mut [u8]) -> &mut BStr { in from_bytes_mut()
86 pub(crate) fn from_boxed_bytes(slice: Box<[u8]>) -> Box<BStr> { in from_boxed_bytes()
Dimpls.rs118 fn as_ref(&self) -> &BStr { in as_ref()
132 fn as_mut(&mut self) -> &mut BStr { in as_mut()
139 fn borrow(&self) -> &BStr { in borrow()
144 impl ToOwned for BStr { implementation
203 fn from(s: BString) -> Cow<'a, BStr> { in from() argument
334 impl fmt::Display for BStr { implementation
340 bstr: &BStr, in fmt()
396 impl fmt::Debug for BStr { implementation
431 impl ops::Deref for BStr { implementation
440 impl ops::DerefMut for BStr { implementation
[all …]
Dbstring.rs80 pub(crate) fn as_bstr(&self) -> &BStr { in as_bstr()
85 pub(crate) fn as_mut_bstr(&mut self) -> &mut BStr { in as_mut_bstr()
Dext_slice.rs144 fn as_bstr(&self) -> &BStr { in as_bstr()
167 fn as_bstr_mut(&mut self) -> &mut BStr { in as_bstr_mut()
/external/libcxx/test/std/strings/basic.string/string.cons/
Dimplicit_deduction_guides.pass.cpp28 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>; typedef
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.cons/
Dimplicit_deduction_guides.pass.cpp26 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>; typedef