/external/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/ |
D | other_api.rs | 52 assert_eq!(r.as_u64(), 3); in as_num() 69 assert_eq!(b.as_u64(), 250); in as_num() 77 assert_eq!(c.as_u64(), 5000); in as_num() 82 assert_eq!(c.as_u64(), 5000); in as_num() 104 assert_eq!(v0.as_u64(), 0); in string_as_num() 116 assert_eq!(v1.as_u64(), 0); in string_as_num() 129 assert_eq!(v2.as_u64(), 42); in string_as_num() 146 assert_eq!(n.as_u64(), 0); in null_reader() 175 assert_eq!(Reader::get_root(s.as_ref()).unwrap().as_u64(), 0); in get_root_deref_u64()
|
D | rwyw.rs | 60 xs.iter().enumerate().all(|(i, &x)| r.idx(i).as_u64() == x) 290 assert_eq!(r.idx("b").as_u64(), u64::max_value() - 3); in map_64bit() 307 assert_eq!(r.idx("bar").as_u64(), 33); in index_map()
|
/external/rust/crates/libm/src/math/ |
D | rint.rs | 4 let as_u64: u64 = x.to_bits(); in rint() localVariable 5 let exponent: u64 = as_u64 >> 52 & 0x7ff; in rint() 6 let is_positive = (as_u64 >> 63) == 0; in rint()
|
/external/rust/crates/serde_json/src/lexical/ |
D | num.rs | 54 fn as_u64(self) -> u64; in as_u64() method 71 fn as_u64(self) -> u64 { 120 as_cast_impl!(u64, as_u64);
|
D | float.rs | 174 if (fp.exp == F::DENORMAL_EXPONENT) && (fp.mant & F::HIDDEN_BIT_MASK.as_u64()) == 0 { in into_float() 180 let mant = fp.mant & F::MANTISSA_MASK.as_u64(); in into_float()
|
/external/flatbuffers/rust/flexbuffers/src/reader/ |
D | mod.rs | 493 UInt => self.as_u64() != 0, in as_bool() 505 pub fn as_u64(&self) -> u64 { in as_u64() method 526 try_cast_fn!(as_u32, as_u64, u32); 527 try_cast_fn!(as_u16, as_u64, u16); 528 try_cast_fn!(as_u8, as_u64, u8); 605 UInt => write!(f, "{}", self.as_u64()), in fmt()
|
D | serialize.rs | 36 (UInt, W64) | (IndirectUInt, W64) => serializer.serialize_u64(self.as_u64()), in serialize()
|
D | de.rs | 180 (UInt, W64) => visitor.visit_u64(self.as_u64()), in deserialize_any()
|
/external/flatbuffers/tests/rust_usage_test/bin/ |
D | flexbuffers_alloc_check.rs | 95 assert_eq!(hammer.idx("damage").as_u64(), 20); in validate_monster() 100 assert_eq!(axe.idx("damage").as_u64(), 30); in validate_monster()
|
/external/rust/crates/tokio/src/runtime/ |
D | handle.rs | 257 crate::util::trace::task(future, "block_on", None, super::task::Id::next().as_u64()); in block_on() 278 let future = crate::util::trace::task(future, "task", _name, id.as_u64()); in spawn_named()
|
D | runtime.rs | 276 crate::runtime::task::Id::next().as_u64(), in block_on()
|
/external/rust/crates/der-parser/src/ber/ |
D | ber.rs | 448 pub fn as_u64(&self) -> Result<u64, BerError> { in as_u64() method 449 self.content.as_u64() in as_u64() 686 pub fn as_u64(&self) -> Result<u64, BerError> { in as_u64() method 1076 assert_eq!(der_obj.as_u64(), Ok(0x10002)); in test_der_as_u64() 1082 assert_eq!(ber_obj.as_u64(), Ok(0b011011100101110111)); in test_ber_as_u64_bitstring() 1087 ber_obj_with_nonzero_padding.as_u64(), in test_ber_as_u64_bitstring()
|
/external/rust/crates/tokio/src/task/ |
D | spawn.rs | 183 let task = crate::util::trace::task(future, "task", name, id.as_u64());
|
/external/rust/crates/tokio/src/runtime/task/ |
D | id.rs | 84 pub(crate) fn as_u64(&self) -> u64 { in as_u64() method
|
/external/rust/crates/serde_json/src/value/ |
D | mod.rs | 627 pub fn as_u64(&self) -> Option<u64> { in as_u64() method 629 Value::Number(n) => n.as_u64(), in as_u64()
|
D | partial_eq.rs | 9 value.as_u64().map_or(false, |i| i == other) in eq_u64()
|
/external/rust/crates/serde_json/tests/lexical/ |
D | num.rs | 7 let _: u64 = t.as_u64(); in check_as_primitive()
|
/external/flatbuffers/tests/rust_usage_test/benches/ |
D | flexbuffers_benchmarks.rs | 250 assert_eq!(hammer.idx("damage").as_u64(), 20); in validate_monster() 255 assert_eq!(axe.idx("damage").as_u64(), 30); in validate_monster()
|
/external/crosvm/hypervisor/src/haxm/ |
D | win.rs | 126 vcpu_run_handle.fingerprint().as_u64(), in take_run_handle()
|
D | unix.rs | 95 vcpu_run_handle.fingerprint().as_u64(), in take_run_handle()
|
/external/rust/crates/serde_json/src/ |
D | number.rs | 134 self.as_u64().is_some() in is_u64() 218 pub fn as_u64(&self) -> Option<u64> { in as_u64() method 486 if let Some(u) = self.as_u64() {
|
/external/rust/crates/der-parser/ |
D | CHANGELOG.md | 120 - Implement the `as_u64` and `as_u32` methods for BerObjects with contents of type `BerObjectConten… 275 - Add function `DerObject::as_u64`
|
/external/crosvm/hypervisor/src/gunyah/ |
D | mod.rs | 705 vcpu_run_handle.fingerprint().as_u64(), in take_run_handle() 740 != run_handle.fingerprint().as_u64() in run()
|
/external/crosvm/hypervisor/src/ |
D | lib.rs | 216 pub fn as_u64(&self) -> u64 { in as_u64() method
|
/external/rust/crates/tokio/src/runtime/blocking/ |
D | pool.rs | 372 task.id = id.as_u64(), in spawn_blocking_inner()
|