Home
last modified time | relevance | path

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

123456

/external/rust/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
/external/rust/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
/external/rust/crates/ciborium/src/value/
Dinteger.rs51 fn try_from(value: i128) -> Result<Self, Self::Error> { in try_from() method
65 fn try_from(value: u128) -> Result<Self, Self::Error> { in try_from() method
81 fn try_from(value: Integer) -> Result<Self, Self::Error> { in try_from() method
/external/uwb/src/rust/uwb_core/src/uci/
Dresponse.rs97 fn try_from(evt: uwb_uci_packets::UciResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
116 fn try_from(evt: uwb_uci_packets::CoreResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
151 fn try_from( in try_from() method
211 fn try_from( in try_from() method
234 fn try_from(evt: uwb_uci_packets::AndroidResponse) -> std::result::Result<Self, Self::Error> { in try_from() method
Dnotification.rs166 fn try_from(evt: uwb_uci_packets::UciDataPacket) -> std::result::Result<Self, Self::Error> { in try_from() method
196 fn try_from(evt: uwb_uci_packets::UciNotification) -> std::result::Result<Self, Self::Error> { in try_from() method
223 fn try_from(evt: uwb_uci_packets::CoreNotification) -> std::result::Result<Self, Self::Error> { in try_from() method
240 fn try_from( in try_from() method
267 fn try_from( in try_from() method
294 fn try_from(evt: uwb_uci_packets::SessionInfoNtf) -> std::result::Result<Self, Self::Error> { in try_from() method
397 fn try_from( in try_from() method
Dmessage.rs31 fn try_from(packet: uwb_uci_packets::UciControlPacket) -> Result<Self, Self::Error> { in try_from() method
/external/rust/crates/pkcs1/src/
Dpublic_key.rs56 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
66 fn try_from(spki: RsaPublicKey<'_>) -> Result<Document> { in try_from() method
76 fn try_from(spki: &RsaPublicKey<'_>) -> Result<Document> { in try_from() method
Dprivate_key.rs155 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
175 fn try_from(private_key: RsaPrivateKey<'_>) -> Result<SecretDocument> { in try_from() method
185 fn try_from(private_key: &RsaPrivateKey<'_>) -> Result<SecretDocument> { in try_from() method
/external/rust/crates/der/src/asn1/
Dgeneralized_time.rs168 fn try_from(any: AnyRef<'_>) -> Result<GeneralizedTime> { in try_from() method
236 fn try_from(time: SystemTime) -> Result<GeneralizedTime> { in try_from() method
246 fn try_from(time: &SystemTime) -> Result<GeneralizedTime> { in try_from() method
256 fn try_from(any: AnyRef<'a>) -> Result<SystemTime> { in try_from() method
306 fn try_from(time: PrimitiveDateTime) -> Result<GeneralizedTime> { in try_from() method
316 fn try_from(time: &PrimitiveDateTime) -> Result<GeneralizedTime> { in try_from() method
326 fn try_from(time: GeneralizedTime) -> Result<PrimitiveDateTime> { in try_from() method
Dutc_time.rs169 fn try_from(datetime: DateTime) -> Result<Self> { in try_from() method
177 fn try_from(datetime: &DateTime) -> Result<Self> { in try_from() method
193 fn try_from(any: AnyRef<'_>) -> Result<UtcTime> { in try_from() method
Dnull.rs47 fn try_from(any: AnyRef<'_>) -> Result<Null> { in try_from() method
55 fn try_from(any: AnyRef<'_>) -> Result<()> { in try_from() method
Dutf8_string.rs93 fn try_from(any: AnyRef<'a>) -> Result<Utf8StringRef<'a>> { in try_from() method
119 fn try_from(any: AnyRef<'a>) -> Result<&'a str> { in try_from() method
153 fn try_from(any: AnyRef<'a>) -> Result<String> { in try_from() method
/external/rust/crates/spki/src/
Dspki.rs103 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
122 fn try_from(spki: SubjectPublicKeyInfo<'_>) -> Result<Document> { in try_from() method
132 fn try_from(spki: &SubjectPublicKeyInfo<'_>) -> Result<Document> { in try_from() method
/external/rust/crates/sec1/src/
Dprivate_key.rs126 fn try_from(bytes: &'a [u8]) -> Result<EcPrivateKey<'a>> { in try_from() method
145 fn try_from(private_key: EcPrivateKey<'_>) -> Result<Self> { in try_from() method
155 fn try_from(private_key: &EcPrivateKey<'_>) -> Result<Self> { in try_from() method
/external/rust/crates/pkcs8/src/
Dencrypted_private_key_info.rs129 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
147 fn try_from(encrypted_private_key: EncryptedPrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from() method
157 fn try_from(encrypted_private_key: &EncryptedPrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from() method
Dprivate_key_info.rs230 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
250 fn try_from(private_key: PrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from() method
260 fn try_from(private_key: &PrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from() method
/external/rust/crates/x509-cert/src/
Drequest.rs56 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
87 fn try_from(bytes: &'a [u8]) -> Result<Self, Self::Error> { in try_from() method
Dtime.rs102 fn try_from(time: SystemTime) -> Result<Time> { in try_from() method
143 fn try_from(bytes: &'a [u8]) -> Result<Self> { in try_from() method
/external/rust/crates/openssl/src/
Dpkey.rs800 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
808 fn try_from(pkey: PKey<T>) -> Result<EcKey<T>, ErrorStack> { in try_from() method
816 fn try_from(rsa: Rsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
824 fn try_from(pkey: PKey<T>) -> Result<Rsa<T>, ErrorStack> { in try_from() method
832 fn try_from(dsa: Dsa<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
840 fn try_from(pkey: PKey<T>) -> Result<Dsa<T>, ErrorStack> { in try_from() method
848 fn try_from(dh: Dh<T>) -> Result<PKey<T>, ErrorStack> { in try_from() method
856 fn try_from(pkey: PKey<T>) -> Result<Dh<T>, ErrorStack> { in try_from() method
/external/rust/crates/der/src/
Ddatetime.rs317 fn try_from(time: SystemTime) -> Result<DateTime> { in try_from() method
327 fn try_from(time: &SystemTime) -> Result<DateTime> { in try_from() method
337 fn try_from(time: DateTime) -> Result<PrimitiveDateTime> { in try_from() method
351 fn try_from(time: PrimitiveDateTime) -> Result<DateTime> { in try_from() method
Ddocument.rs181 fn try_from(der_bytes: &[u8]) -> Result<Self> { in try_from() method
189 fn try_from(der_bytes: Vec<u8>) -> Result<Self> { in try_from() method
315 fn try_from(der_bytes: &[u8]) -> Result<Self> { in try_from() method
324 fn try_from(der_bytes: Vec<u8>) -> Result<Self> { in try_from() method
/external/rust/crates/webpki/src/
Dtime.rs60 fn try_from(value: std::time::SystemTime) -> Result<Self, Self::Error> { in try_from() method
/external/crosvm/media/libva/src/
Dgeneric_value.rs26 fn try_from(value: bindings::VAGenericValue) -> Result<Self, Self::Error> { in try_from() method
/external/crosvm/tools/audio_streams_conformance_test/src/sys/
Dwindows.rs19 fn try_from(s: &str) -> Result<Self, Self::Error> { in try_from() method
/external/rust/crates/psci/src/
Dlib.rs103 fn try_from(value: i32) -> Result<Self, Error> { in try_from() method
127 fn try_from(value: i32) -> Result<Self, Error> { in try_from() method
151 fn try_from(value: i32) -> Result<Self, Error> { in try_from() method

123456