Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/crates/bstr/src/
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 …]
Dbstr.rs34 pub struct BStr { struct
38 impl BStr { impl
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()
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()
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/stream/
Dimpls.rs309 impl fmt::Display for BStr { implementation
316 impl fmt::Debug for BStr { implementation
333 impl ops::Deref for BStr { implementation
342 impl ops::Index<usize> for BStr { implementation
351 impl ops::Index<ops::RangeFull> for BStr { implementation
355 fn index(&self, _: ops::RangeFull) -> &BStr { in index()
360 impl ops::Index<ops::Range<usize>> for BStr { implementation
364 fn index(&self, r: ops::Range<usize>) -> &BStr { in index()
369 impl ops::Index<ops::RangeInclusive<usize>> for BStr { implementation
373 fn index(&self, r: ops::RangeInclusive<usize>) -> &BStr { in index()
[all …]
Dmod.rs77 pub struct BStr([u8]); struct
79 impl BStr { implementation
471 impl<'a> SliceLen for &'a BStr { implementation
836 impl<'i> Stream for &'i BStr { implementation
1371 impl<'a, E> Recover<E> for &'a BStr { implementation
1583 impl<'a> StreamIsPartial for &'a BStr { implementation
1786 impl<'a> Offset for &'a BStr { implementation
1793 impl<'a> Offset<<&'a BStr as Stream>::Checkpoint> for &'a BStr { implementation
1991 impl<'a> AsBStr for &'a BStr { implementation
2311 impl<'a, T> Compare<T> for &'a BStr implementation
[all …]
/aosp_15_r20/external/libcxx/test/std/strings/basic.string/string.cons/
H A Dimplicit_deduction_guides.pass.cpp28 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>; typedef
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/basic.string/string.cons/
H A Dimplicit_deduction_guides.pass.cpp26 using BStr = std::basic_string<T, std::char_traits<T>, Alloc>; typedef
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1203 StringRef BStr = B ? B->getBody() : "\n"; in handleFunctionCompare() local