Home
last modified time | relevance | path

Searched refs:TryFromIntError (Results 1 – 25 of 45) sorted by relevance

12

/external/rust/android-crates-io/crates/icu_properties/src/
Dtrievalue.rs13 use core::num::TryFromIntError;
21 type TryFromU32Error = TryFromIntError;
33 type TryFromU32Error = TryFromIntError;
59 type TryFromU32Error = TryFromIntError;
71 type TryFromU32Error = TryFromIntError;
83 type TryFromU32Error = TryFromIntError;
95 type TryFromU32Error = TryFromIntError;
107 type TryFromU32Error = TryFromIntError;
119 type TryFromU32Error = TryFromIntError;
131 type TryFromU32Error = TryFromIntError;
[all …]
/external/rust/android-crates-io/crates/vulkano/src/memory/
Dalignment.rs111 type Error = TryFromIntError;
118 Err(TryFromIntError) in try_from()
124 type Error = TryFromIntError;
128 DeviceAlignment::new(alignment).ok_or(TryFromIntError) in try_from()
241 pub struct TryFromIntError; struct
243 impl Error for TryFromIntError {} implementation
245 impl Display for TryFromIntError { implementation
/external/rust/android-crates-io/crates/tracing-attributes/tests/
Derr.rs10 use std::num::TryFromIntError;
13 fn err() -> Result<u8, TryFromIntError> { in err()
18 fn err_suspicious_else() -> Result<u8, TryFromIntError> { in err_suspicious_else()
39 fn err_early_return() -> Result<u8, TryFromIntError> { in err_early_return()
60 async fn err_async(polls: usize) -> Result<u8, TryFromIntError> { in err_async() argument
94 fn err_mut(out: &mut u8) -> Result<(), TryFromIntError> { in err_mut() argument
115 async fn err_mut_async(polls: usize, out: &mut u8) -> Result<(), TryFromIntError> { in err_mut_async() argument
181 fn err_dbg() -> Result<u8, TryFromIntError> { in err_dbg()
262 fn err_info() -> Result<u8, TryFromIntError> { in err_info()
282 fn err_dbg_info() -> Result<u8, TryFromIntError> { in err_dbg_info()
[all …]
Dret.rs2 use std::num::TryFromIntError;
203 fn ret_and_err() -> Result<u8, TryFromIntError> { in ret_and_err()
232 fn ret_and_ok() -> Result<u8, TryFromIntError> { in ret_and_ok()
/external/rust/android-crates-io/crates/ciborium/src/value/
Dinteger.rs16 type Error = core::num::TryFromIntError;
107 type Error = core::num::TryFromIntError;
121 type Error = core::num::TryFromIntError;
137 type Error = core::num::TryFromIntError;
/external/crosvm/usb_util/src/
Derror.rs24 InvalidActualLength(num::TryFromIntError),
28 InvalidBufferLength(num::TryFromIntError),
/external/rust/beto-rust/nearby/presence/np_ffi_core/src/
Dv0.rs221 pub struct TryFromIntError; struct
223 impl From<core::num::TryFromIntError> for TryFromIntError { implementation
224 fn from(_: core::num::TryFromIntError) -> Self { in from()
230 type Error = TryFromIntError;
233 Self::iter().find(|t| *t as u8 == n).ok_or(TryFromIntError) in try_from()
/external/open-dice/dpe-rs/src/
Derror.rs57 impl From<core::num::TryFromIntError> for ErrCode {
58 fn from(_: core::num::TryFromIntError) -> Self { in from()
/external/crosvm/rutabaga_gfx/src/
Drutabaga_utils.rs10 use std::num::TryFromIntError;
342 TryFromIntError(TryFromIntError), enumerator
398 impl From<TryFromIntError> for RutabagaError {
399 fn from(e: TryFromIntError) -> RutabagaError { in from()
400 RutabagaError::TryFromIntError(e) in from()
/external/rust/android-crates-io/crates/der/src/
Derror.rs6 use core::{convert::Infallible, fmt, num::TryFromIntError};
103 impl From<TryFromIntError> for Error {
104 fn from(_: TryFromIntError) -> Error { in from()
/external/rust/android-crates-io/crates/icu_collections/src/codepointtrie/
Dcptrie.rs16 use core::num::TryFromIntError;
99 impl_primitive_trie_value!(u8, TryFromIntError);
100 impl_primitive_trie_value!(u16, TryFromIntError);
102 impl_primitive_trie_value!(i8, TryFromIntError);
103 impl_primitive_trie_value!(i16, TryFromIntError);
104 impl_primitive_trie_value!(i32, TryFromIntError);
/external/crosvm/disk/src/
Dgpt.rs10 use std::num::TryFromIntError;
40 InvalidDiskSize(TryFromIntError),
/external/rust/android-crates-io/crates/glam/src/u8/
Du8vec2.rs1723 type Error = core::num::TryFromIntError;
1732 type Error = core::num::TryFromIntError;
1741 type Error = core::num::TryFromIntError;
1750 type Error = core::num::TryFromIntError;
1759 type Error = core::num::TryFromIntError;
1768 type Error = core::num::TryFromIntError;
1777 type Error = core::num::TryFromIntError;
Du8vec3.rs1876 type Error = core::num::TryFromIntError;
1889 type Error = core::num::TryFromIntError;
1902 type Error = core::num::TryFromIntError;
1915 type Error = core::num::TryFromIntError;
1928 type Error = core::num::TryFromIntError;
1941 type Error = core::num::TryFromIntError;
1954 type Error = core::num::TryFromIntError;
Du8vec4.rs2004 type Error = core::num::TryFromIntError;
2018 type Error = core::num::TryFromIntError;
2032 type Error = core::num::TryFromIntError;
2046 type Error = core::num::TryFromIntError;
2060 type Error = core::num::TryFromIntError;
2074 type Error = core::num::TryFromIntError;
2088 type Error = core::num::TryFromIntError;
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/src/
Dbyteorder.rs74 num::TryFromIntError,
397 type Error = TryFromIntError;
399 fn try_from(x: $larger_native_try) -> Result<$name<O>, TryFromIntError> {
416 type Error = TryFromIntError;
418 fn try_from(x: $larger_byteorder_try<P>) -> Result<$name<O>, TryFromIntError> {
/external/rust/android-crates-io/extra_versions/crates/zerocopy/src/
Dbyteorder.rs74 num::TryFromIntError,
397 type Error = TryFromIntError;
399 fn try_from(x: $larger_native_try) -> Result<$name<O>, TryFromIntError> {
416 type Error = TryFromIntError;
418 fn try_from(x: $larger_byteorder_try<P>) -> Result<$name<O>, TryFromIntError> {
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/src/
Dbyteorder.rs74 num::TryFromIntError,
397 type Error = TryFromIntError;
399 fn try_from(x: $larger_native_try) -> Result<$name<O>, TryFromIntError> {
416 type Error = TryFromIntError;
418 fn try_from(x: $larger_byteorder_try<P>) -> Result<$name<O>, TryFromIntError> {
/external/rust/android-crates-io/crates/glam/src/i8/
Di8vec2.rs1889 type Error = core::num::TryFromIntError;
1898 type Error = core::num::TryFromIntError;
1907 type Error = core::num::TryFromIntError;
1916 type Error = core::num::TryFromIntError;
1925 type Error = core::num::TryFromIntError;
1934 type Error = core::num::TryFromIntError;
1943 type Error = core::num::TryFromIntError;
Di8vec3.rs2031 type Error = core::num::TryFromIntError;
2044 type Error = core::num::TryFromIntError;
2057 type Error = core::num::TryFromIntError;
2070 type Error = core::num::TryFromIntError;
2083 type Error = core::num::TryFromIntError;
2096 type Error = core::num::TryFromIntError;
2109 type Error = core::num::TryFromIntError;
/external/rust/android-crates-io/crates/icu_casemap/src/provider/
Ddata.rs9 use core::num::TryFromIntError;
282 type TryFromU32Error = TryFromIntError;
/external/rust/android-crates-io/crates/glam/src/u16/
Du16vec2.rs1730 type Error = core::num::TryFromIntError;
1739 type Error = core::num::TryFromIntError;
1748 type Error = core::num::TryFromIntError;
1757 type Error = core::num::TryFromIntError;
1766 type Error = core::num::TryFromIntError;
1775 type Error = core::num::TryFromIntError;
Du16vec3.rs1883 type Error = core::num::TryFromIntError;
1896 type Error = core::num::TryFromIntError;
1909 type Error = core::num::TryFromIntError;
1922 type Error = core::num::TryFromIntError;
1935 type Error = core::num::TryFromIntError;
1948 type Error = core::num::TryFromIntError;
/external/crosvm/third_party/vmm_vhost/src/
Dlib.rs35 use std::num::TryFromIntError;
96 InvalidCastToInt(TryFromIntError),
/external/rust/android-crates-io/crates/coset/src/common/
Dmod.rs80 impl core::convert::From<core::num::TryFromIntError> for CoseError {
81 fn from(_: core::num::TryFromIntError) -> Self { in from()

12