Home
last modified time | relevance | path

Searched defs:CStr16 (Results 1 – 22 of 22) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/string/
Dunicode_collation.rs32 pub fn stri_coll(&self, s1: &CStr16, s2: &CStr16) -> Ordering { in stri_coll()
60 pub fn metai_match(&self, s: &CStr16, pattern: &CStr16) -> bool { in metai_match()
67 s: &CStr16, in str_lwr()
69 ) -> Result<&'a CStr16, StrConversionError> { in str_lwr()
86 s: &CStr16, in str_upr()
88 ) -> Result<&'a CStr16, StrConversionError> { in str_upr()
107 ) -> Result<&'a CStr16, StrConversionError> { in fat_to_str()
123 s: &CStr16, in str_to_fat()
/aosp_15_r20/external/rust/crates/uefi/src/proto/string/
Dunicode_collation.rs32 pub fn stri_coll(&self, s1: &CStr16, s2: &CStr16) -> Ordering { in stri_coll()
60 pub fn metai_match(&self, s: &CStr16, pattern: &CStr16) -> bool { in metai_match()
67 s: &CStr16, in str_lwr()
69 ) -> Result<&'a CStr16, StrConversionError> { in str_lwr()
86 s: &CStr16, in str_upr()
88 ) -> Result<&'a CStr16, StrConversionError> { in str_upr()
107 ) -> Result<&'a CStr16, StrConversionError> { in fat_to_str()
123 s: &CStr16, in str_to_fat()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/data_types/
Dstrs.rs344 pub struct CStr16([Char16]); struct
346 impl CStr16 { implementation
631 impl AsRef<[u8]> for CStr16 { implementation
637 impl Borrow<[u8]> for CStr16 { implementation
657 impl<StrType: AsRef<str> + ?Sized> EqStrUntilNul<StrType> for CStr16 { implementation
675 impl AsRef<Self> for CStr16 { implementation
701 impl fmt::Debug for CStr16 { implementation
707 impl fmt::Display for CStr16 { implementation
717 impl PartialEq<CString16> for &CStr16 { implementation
730 ) -> Result<&'buf CStr16, UnalignedCStr16Error> { in to_cstr16()
Downed_strs.rs80 pub fn push_str(&mut self, str: &CStr16) { in push_str()
206 fn deref(&self) -> &CStr16 { in deref()
207 unsafe { &*(self.0.as_slice() as *const [Char16] as *const CStr16) } in deref() constant
212 fn as_ref(&self) -> &CStr16 { in as_ref()
218 fn borrow(&self) -> &CStr16 { in borrow()
223 impl ToOwned for CStr16 { implementation
/aosp_15_r20/external/rust/crates/uefi/src/data_types/
Dstrs.rs344 pub struct CStr16([Char16]); struct
346 impl CStr16 { implementation
631 impl AsRef<[u8]> for CStr16 { implementation
637 impl Borrow<[u8]> for CStr16 { implementation
657 impl<StrType: AsRef<str> + ?Sized> EqStrUntilNul<StrType> for CStr16 { implementation
675 impl AsRef<Self> for CStr16 { implementation
701 impl fmt::Debug for CStr16 { implementation
707 impl fmt::Display for CStr16 { implementation
717 impl PartialEq<CString16> for &CStr16 { implementation
730 ) -> Result<&'buf CStr16, UnalignedCStr16Error> { in to_cstr16()
Downed_strs.rs80 pub fn push_str(&mut self, str: &CStr16) { in push_str()
206 fn deref(&self) -> &CStr16 { in deref()
207 unsafe { &*(self.0.as_slice() as *const [Char16] as *const CStr16) } in deref() constant
212 fn as_ref(&self) -> &CStr16 { in as_ref()
218 fn borrow(&self) -> &CStr16 { in borrow()
223 impl ToOwned for CStr16 { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/driver/
Dcomponent_name.rs53 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
70 ) -> Result<&CStr16> { in controller_name()
120 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
137 ) -> Result<&CStr16> { in controller_name()
197 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
214 ) -> Result<&CStr16> { in controller_name()
/aosp_15_r20/external/rust/crates/uefi/src/proto/driver/
Dcomponent_name.rs53 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
70 ) -> Result<&CStr16> { in controller_name()
120 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
137 ) -> Result<&CStr16> { in controller_name()
197 pub fn driver_name(&self, language: &str) -> Result<&CStr16> { in driver_name()
214 ) -> Result<&CStr16> { in controller_name()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/path/
Dpath.rs19 unsafe { &*(s.as_ref() as *const CStr16 as *const Self) } in new() constant
24 pub const fn to_cstr16(&self) -> &CStr16 { in to_cstr16()
174 fn as_ref(&self) -> &CStr16 { in as_ref()
180 fn borrow(&self) -> &CStr16 { in borrow()
185 impl AsRef<Path> for CStr16 { implementation
191 impl Borrow<Path> for CStr16 { implementation
Dpathbuf.rs108 fn as_ref(&self) -> &CStr16 { in as_ref()
114 fn borrow(&self) -> &CStr16 { in borrow()
/aosp_15_r20/external/rust/crates/uefi/src/fs/path/
Dpath.rs19 unsafe { &*(s.as_ref() as *const CStr16 as *const Self) } in new() constant
24 pub const fn to_cstr16(&self) -> &CStr16 { in to_cstr16()
174 fn as_ref(&self) -> &CStr16 { in as_ref()
180 fn borrow(&self) -> &CStr16 { in borrow()
185 impl AsRef<Path> for CStr16 { implementation
191 impl Borrow<Path> for CStr16 { implementation
Dpathbuf.rs108 fn as_ref(&self) -> &CStr16 { in as_ref()
114 fn borrow(&self) -> &CStr16 { in borrow()
/aosp_15_r20/external/rust/crates/uefi/src/proto/media/file/
Dinfo.rs64 name: &CStr16, in new_impl()
192 file_name: &CStr16, in new()
245 pub fn file_name(&self) -> &CStr16 { in file_name()
313 volume_label: &CStr16, in new()
352 pub fn volume_label(&self) -> &CStr16 { in volume_label()
396 volume_label: &CStr16, in new()
403 pub fn volume_label(&self) -> &CStr16 { in volume_label()
Dmod.rs70 filename: &CStr16, in open()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/media/file/
Dinfo.rs64 name: &CStr16, in new_impl()
192 file_name: &CStr16, in new()
245 pub fn file_name(&self) -> &CStr16 { in file_name()
313 volume_label: &CStr16, in new()
352 pub fn volume_label(&self) -> &CStr16 { in volume_label()
396 volume_label: &CStr16, in new()
403 pub fn volume_label(&self) -> &CStr16 { in volume_label()
Dmod.rs70 filename: &CStr16, in open()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/
Druntime.rs88 pub fn variable_exists(name: &CStr16, vendor: &VariableVendor) -> Result<bool> { in variable_exists()
134 name: &CStr16, in get_variable()
172 name: &CStr16, in get_variable_boxed()
355 name: &CStr16, in set_variable()
386 pub fn delete_variable(name: &CStr16, vendor: &VariableVendor) -> Result { in delete_variable()
881 pub fn name(&self) -> core::result::Result<&CStr16, crate::data_types::FromSliceWithNulError> { in name()
/aosp_15_r20/external/rust/crates/uefi/src/
Druntime.rs88 pub fn variable_exists(name: &CStr16, vendor: &VariableVendor) -> Result<bool> { in variable_exists()
134 name: &CStr16, in get_variable()
172 name: &CStr16, in get_variable_boxed()
355 name: &CStr16, in set_variable()
386 pub fn delete_variable(name: &CStr16, vendor: &VariableVendor) -> Result { in delete_variable()
881 pub fn name(&self) -> core::result::Result<&CStr16, crate::data_types::FromSliceWithNulError> { in name()
/aosp_15_r20/external/rust/crates/uefi/src/proto/device_path/
Dtext.rs146 text_device_node: &CStr16, in convert_text_to_device_node()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/device_path/
Dtext.rs146 text_device_node: &CStr16, in convert_text_to_device_node()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/
Dloaded_image.rs65 pub fn load_options_as_cstr16(&self) -> Result<&CStr16, LoadOptionsError> { in load_options_as_cstr16()
/aosp_15_r20/external/rust/crates/uefi/src/proto/
Dloaded_image.rs65 pub fn load_options_as_cstr16(&self) -> Result<&CStr16, LoadOptionsError> { in load_options_as_cstr16()