Home
last modified time | relevance | path

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

/packages/modules/Virtualization/libs/libfdt/src/
Dresult.rs109 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
146 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
158 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
166 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
174 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
186 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
Dsafe_types.rs113 fn try_from(value: u32) -> Result<Self> { in try_from() method
121 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
141 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
149 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
174 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
182 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
207 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
215 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
Dlib.rs51 fn try_from(value: usize) -> Result<Self> { in try_from() method
72 fn try_from(value: usize) -> Result<Self> { in try_from() method
Diterators.rs99 fn try_from(reg: Reg<T>) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dobject_mapping.rs134 fn try_from(jni_obj: FiraOpenSessionParamsJni) -> Result<Self> { in try_from() method
212 fn try_from(addr_obj: UwbAddressJni<'_>) -> Result<Self> { in try_from() method
220 fn try_from(addr_obj: UwbAddressJni<'_>) -> Result<Self> { in try_from() method
288 fn try_from(jni_obj: CccOpenRangingParamsJni<'_>) -> Result<Self> { in try_from() method
322 fn try_from(jni_obj: CccPulseShapeComboJni<'_>) -> Result<Self> { in try_from() method
347 fn try_from(jni_obj: CccProtocolVersionJni<'_>) -> Result<Self> { in try_from() method
417 fn try_from(jni: CountryCodeJni<'_>) -> Result<Self> { in try_from() method
455 fn try_from(pse: PowerStatsWithEnv<'a>) -> Result<Self> { in try_from() method
497 fn try_from(data_obj: SessionRangeDataWithEnv<'a>) -> Result<Self> { in try_from() method
645 fn try_from(measurements_obj: RangingMeasurementsWithEnv<'a>) -> Result<Self> { in try_from() method
/packages/modules/Virtualization/pvmfw/avb/src/
Dpartition.rs55 fn try_from(partition_name: &CStr) -> Result<Self, Self::Error> { in try_from() method
68 fn try_from(non_null_terminated_name: &[u8]) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs36 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() method
149 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() method
297 fn try_from(item: &'a LinuxSnoopPacket) -> Result<Self, Self::Error> { in try_from() method
354 fn try_from(item: (usize, &'a LinuxSnoopPacket)) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/system/rust/src/core/
Duuid.rs39 fn try_from(value: UuidView<'_>) -> Result<Self, ParseError> { in try_from() method
79 fn try_from(value: Uuid) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dsocket.rs91 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() method
133 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() method
186 fn try_from(item: MgmtPacket) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Virtualization/vmbase/src/hyp/
Dhypervisor.rs56 fn try_from(uuid: Uuid) -> Result<HypervisorBackend> { in try_from() method
/packages/modules/Virtualization/vmbase/src/hvc/
Dtrng.rs81 fn try_from(value: i32) -> core::result::Result<Self, Error> { in try_from() method
/packages/modules/Virtualization/libs/bssl/src/
Devp.rs63 fn try_from(key: EcKey) -> Result<Self> { in try_from() method
/packages/modules/Virtualization/vmbase/src/
Dbionic.rs136 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Da2dp.rs127 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() method
157 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() method
186 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() method
Dsocket.rs74 fn try_from(bytes: &[u8]) -> Result<Self, Self::Error> { in try_from() method
Dhfp.rs107 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() method
132 fn try_from(val: i32) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Virtualization/service_vm/requests/src/
Ddice.rs210 fn try_from(key: CoseKey) -> Result<Self> { in try_from() method
434 fn try_from(value: Value) -> Result<Self> { in try_from() method
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs427 fn try_from(value: Uuid) -> std::result::Result<Self, Self::Error> { in try_from() method
435 fn try_from(value: Vec<u8>) -> std::result::Result<Self, Self::Error> { in try_from() method
/packages/modules/Virtualization/pvmfw/src/
Ddevice_assignment.rs642 fn try_from(reg: Reg<u64>) -> Result<Self> { in try_from() method