/third_party/rust/crates/minimal-lexical/src/ |
D | libm.rs | 235 t1 = f32::from_bits(is as u32 & 0xfffff000); in powf() 266 ax = f32::from_bits(ix as u32); in powf() 274 s_h = f32::from_bits(is as u32 & 0xfffff000); in powf() 277 t_h = f32::from_bits(is as u32 + 0x00400000 + ((k as u32) << 21)); in powf() 287 t_h = f32::from_bits(is as u32 & 0xfffff000); in powf() 295 p_h = f32::from_bits(is as u32 & 0xfffff000); in powf() 303 t1 = f32::from_bits(is as u32 & 0xfffff000); in powf() 309 y1 = f32::from_bits(is as u32 & 0xfffff000); in powf() 343 t = f32::from_bits(n as u32 & !(0x007fffff >> k)); in powf() 352 t = f32::from_bits(is as u32 & 0xffff8000); in powf() [all …]
|
D | num.rs | 144 fn from_bits(u: u64) -> Self; in from_bits() method 240 fn from_bits(u: u64) -> f32 { in from_bits() method 243 f32::from_bits(u as u32) in from_bits() 288 fn from_bits(u: u64) -> f64 { in from_bits() method 289 f64::from_bits(u) in from_bits()
|
D | extended_float.rs | 23 F::from_bits(word) in extended_to_float()
|
/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/ |
D | parse.rs | 141 let mut float = F::from_bits(F::EXPONENT_MASK | (F::HIDDEN_BIT_MASK >> 1)); in parse_float() 147 let mut float = F::from_bits(F::EXPONENT_MASK); in parse_float() 153 let mut float = F::from_bits(F::EXPONENT_MASK); in parse_float()
|
/third_party/rust/crates/minimal-lexical/tests/ |
D | integration_tests.rs | 141 let mut float = F::from_bits(F::EXPONENT_MASK | (F::HIDDEN_BIT_MASK >> 1)); in parse_float() 147 let mut float = F::from_bits(F::EXPONENT_MASK); in parse_float() 153 let mut float = F::from_bits(F::EXPONENT_MASK); in parse_float()
|
/third_party/rust/crates/nix/src/ |
D | poll.rs | 37 PollFlags::from_bits(self.pollfd.revents) in revents() 62 PollFlags::from_bits(self.pollfd.events).unwrap() in events()
|
/third_party/rust/crates/bitflags/src/ |
D | lib.rs | 552 pub const fn from_bits(bits: $T) -> $crate::_core::option::Option<Self> { 996 assert_eq!(Flags::from_bits(0), Some(Flags::empty())); in test_from_bits() 997 assert_eq!(Flags::from_bits(0b1), Some(Flags::A)); in test_from_bits() 998 assert_eq!(Flags::from_bits(0b10), Some(Flags::B)); in test_from_bits() 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1000 assert_eq!(Flags::from_bits(0b1000), None); in test_from_bits() 1003 AnotherSetOfFlags::from_bits(!0_i8), in test_from_bits() 1007 assert_eq!(EmptyFlags::from_bits(0), Some(EmptyFlags::empty())); in test_from_bits() 1008 assert_eq!(EmptyFlags::from_bits(0b1), None); in test_from_bits()
|
/third_party/rust/crates/rustix/src/process/ |
D | prctl.rs | 191 UnalignedAccessControl::from_bits(r).ok_or(io::Errno::RANGE) in unaligned_access_control() 232 FloatingPointEmulationControl::from_bits(r).ok_or(io::Errno::RANGE) in floating_point_emulation_control() 290 .map(FloatingPointExceptionMode::from_bits) in floating_point_exception_mode() 965 Ok(SpeculationFeatureState::from_bits(r)) in speculative_feature_state() 1048 PointerAuthenticationKeys::from_bits(r).ok_or(io::Errno::RANGE) in enabled_pointer_authentication_keys()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/ |
D | f32.rs | 11 let input = f32::from_bits(i as u32); in main()
|
D | smoke.rs | 19 let input = f64::from_bits(rng.next_u64()); in main()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | poll_fd.rs | 84 PollFlags::from_bits(self.revents).unwrap() in revents()
|
/third_party/rust/crates/nix/src/sys/ |
D | event.rs | 254 EventFlag::from_bits(self.kevent.flags).unwrap() in flags() 258 FilterFlag::from_bits(self.kevent.fflags).unwrap() in fflags()
|
D | epoll.rs | 65 EpollFlags::from_bits(self.event.events as c_int).unwrap() in events()
|
D | stat.rs | 236 Mode::from_bits(prev).expect("[BUG] umask returned invalid Mode") in umask()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | poll_fd.rs | 114 PollFlags::from_bits(self.pollfd.revents).unwrap() in revents()
|
/third_party/rust/crates/rustix/src/thread/ |
D | prctl.rs | 451 CapabilitiesSecureBits::from_bits(r).ok_or(io::Errno::RANGE) in capabilities_secure_bits() 761 Ok((TaggedAddressMode::from_bits(mode), mte_tag)) in current_tagged_address_mode()
|
/third_party/rust/crates/nom/src/number/ |
D | complete.rs | 1168 Ok((i, o)) => Ok((i, f32::from_bits(o))), in be_f32() 1194 Ok((i, o)) => Ok((i, f64::from_bits(o))), in be_f64() 1220 Ok((i, o)) => Ok((i, f32::from_bits(o))), in le_f32() 1246 Ok((i, o)) => Ok((i, f64::from_bits(o))), in le_f64()
|
D | streaming.rs | 1141 Ok((i, o)) => Ok((i, f32::from_bits(o))), in be_f32() 1166 Ok((i, o)) => Ok((i, f64::from_bits(o))), in be_f64() 1191 Ok((i, o)) => Ok((i, f32::from_bits(o))), in le_f32() 1216 Ok((i, o)) => Ok((i, f64::from_bits(o))), in le_f64()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
D | to_toml.py | 51 def from_bits(cls, value): member in FloatMixin
|
/third_party/rust/crates/bitflags/ |
D | CHANGELOG.md | 29 - Make `from_bits` a const fn ([#229])
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | mod.rs | 1891 SslVerifyMode::from_bits(mode).expect("SSL_CTX_get_verify_mode returned invalid mode") in verify_mode() 2332 SslVerifyMode::from_bits(mode).expect("SSL_get_verify_mode returned invalid mode") in verify_mode()
|