Home
last modified time | relevance | path

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

12

/packages/modules/Virtualization/pvmfw/avb/src/
Dpartition.rs58 fn try_from(partition_name: *const c_char) -> Result<Self, Self::Error> { in try_from() method
69 fn try_from(partition_name: &CStr) -> Result<Self, Self::Error> { in try_from() method
82 fn try_from(non_null_terminated_name: &[u8]) -> 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/Bluetooth/system/gd/rust/packets/
Dcustom_types.rs48 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() method
92 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() method
Dtest_lib.rs30 fn try_from(slice: &[u8]) -> std::result::Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dpackets.rs42 fn try_from(slice: &[u8]) -> std::result::Result<Self, Self::Error> { in try_from() method
79 fn try_from(slice: &[u8]) -> std::result::Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs31 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() method
144 fn try_from(item: &[u8]) -> Result<Self, Self::Error> { in try_from() method
293 fn try_from(item: &'a LinuxSnoopPacket) -> Result<Self, Self::Error> { in try_from() method
340 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.rs90 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() method
125 fn try_from(item: u16) -> Result<Self, Self::Error> { in try_from() method
157 fn try_from(item: MgmtPacket) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/tools/pdl/tests/generated/
Denum_declaration_little_endian.rs60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
128 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
205 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
285 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
356 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
Denum_declaration_big_endian.rs60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
128 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
205 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
285 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
356 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_mixed_scalars_enums_big_endian.rs60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
127 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_mixed_scalars_enums_little_endian.rs60 fn try_from(value: u8) -> std::result::Result<Self, Self::Error> { in try_from() method
127 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_child_packets_little_endian.rs60 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
390 fn try_from(packet: Foo) -> Result<Bar> { in try_from() method
526 fn try_from(packet: Foo) -> Result<Baz> { in try_from() method
Dpacket_decl_child_packets_big_endian.rs60 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
390 fn try_from(packet: Foo) -> Result<Bar> { in try_from() method
526 fn try_from(packet: Foo) -> Result<Baz> { in try_from() method
Dpacket_decl_64bit_enum_little_endian.rs60 fn try_from(value: u64) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_64bit_enum_big_endian.rs60 fn try_from(value: u64) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_64bit_enum_array_big_endian.rs60 fn try_from(value: u64) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_64bit_enum_array_little_endian.rs60 fn try_from(value: u64) -> std::result::Result<Self, Self::Error> { in try_from() method
Dpacket_decl_grand_children_big_endian.rs60 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
460 fn try_from(packet: Parent) -> Result<Child> { in try_from() method
658 fn try_from(packet: Parent) -> Result<GrandChild> { in try_from() method
868 fn try_from(packet: Parent) -> Result<GrandGrandChild> { in try_from() method
Dpacket_decl_grand_children_little_endian.rs60 fn try_from(value: u16) -> std::result::Result<Self, Self::Error> { in try_from() method
460 fn try_from(packet: Parent) -> Result<Child> { in try_from() method
658 fn try_from(packet: Parent) -> Result<GrandChild> { in try_from() method
868 fn try_from(packet: Parent) -> Result<GrandGrandChild> { in try_from() method
Dpacket_decl_24bit_enum_array_little_endian.rs60 fn try_from(value: u32) -> std::result::Result<Self, Self::Error> { in try_from() method
/packages/modules/Virtualization/libs/hyp/src/hypervisor/
Dmod.rs51 fn try_from(uuid: Uuid) -> Result<HypervisorBackend> { in try_from() method
/packages/modules/Virtualization/vmbase/src/
Dbionic.rs87 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dinit_flags.rs274 fn try_from(tag_value: &str) -> Result<Self, Self::Error> { in try_from() method
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs161 fn try_from(res: c_int) -> Result<Self> { in try_from() method
182 fn try_from(res: c_int) -> Result<Self> { in try_from() method

12