Home
last modified time | relevance | path

Searched defs:CStr (Results 1 – 19 of 19) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/
Dops.rs258 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 …]
Dlib.rs111 partitions_to_verify: &[&CStr], in load_and_verify_image()
Dpartition.rs450 fn raw_disk(name: &CStr, data: impl AsRef<[u8]>) -> TestGblDisk { in raw_disk()
/bootable/libbootloader/gbl/libefi/mocks/
Dprotocol.rs262 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/
Dvboot.rs52 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()
Dmod.rs427 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()
Dload.rs55 fn as_cstr(&self) -> &CStr { in as_cstr()
/bootable/libbootloader/gbl/libefi/src/
Dab_slots.rs335 _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/
Dops.rs183 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/
Dops.rs370 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/
Dgbl_efi_fastboot.rs52 var: &CStr, in get_var()
81 pub fn get_var_all(&self, mut cb: impl FnMut(&[&CStr], &CStr)) -> Result<()> { in get_var_all()
Dgbl_efi_avb.rs121 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()
Dgbl_efi_os_configuration.rs36 pub fn fixup_kernel_commandline(&self, commandline: &CStr, fixup: &mut [u8]) -> Result<()> { in fixup_kernel_commandline()
/bootable/libbootloader/gbl/libbootparams/src/
Dcommandline.rs79 pub fn add_with<F>(&mut self, reader: F) -> Result<()> in add_with()
/bootable/libbootloader/gbl/libfdt/src/
Dlib.rs284 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/
Dvars.rs47 name: &CStr, in get_var_internal()
Dmod.rs611 var: &CStr, in get_var()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs240 var: &CStr, in get_var()
249 var: &CStr, in get_var_as_str()
1084 var: &CStr, in get_var()
/bootable/libbootloader/gbl/libabr/src/
Dlib.rs126 impl From<SlotIndex> for &CStr { implementation