| /bootable/libbootloader/gbl/libgbl/src/ |
| D | ops.rs | 258 fn avb_read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize>; in avb_read_persistent_value() 263 fn avb_write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> AvbIoResult<()>; in avb_write_persistent_value() 298 digest: Option<&CStr>, in avb_handle_verification_result() 328 commandline: &CStr, in fixup_os_commandline() 375 name: &CStr, in fastboot_variable() 388 cb: impl FnMut(&[&CStr], &CStr), in fastboot_visit_all_variables() 517 fn avb_read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize> { in avb_read_persistent_value() 521 fn avb_write_persistent_value(&mut self, _: &CStr, _: &[u8]) -> AvbIoResult<()> { in avb_write_persistent_value() 556 commandline: &CStr, in fixup_os_commandline() 602 digest: Option<&CStr>, in avb_handle_verification_result() [all …]
|
| D | lib.rs | 111 partitions_to_verify: &[&CStr], in load_and_verify_image()
|
| D | partition.rs | 450 fn raw_disk(name: &CStr, data: impl AsRef<[u8]>) -> TestGblDisk { in raw_disk()
|
| /bootable/libbootloader/gbl/libefi/mocks/ |
| D | protocol.rs | 262 pub fn read_persistent_value(&self, _name: &CStr, _value: &mut [u8]) -> Result<usize> { in read_persistent_value() 267 pub fn write_persistent_value(&self, _name: &CStr, _value: Option<&[u8]>) -> Result<()> { in write_persistent_value() 301 _: &CStr, in get_var() 309 pub fn get_var_all(&self, _: impl FnMut(&[&CStr], &CStr)) -> Result<()> { in get_var_all()
|
| /bootable/libbootloader/gbl/libgbl/src/android_boot/ |
| D | vboot.rs | 52 pub fn try_push_preloaded(&mut self, name: &'a CStr, data: &'a [u8]) -> Result<()> { in try_push_preloaded() 67 fn partitions(&self) -> &[&'a CStr] { in partitions() 215 partitions: &[(&CStr, &str)], in test_avb_verify_slot()
|
| D | mod.rs | 427 expected_fdt_property: &[(&str, &CStr, Option<&[u8]>)], in test_android_load_verify_fixup() 491 additional_parts: &[(&CStr, &str)], in test_android_load_verify_fixup_v2_or_lower() 629 additional_expected_fdt_properties: &[(&str, &CStr, Option<&[u8]>)], in test_android_load_verify_fixup_v3_or_v4() 659 additional_expected_fdt_properties: &[(&str, &CStr, Option<&[u8]>)], in test_android_load_verify_fixup_v3_or_v4_no_init_boot() 821 additional_expected_fdt_properties: &[(&str, &CStr, Option<&[u8]>)], in test_android_load_verify_fixup_v4_vendor_boot_dttable() 863 additional_expected_fdt_properties: &[(&str, &CStr, Option<&[u8]>)], in test_android_load_verify_fixup_v3_or_v4_init_boot()
|
| D | load.rs | 55 fn as_cstr(&self) -> &CStr { in as_cstr()
|
| /bootable/libbootloader/gbl/libefi/src/ |
| D | ab_slots.rs | 335 _name: &CStr, in avb_read_persistent_value() 341 fn avb_write_persistent_value(&mut self, _name: &CStr, _value: &[u8]) -> AvbIoResult<()> { in avb_write_persistent_value() 352 _digest: Option<&CStr>, in avb_handle_verification_result() 377 _commandline: &CStr, in fixup_os_commandline() 404 _: &CStr, in fastboot_variable() 411 fn fastboot_visit_all_variables(&mut self, _: impl FnMut(&[&CStr], &CStr)) -> Result<()> { in fastboot_visit_all_variables()
|
| /bootable/libbootloader/gbl/libgbl/src/gbl_avb/ |
| D | ops.rs | 183 fn cstr_to_str<E>(s: &CStr, err: E) -> Result<&str, E> { in cstr_to_str() 210 partition: &CStr, in read_from_partition() 329 fn read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> IoResult<usize> { in read_persistent_value() 337 fn write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> IoResult<()> { in write_persistent_value() 355 _partition: &CStr, in validate_public_key_for_partition() 522 partition_to_read: &CStr, in test_read_preloaded_partition()
|
| /bootable/libbootloader/gbl/efi/src/ |
| D | ops.rs | 370 fn avb_read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize> { in avb_read_persistent_value() 380 fn avb_write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> AvbIoResult<()> { in avb_write_persistent_value() 438 digest: Option<&CStr>, in avb_handle_verification_result() 483 commandline: &CStr, in fixup_os_commandline() 581 name: &CStr, in fastboot_variable() 592 fn fastboot_visit_all_variables(&mut self, cb: impl FnMut(&[&CStr], &CStr)) -> Result<()> { in fastboot_visit_all_variables() 1169 expected_base: &'static CStr, in test_fixup_os_commandline()
|
| /bootable/libbootloader/gbl/libefi/src/protocol/ |
| D | gbl_efi_fastboot.rs | 52 var: &CStr, in get_var() 81 pub fn get_var_all(&self, mut cb: impl FnMut(&[&CStr], &CStr)) -> Result<()> { in get_var_all()
|
| D | gbl_efi_avb.rs | 121 pub fn read_persistent_value(&self, name: &CStr, value: &mut [u8]) -> Result<usize> { in read_persistent_value() 151 pub fn write_persistent_value(&self, name: &CStr, value: Option<&[u8]>) -> Result<()> { in write_persistent_value()
|
| D | gbl_efi_os_configuration.rs | 36 pub fn fixup_kernel_commandline(&self, commandline: &CStr, fixup: &mut [u8]) -> Result<()> { in fixup_kernel_commandline()
|
| /bootable/libbootloader/gbl/libbootparams/src/ |
| D | commandline.rs | 79 pub fn add_with<F>(&mut self, reader: F) -> Result<()> in add_with()
|
| /bootable/libbootloader/gbl/libfdt/src/ |
| D | lib.rs | 284 pub fn set_property(&mut self, path: &str, name: &CStr, val: &[u8]) -> Result<()> { in set_property() 305 name: &CStr, in set_property_placeholder()
|
| /bootable/libbootloader/gbl/libgbl/src/fastboot/ |
| D | vars.rs | 47 name: &CStr, in get_var_internal()
|
| D | mod.rs | 611 var: &CStr, in get_var()
|
| /bootable/libbootloader/gbl/libfastboot/src/ |
| D | lib.rs | 240 var: &CStr, in get_var() 249 var: &CStr, in get_var_as_str() 1084 var: &CStr, in get_var()
|
| /bootable/libbootloader/gbl/libabr/src/ |
| D | lib.rs | 126 impl From<SlotIndex> for &CStr { implementation
|