Lines Matching refs:desc
53 let desc = unsafe { in from_image() localVariable
54 let mut desc = MaybeUninit::uninit(); in from_image() localVariable
55 if !avb_descriptor_validate_and_byteswap(descriptor, desc.as_mut_ptr()) { in from_image()
58 desc.assume_init() in from_image()
64 size_of::<AvbDescriptor>() + desc.num_bytes_following as usize, in from_image()
69 descriptors.push(match desc.tag.try_into() { in from_image()
89 let desc = &mut descriptors as *mut _ as *mut c_void; in from_image() localVariable
90 avb_descriptor_foreach(data.as_ptr(), data.len(), Some(desc_cb), desc) in from_image()
120 let mut desc = MaybeUninit::uninit(); in to_hashtree() localVariable
122 if !avb_hashtree_descriptor_validate_and_byteswap(src, desc.as_mut_ptr()) { in to_hashtree()
125 desc.assume_init() in to_hashtree()