Home
last modified time | relevance | path

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

/system/security/keystore2/src/crypto/
Dzvec.rs118 fn try_from(v: &[u8]) -> Result<Self, Self::Error> { in try_from() method
130 fn try_from(mut v: Vec<u8>) -> Result<Self, Self::Error> { in try_from() method
/system/security/keystore2/src/
Dkey_parameter.rs235 fn try_from(p: Primitive) -> Result<i64, Self::Error> { in try_from() method
245 fn try_from(p: Primitive) -> Result<i32, Self::Error> { in try_from() method
255 fn try_from(p: Primitive) -> Result<Vec<u8>, Self::Error> { in try_from() method
Ddatabase.rs473 fn try_from(t: SystemTime) -> Result<Self, Self::Error> { in try_from() method
/system/cros-codecs/src/backend/
Dvaapi.rs147 fn try_from(value: &libva::VAImageFormat) -> Result<Self, Self::Error> { in try_from() method
/system/cros-codecs/src/codec/vp9/
Dparser.rs68 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
91 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
112 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
133 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
155 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
181 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
206 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/system/cros-codecs/src/codec/av1/
Dparser.rs91 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
125 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
358 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
404 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
441 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
474 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
508 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
723 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
746 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
768 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
[all …]
/system/keymint/common/src/crypto/
Dec.rs108 fn try_from(curve: EcCurve) -> Result<NistCurve, Error> { in try_from() method
/system/authgraph/core/src/
Dkey.rs106 fn try_from(payload: arc::ArcPayload) -> Result<AesKey, Self::Error> { in try_from() method
172 fn try_from(v: &[u8]) -> Result<Self, Self::Error> { in try_from() method
/system/cros-codecs/src/codec/h264/
Dparser.rs85 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
494 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
553 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
594 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
/system/cros-codecs/src/codec/h265/
Dparser.rs119 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
299 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
339 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() method
1500 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/system/keymint/wire/src/
Dkeymint.rs75 fn try_from(v: i32) -> Result<Self, Self::Error> { in try_from() method