Home
last modified time | relevance | path

Searched refs:to_u32 (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Virtualization/libs/apkverify/src/
Dalgorithms.rs91 pub fn to_u32(&self) -> u32 { in to_u32() method
92 ToPrimitive::to_u32(self).expect("Unsupported algorithm for to_u32.") in to_u32()
Dv4.rs192 w.write_u32::<LittleEndian>(self.version.to_u32().unwrap())?; in write_into()
238 w.write_u32::<LittleEndian>(self.hash_algorithm.to_u32().unwrap())?; in write_into()
280 w.write_u32::<LittleEndian>(self.signature_algorithm_id.to_u32())?; in write_into()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs83 item.to_u32().unwrap_or(0) in from()
185 item.to_u32().unwrap_or(0) in from()
281 self.to_u32().unwrap_or_default() in into()
348 self.to_u32().unwrap_or(0) in into()
402 self.to_u32().unwrap_or(0) in into()
699 data.copy_from_slice(&BtDeviceType::to_u32(tod).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
717 data.copy_from_slice(&BtScanMode::to_u32(sm).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
752 data.copy_from_slice(&BtIoCap::to_u32(iocap).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
755 data.copy_from_slice(&BtIoCap::to_u32(iocap).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
775 &BtAddrType::to_u32(addr_type).unwrap_or_default().to_ne_bytes(), in get_data_ptr()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhid_host.rs80 item.to_u32().unwrap() in from()
94 item.to_u32().unwrap() in from()
Dsocket.rs34 item.to_u32().unwrap_or(0) in from()
Dsdp.rs332 type_: hdr.sdp_type.to_u32().unwrap(), in convert_header()
Dgatt.rs497 write!(f, "{}", self.to_u32().unwrap_or(0)) in fmt()
519 self.to_u32().unwrap_or(0) in into()
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/
Dlib.rs278 return Ok(data.to_u32().unwrap());
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs1911 status.to_u32().unwrap(), in bond_state()
1913 bond_state.to_u32().unwrap(), in bond_state()