Home
last modified time | relevance | path

Searched refs:INTERNAL_START (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/rand_core/src/
Derror.rs42 pub const INTERNAL_START: u32 = 1 << 31; constant
95 Some(code) if u32::from(code) < Self::INTERNAL_START => Some(u32::from(code) as i32), in raw_os_error()
226 assert_eq!(super::Error::INTERNAL_START, getrandom::Error::INTERNAL_START); in test_error_codes()
/external/rust/crates/getrandom/src/
Derror.rs29 let code = Error::INTERNAL_START + (n as u32); in internal_error()
60 pub const INTERNAL_START: u32 = 1 << 31; constant
75 if self.0.get() < Self::INTERNAL_START { in raw_os_error()
/external/rust/crates/getrandom/tests/
Dcustom.rs20 NonZeroU32::new(Error::INTERNAL_START + 7).unwrap().into() in len7_err()
/external/rust/crates/rand_core/
DCHANGELOG.md35 - `Error::INTERNAL_START` and `Error::CUSTOM_START` constants (#864)
/external/rust/crates/getrandom/
DCHANGELOG.md163 - `Error::raw_os_error` method, `Error::INTERNAL_START` and