Home
last modified time | relevance | path

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

12345678910>>...22

/aosp_15_r20/external/rust/android-crates-io/crates/nix/src/
Dpoll_timeout.rs67 fn try_from(x: Duration) -> std::result::Result<Self, Self::Error> { in try_from() method
76 fn try_from(x: u128) -> std::result::Result<Self, Self::Error> { in try_from() method
85 fn try_from(x: u64) -> std::result::Result<Self, Self::Error> { in try_from() method
94 fn try_from(x: u32) -> std::result::Result<Self, Self::Error> { in try_from() method
113 fn try_from(x: i128) -> std::result::Result<Self, Self::Error> { in try_from() method
125 fn try_from(x: i64) -> std::result::Result<Self, Self::Error> { in try_from() method
137 fn try_from(x: i32) -> std::result::Result<Self, Self::Error> { in try_from() method
146 fn try_from(x: i16) -> std::result::Result<Self, Self::Error> { in try_from() method
155 fn try_from(x: i8) -> std::result::Result<Self, Self::Error> { in try_from() method
164 fn try_from(x: PollTimeout) -> std::result::Result<Self, ()> { in try_from() method
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/rust/bluetooth_core_rust_packets/gen/
D_packets.rs63 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
312 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
433 fn try_from(parent: &Att) -> Result<AttFindInformationRequest, Self::Error> { in try_from() method
439 fn try_from(parent: Att) -> Result<AttFindInformationRequest, Self::Error> { in try_from() method
445 fn try_from(packet: &AttFindInformationRequest) -> Result<Att, Self::Error> { in try_from() method
456 fn try_from(packet: AttFindInformationRequest) -> Result<Att, Self::Error> { in try_from() method
616 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
733 fn try_from(parent: &Att) -> Result<AttFindInformationResponse, Self::Error> { in try_from() method
739 fn try_from(parent: Att) -> Result<AttFindInformationResponse, Self::Error> { in try_from() method
745 fn try_from(packet: &AttFindInformationResponse) -> Result<Att, Self::Error> { in try_from() method
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/rust/libbluetooth_core_rs/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std_apex33/out/
D_packets.rs63 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
312 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
433 fn try_from(parent: &Att) -> Result<AttFindInformationRequest, Self::Error> { in try_from() method
439 fn try_from(parent: Att) -> Result<AttFindInformationRequest, Self::Error> { in try_from() method
445 fn try_from(packet: &AttFindInformationRequest) -> Result<Att, Self::Error> { in try_from() method
456 fn try_from(packet: AttFindInformationRequest) -> Result<Att, Self::Error> { in try_from() method
616 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
733 fn try_from(parent: &Att) -> Result<AttFindInformationResponse, Self::Error> { in try_from() method
739 fn try_from(parent: Att) -> Result<AttFindInformationResponse, Self::Error> { in try_from() method
745 fn try_from(packet: &AttFindInformationResponse) -> Result<Att, Self::Error> { in try_from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/rust/
Dpacket_decl_parent_with_alias_child_little_endian.rs37 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
157 fn try_from(parent: &Parent) -> Result<AliasChild, Self::Error> { in try_from() method
163 fn try_from(parent: Parent) -> Result<AliasChild, Self::Error> { in try_from() method
169 fn try_from(packet: &AliasChild) -> Result<Parent, Self::Error> { in try_from() method
177 fn try_from(packet: AliasChild) -> Result<Parent, Self::Error> { in try_from() method
239 fn try_from(parent: &Parent) -> Result<NormalChild, Self::Error> { in try_from() method
245 fn try_from(parent: Parent) -> Result<NormalChild, Self::Error> { in try_from() method
251 fn try_from(packet: &NormalChild) -> Result<Parent, Self::Error> { in try_from() method
259 fn try_from(packet: NormalChild) -> Result<Parent, Self::Error> { in try_from() method
303 fn try_from(parent: &AliasChild) -> Result<NormalGrandChild1, Self::Error> { in try_from() method
[all …]
Dpacket_decl_parent_with_alias_child_big_endian.rs37 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
157 fn try_from(parent: &Parent) -> Result<AliasChild, Self::Error> { in try_from() method
163 fn try_from(parent: Parent) -> Result<AliasChild, Self::Error> { in try_from() method
169 fn try_from(packet: &AliasChild) -> Result<Parent, Self::Error> { in try_from() method
177 fn try_from(packet: AliasChild) -> Result<Parent, Self::Error> { in try_from() method
239 fn try_from(parent: &Parent) -> Result<NormalChild, Self::Error> { in try_from() method
245 fn try_from(parent: Parent) -> Result<NormalChild, Self::Error> { in try_from() method
251 fn try_from(packet: &NormalChild) -> Result<Parent, Self::Error> { in try_from() method
259 fn try_from(packet: NormalChild) -> Result<Parent, Self::Error> { in try_from() method
303 fn try_from(parent: &AliasChild) -> Result<NormalGrandChild1, Self::Error> { in try_from() method
[all …]
Dstruct_decl_grand_children_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
207 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
213 fn try_from(parent: Parent) -> Result<Child, Self::Error> { in try_from() method
219 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
232 fn try_from(packet: Child) -> Result<Parent, Self::Error> { in try_from() method
344 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
350 fn try_from(parent: Child) -> Result<GrandChild, Self::Error> { in try_from() method
356 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
369 fn try_from(packet: GrandChild) -> Result<Child, Self::Error> { in try_from() method
375 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dpacket_decl_grand_children_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
206 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
212 fn try_from(parent: Parent) -> Result<Child, Self::Error> { in try_from() method
218 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
231 fn try_from(packet: Child) -> Result<Parent, Self::Error> { in try_from() method
342 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
348 fn try_from(parent: Child) -> Result<GrandChild, Self::Error> { in try_from() method
354 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
367 fn try_from(packet: GrandChild) -> Result<Child, Self::Error> { in try_from() method
373 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dpacket_decl_grand_children_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
206 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
212 fn try_from(parent: Parent) -> Result<Child, Self::Error> { in try_from() method
218 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
231 fn try_from(packet: Child) -> Result<Parent, Self::Error> { in try_from() method
342 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
348 fn try_from(parent: Child) -> Result<GrandChild, Self::Error> { in try_from() method
354 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
367 fn try_from(packet: GrandChild) -> Result<Child, Self::Error> { in try_from() method
373 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dstruct_decl_grand_children_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
207 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
213 fn try_from(parent: Parent) -> Result<Child, Self::Error> { in try_from() method
219 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
232 fn try_from(packet: Child) -> Result<Parent, Self::Error> { in try_from() method
344 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
350 fn try_from(parent: Child) -> Result<GrandChild, Self::Error> { in try_from() method
356 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
369 fn try_from(packet: GrandChild) -> Result<Child, Self::Error> { in try_from() method
375 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dstruct_decl_child_structs_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
182 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
188 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
194 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
206 fn try_from(packet: Bar) -> Result<Foo, Self::Error> { in try_from() method
282 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
288 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
294 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
306 fn try_from(packet: Baz) -> Result<Foo, Self::Error> { in try_from() method
Dpacket_decl_child_packets_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
181 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
187 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
193 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
205 fn try_from(packet: Bar) -> Result<Foo, Self::Error> { in try_from() method
281 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
287 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
293 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
305 fn try_from(packet: Baz) -> Result<Foo, Self::Error> { in try_from() method
Dpacket_decl_child_packets_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
181 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
187 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
193 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
205 fn try_from(packet: Bar) -> Result<Foo, Self::Error> { in try_from() method
281 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
287 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
293 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
305 fn try_from(packet: Baz) -> Result<Foo, Self::Error> { in try_from() method
Dstruct_decl_child_structs_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
182 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
188 fn try_from(parent: Foo) -> Result<Bar, Self::Error> { in try_from() method
194 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
206 fn try_from(packet: Bar) -> Result<Foo, Self::Error> { in try_from() method
282 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
288 fn try_from(parent: Foo) -> Result<Baz, Self::Error> { in try_from() method
294 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
306 fn try_from(packet: Baz) -> Result<Foo, Self::Error> { in try_from() method
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/
Dstruct_decl_grand_children_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
87 fn try_from(packet: &Parent) -> Result<Self, Self::Error> { in try_from() method
93 fn try_from(packet: &Parent) -> Result<Self, Self::Error> { in try_from() method
219 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
225 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
238 fn try_from(packet: &Child) -> Result<Self, Self::Error> { in try_from() method
244 fn try_from(packet: &Child) -> Result<Self, Self::Error> { in try_from() method
348 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
354 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
367 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dstruct_decl_grand_children_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
87 fn try_from(packet: &Parent) -> Result<Self, Self::Error> { in try_from() method
93 fn try_from(packet: &Parent) -> Result<Self, Self::Error> { in try_from() method
219 fn try_from(parent: &Parent) -> Result<Child, Self::Error> { in try_from() method
225 fn try_from(packet: &Child) -> Result<Parent, Self::Error> { in try_from() method
238 fn try_from(packet: &Child) -> Result<Self, Self::Error> { in try_from() method
244 fn try_from(packet: &Child) -> Result<Self, Self::Error> { in try_from() method
348 fn try_from(parent: &Child) -> Result<GrandChild, Self::Error> { in try_from() method
354 fn try_from(packet: &GrandChild) -> Result<Child, Self::Error> { in try_from() method
367 fn try_from(packet: &GrandChild) -> Result<Parent, Self::Error> { in try_from() method
[all …]
Dstruct_decl_child_structs_little_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
86 fn try_from(packet: &Foo) -> Result<Self, Self::Error> { in try_from() method
92 fn try_from(packet: &Foo) -> Result<Self, Self::Error> { in try_from() method
194 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
200 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
212 fn try_from(packet: &Bar) -> Result<Self, Self::Error> { in try_from() method
218 fn try_from(packet: &Bar) -> Result<Self, Self::Error> { in try_from() method
286 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
292 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
304 fn try_from(packet: &Baz) -> Result<Self, Self::Error> { in try_from() method
[all …]
Dstruct_decl_child_structs_big_endian.rs36 fn try_from(value: u16) -> Result<Self, Self::Error> { in try_from() method
86 fn try_from(packet: &Foo) -> Result<Self, Self::Error> { in try_from() method
92 fn try_from(packet: &Foo) -> Result<Self, Self::Error> { in try_from() method
194 fn try_from(parent: &Foo) -> Result<Bar, Self::Error> { in try_from() method
200 fn try_from(packet: &Bar) -> Result<Foo, Self::Error> { in try_from() method
212 fn try_from(packet: &Bar) -> Result<Self, Self::Error> { in try_from() method
218 fn try_from(packet: &Bar) -> Result<Self, Self::Error> { in try_from() method
286 fn try_from(parent: &Foo) -> Result<Baz, Self::Error> { in try_from() method
292 fn try_from(packet: &Baz) -> Result<Foo, Self::Error> { in try_from() method
304 fn try_from(packet: &Baz) -> Result<Self, Self::Error> { in try_from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/gdbstub/src/protocol/common/
Dthread_id.rs29 fn try_from(s: &[u8]) -> Result<Self, ()> { in try_from() method
58 fn try_from(s: &[u8]) -> Result<Self, ()> { in try_from() method
70 fn try_from(s: &mut [u8]) -> Result<Self, ()> { in try_from() method
78 fn try_from(s: &mut [u8]) -> Result<Self, ()> { in try_from() method
106 fn try_from(id: IdKind) -> Result<SpecificIdKind, ()> { in try_from() method
118 fn try_from(thread: ThreadId) -> Result<SpecificThreadId, ()> { in try_from() method
141 fn try_from(thread: ThreadId) -> Result<ConcreteThreadId, ()> { in try_from() method
155 fn try_from(value: IdKind) -> Result<NonZeroUsize, ()> { in try_from() method
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/objects/
Djvalue.rs179 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
203 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
221 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
239 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
257 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
275 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
293 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
311 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
329 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
347 fn try_from(value: JValue<'a>) -> Result<Self> { in try_from() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/objects/
Djvalue.rs243 fn try_from(value: JValueOwned<'local>) -> Result<Self> { in try_from() method
267 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
285 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
303 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
321 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
339 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
357 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
375 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
393 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
411 fn try_from(value: JValueGen<O>) -> Result<Self> { in try_from() method
/aosp_15_r20/packages/modules/Virtualization/libs/libfdt/src/
Dsafe_types.rs110 fn try_from(value: u32) -> Result<Self> { in try_from() method
118 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
138 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
146 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
171 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
179 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
204 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
212 fn try_from(res: FdtRawResult) -> Result<Self> { in try_from() method
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
/aosp_15_r20/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
/aosp_15_r20/external/uwb/src/rust/uwb_core/src/uci/
H A Dresponse.rs117 fn try_from( in try_from() method
144 fn try_from(evt: uwb_uci_packets::CoreResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
183 fn try_from( in try_from() method
308 fn try_from( in try_from() method
331 fn try_from(evt: uwb_uci_packets::AndroidResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
360 fn try_from(evt: uwb_uci_packets::TestResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
/aosp_15_r20/out/soong/.intermediates/external/uwb/src/UwbGeneratedPackets_rust/gen/rust/uwb_uci_packets/
Duci_packets.rs35 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
110 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
195 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
272 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
363 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
456 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
552 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
626 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
695 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
768 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
[all …]

12345678910>>...22