Home
last modified time | relevance | path

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

/packages/modules/Virtualization/guest/pvmfw/avb/src/
Dops.rs61 partition_name: &CStr, in verify_partition()
84 partition: &CStr, in read_from_partition()
131 fn read_persistent_value(&mut self, _name: &CStr, _value: &mut [u8]) -> IoResult<usize> { in read_persistent_value()
135 fn write_persistent_value(&mut self, _name: &CStr, _value: &[u8]) -> IoResult<()> { in write_persistent_value()
145 _partition: &CStr, in validate_public_key_for_partition()
Dpartition.rs34 pub(crate) fn as_cstr(&self) -> &CStr { in as_cstr()
/packages/modules/Virtualization/android/virtmgr/src/
Ddt_overlay.rs54 untrusted_props: &[(&'a CStr, &'a [u8])], in create_device_tree_overlay()
55 trusted_props: &[(&'a CStr, &'a [u8])], in create_device_tree_overlay()
Dselinux.rs205 fn check_access(source: &CStr, target: &CStr, tclass: &str, perm: &str) -> Result<()> { in check_access()
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs127 pub fn name(&self) -> Result<&'a CStr> { in name()
168 pub fn device_type(&self) -> Result<Option<&CStr>> { in device_type()
205 pub fn name(&self) -> Result<&'a CStr> { in name()
211 pub fn getprop_str(&self, name: &CStr) -> Result<Option<&CStr>> { in getprop_str()
362 pub fn appendprop<T: AsRef<[u8]>>(&mut self, name: &CStr, value: &T) -> Result<()> { in appendprop()
367 pub fn appendprop_addrrange(&mut self, name: &CStr, addr: u64, size: u64) -> Result<()> { in appendprop_addrrange()
375 pub fn setprop(&mut self, name: &CStr, value: &[u8]) -> Result<()> { in setprop()
383 pub fn setprop_inplace(&mut self, name: &CStr, value: &[u8]) -> Result<()> { in setprop_inplace()
391 pub fn setprop_addrrange_inplace(&mut self, name: &CStr, addr: u64, size: u64) -> Result<()> { in setprop_addrrange_inplace()
414 pub fn trimprop(&mut self, name: &CStr, new_size: usize) -> Result<()> { in trimprop()
[all …]
Dlibfdt.rs97 compatible: &CStr, in node_offset_by_compatible()
301 fn string(&self, offset: StringOffset) -> Result<&CStr> { in string()
364 fn setprop(&mut self, node: NodeOffset, name: &CStr, value: &[u8]) -> Result<()> { in setprop()
381 name: &CStr, in setprop_placeholder()
399 fn setprop_inplace(&mut self, node: NodeOffset, name: &CStr, value: &[u8]) -> Result<()> { in setprop_inplace()
413 fn appendprop(&mut self, node: NodeOffset, name: &CStr, value: &[u8]) -> Result<()> { in appendprop()
430 name: &CStr, in appendprop_addrrange()
/packages/modules/Virtualization/android/virtmgr/fsfdt/src/
Dlib.rs30 fn overlay_onto(&mut self, fdt_node_path: &CStr, fs_path: &Path) -> Result<()>; in overlay_onto()
43 fn overlay_onto(&mut self, fdt_node_path: &CStr, fs_path: &Path) -> Result<()> { in overlay_onto()
/packages/modules/Virtualization/guest/authfs/src/
Dfusefs.rs339 name: &CStr, in create_new_entry_with_ref_count()
659 name: &CStr, in create()
663 _security_ctx: Option<&CStr>, in create()
810 name: &CStr, in getxattr()
844 name: &CStr, in mkdir()
847 _security_ctx: Option<&CStr>, in mkdir()
/packages/modules/Virtualization/tests/old_images_avf_test/src/
Dmain.rs77 fn run_vm(image_path: &str, test_name: &CStr, protected_vm: bool) -> Result<()> { in run_vm()
/packages/modules/Virtualization/guest/pvmfw/src/
Dbootargs.rs112 fn check(raw: &CStr, expected: Result<&[(&str, Option<&str>)], ()>) { in check()
Dfdt.rs126 name_a: &CStr, in read_two_ints()
127 name_b: &CStr, in read_two_ints()
464 compat: &CStr, in get_nth_compatible()
1435 prop_name: &CStr, in empty_or_delete_prop()
Ddevice_assignment.rs944 const PVIOMMU_COMPATIBLE: &'static CStr = c"pkvm,pviommu"; variable
/packages/modules/Virtualization/libs/libvmbase/src/
Dbionic.rs245 fn cstr_error(n: c_int) -> &'static CStr { in cstr_error()