/external/rust/android-crates-io/crates/nix/src/ |
D | poll_timeout.rs | 67 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 …]
|
/external/rust/android-crates-io/crates/gdbstub/src/protocol/common/ |
D | thread_id.rs | 29 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
|
/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/rust/ |
D | packet_decl_parent_with_alias_child_big_endian.rs | 37 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 …]
|
D | packet_decl_parent_with_alias_child_little_endian.rs | 37 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 …]
|
D | packet_decl_grand_children_big_endian.rs | 36 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 …]
|
D | packet_decl_grand_children_little_endian.rs | 36 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 …]
|
D | struct_decl_grand_children_little_endian.rs | 36 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 …]
|
D | struct_decl_grand_children_big_endian.rs | 36 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 …]
|
D | struct_decl_child_structs_big_endian.rs | 36 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
|
D | struct_decl_child_structs_little_endian.rs | 36 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
|
D | packet_decl_child_packets_big_endian.rs | 36 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
|
/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/objects/ |
D | jvalue.rs | 179 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
|
/external/rust/android-crates-io/crates/jni/src/wrapper/objects/ |
D | jvalue.rs | 243 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
|
/external/rust/android-crates-io/crates/icu_collections/src/codepointinvlist/ |
D | conversions.rs | 38 fn try_from(range: Range<char>) -> Result<Self, Self::Error> { in try_from() method 46 fn try_from(range: RangeFrom<char>) -> Result<Self, Self::Error> { in try_from() method 54 fn try_from(_: RangeFull) -> Result<Self, Self::Error> { in try_from() method 62 fn try_from(range: RangeInclusive<char>) -> Result<Self, Self::Error> { in try_from() method 70 fn try_from(range: RangeTo<char>) -> Result<Self, Self::Error> { in try_from() method 78 fn try_from(range: RangeToInclusive<char>) -> Result<Self, Self::Error> { in try_from() method
|
/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/ |
D | struct_decl_grand_children_little_endian.rs | 36 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 …]
|
D | struct_decl_grand_children_big_endian.rs | 36 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 …]
|
D | struct_decl_child_structs_little_endian.rs | 36 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 …]
|
D | struct_decl_child_structs_big_endian.rs | 36 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 …]
|
/external/rust/android-crates-io/crates/icu_locale_core/tests/fixtures/ |
D | mod.rs | 49 fn try_from(input: LocaleExtensions) -> Result<Self, Self::Error> { in try_from() method 133 fn try_from(input: LocaleInfo) -> Result<Self, Self::Error> { in try_from() method 146 fn try_from(input: LocaleInfo) -> Result<Self, Self::Error> { in try_from() method 159 fn try_from(input: LocaleIdentifier) -> Result<Self, Self::Error> { in try_from() method 167 fn try_from(input: LocaleIdentifier) -> Result<Self, Self::Error> { in try_from() method 175 fn try_from(subtags: LocaleSubtags) -> Result<Self, Self::Error> { in try_from() method 204 fn try_from(subtags: LocaleSubtags) -> Result<Self, Self::Error> { in try_from() method
|
/external/rust/android-crates-io/crates/ciborium/src/value/ |
D | integer.rs | 110 fn try_from(value: i128) -> Result<Self, Self::Error> { in try_from() method 124 fn try_from(value: u128) -> Result<Self, Self::Error> { in try_from() method 140 fn try_from(value: Integer) -> Result<Self, Self::Error> { in try_from() method
|
/external/uwb/src/rust/uwb_core/src/uci/ |
D | response.rs | 117 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
|
/external/rust/android-crates-io/crates/pkcs1/src/ |
D | public_key.rs | 64 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method 73 fn try_from(spki: RsaPublicKey<'_>) -> Result<Document> { in try_from() method 82 fn try_from(spki: &RsaPublicKey<'_>) -> Result<Document> { in try_from() method
|
/external/rust/android-crates-io/crates/num_enum/ |
D | README.md | 55 ### Variant alternatives 121 ### Custom error types
|
/external/rust/android-crates-io/crates/num_enum_derive/ |
D | README.md | 55 ### Variant alternatives 121 ### Custom error types
|
/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/data_elements/de_type/ |
D | mod.rs | 39 pub(crate) const fn try_from(value: u8) -> Result<Self, DeTypeCodeOutOfRange> { in try_from() method 62 pub(crate) fn try_from(value: usize) -> Result<Self, DeLengthOutOfRange> { in try_from() method 92 pub(crate) fn try_from(value: u8) -> Result<Self, DeLengthOutOfRange> { in try_from() method
|