Home
last modified time | relevance | path

Searched refs:as_mut_ptr (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Virtualization/pvmfw/src/
Dcrypto.rs53 let packed = unsafe { ERR_get_error_line(file.as_mut_ptr(), line.as_mut_ptr()) }; in get()
148 ctx.as_mut_ptr(), in new()
188 out.as_mut_ptr(), in open()
189 out_len.as_mut_ptr(), in open()
223 out.as_mut_ptr(), in seal()
224 out_len.as_mut_ptr(), in seal()
285 key.as_mut_ptr(),
Dheap.rs41 let (start, size) = unsafe { (HEAP.as_mut_ptr() as usize, HEAP.len()) }; in init()
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs382 self.fdt.as_mut_ptr(), in appendprop()
398 self.fdt.as_mut_ptr(), in appendprop_addrrange()
416 self.fdt.as_mut_ptr(), in setprop()
433 self.fdt.as_mut_ptr(), in setprop_inplace()
456 libfdt_bindgen::fdt_delprop(self.fdt.as_mut_ptr(), self.offset, name.as_ptr()) in delprop()
476 self.fdt.as_mut_ptr(), in trimprop()
496 libfdt_bindgen::fdt_add_subnode(self.fdt.as_mut_ptr(), self.offset, name.as_ptr()) in add_subnode()
548 let ret = unsafe { libfdt_bindgen::fdt_nop_node(self.fdt.as_mut_ptr(), self.offset) }; in delete_and_next_compatible()
616 fdt.as_mut_ptr().cast::<c_void>(), in create_empty_tree()
670 self.as_mut_ptr(), in unpack()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dutils.rs172 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
178 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
184 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
Dbtif.rs563 unsafe { &mut *(data.as_mut_ptr() as *mut bindings::bt_service_record_t) }; in get_data_ptr()
/packages/modules/Virtualization/libs/vbmeta/src/
Ddescriptor.rs61 if !avb_descriptor_validate_and_byteswap(descriptor, desc.as_mut_ptr()) { in from_image()
124 if !avb_hashtree_descriptor_validate_and_byteswap(src, desc.as_mut_ptr()) { in to_hashtree()
Dlib.rs110 avb_vbmeta_image_header_to_host_byte_order(src, header.as_mut_ptr()); in verify_reader_region()
/packages/modules/Virtualization/compos/src/
Dfsverity.rs37 getxattr(path.as_ptr(), name.as_ptr(), buf.as_mut_ptr() as *mut libc::c_void, buf.len()) in measure()
/packages/modules/Virtualization/pvmfw/avb/tests/
Dutils.rs94 avb_vbmeta_image_header_to_host_byte_order(src, header.as_mut_ptr()); in extract_vbmeta_header()
/packages/modules/Virtualization/pvmfw/avb/src/
Ddescriptor.rs171 desc.as_mut_ptr(), in from_descriptor_ptr()
Dops.rs113 out_data.as_mut_ptr(), in verify_partition()
/packages/modules/Virtualization/vmbase/example/src/
Dmain.rs79 HEAP_ALLOCATOR.lock().init(HEAP.as_mut_ptr() as usize, HEAP.len()); in main()
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dsocket.rs310 buf.as_mut_ptr() as *mut libc::c_void, in read_mgmt_packet()
/packages/modules/Virtualization/libs/devicemapper/src/
Dlib.rs206 dm_table_load(self, payload.as_mut_ptr() as *mut DmIoctl) in create_device()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhid_host.rs323 report.as_mut_ptr() as *mut std::os::raw::c_char, in get_report_reply()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Ddns_https_frontend.rs481 if libc::pipe(fds.as_mut_ptr()) == 0 { in build_pipe()