Home
last modified time | relevance | path

Searched refs:read_u64 (Results 1 – 25 of 43) sorted by relevance

12

/external/crosvm/x86_64/src/
Dregs.rs335 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64() function
346 assert_eq!(0x0, read_u64(&gm, BOOT_GDT_OFFSET)); in segments_and_sregs()
347 assert_eq!(0xaf9b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 8)); in segments_and_sregs()
348 assert_eq!(0xcf93000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 16)); in segments_and_sregs()
349 assert_eq!(0x8f8b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 24)); in segments_and_sregs()
350 assert_eq!(0x0, read_u64(&gm, BOOT_IDT_OFFSET)); in segments_and_sregs()
371 assert_eq!(0xa003, read_u64(&gm, 0x9000)); in page_tables()
372 assert_eq!(0xb003, read_u64(&gm, 0xa000)); in page_tables()
374 assert_eq!((i << 21) + 0x83u64, read_u64(&gm, 0xb000 + i * 8)); in page_tables()
/external/crosvm/crosvm-fuzz/
Dblock_fuzzer.rs47 let first_index = read_u64(&mut data_image);
56 let command_addr = read_u64(&mut data_image);
71 let desc_table = read_u64(&mut data_image);
119 fn read_u64<T: Read>(readable: &mut T) -> u64 { in read_u64() function
Dqcow_fuzzer.rs28 let addr = read_u64(&mut disk_image);
29 let value = read_u64(&mut disk_image);
41 fn read_u64<T: Read>(readable: &mut T) -> u64 { in read_u64() function
/external/rust/crates/zip/src/
Dspec.rs126 let end_of_central_directory_offset = reader.read_u64::<LittleEndian>()?; in parse()
171 let _record_size = reader.read_u64::<LittleEndian>()?; in find_and_parse()
178 let number_of_files_on_this_disk = reader.read_u64::<LittleEndian>()?; in find_and_parse()
179 let number_of_files = reader.read_u64::<LittleEndian>()?; in find_and_parse()
180 let central_directory_size = reader.read_u64::<LittleEndian>()?; in find_and_parse()
181 let central_directory_offset = reader.read_u64::<LittleEndian>()?; in find_and_parse()
Dread.rs754 file.uncompressed_size = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
759 file.compressed_size = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
763 file.header_start = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
/external/crosvm/cros_async/src/sys/unix/
During_source.rs74 pub async fn read_u64(&self) -> AsyncResult<u64> { in read_u64() method
194 self.read_u64().await in wait_for_handle()
259 async fn read_u64<T: AsRawDescriptor>(source: &UringSource<T>) -> u64 { in read_u64() function
281 read_u64(&wait).await; in event()
283 read_u64(&wait).await; in event()
285 read_u64(&wait).await; in event()
290 assert_eq!(read_u64(&source).await, 55); in event()
292 assert_eq!(read_u64(&source).await, 66); in event()
294 assert_eq!(read_u64(&source).await, 77); in event()
325 let pending = Box::pin(read_u64(&source)); in pend_on_pipe()
Devent.rs23 self.io_source.read_u64().await in next_val()
Dpoll_source.rs189 pub async fn read_u64(&self) -> AsyncResult<u64> { in read_u64() method
354 self.read_u64().await in wait_for_handle()
/external/rust/crates/base64/src/engine/general_purpose/
Dmod.rs73 let input_u64 = read_u64(&input_chunk[0..]); in internal_encode()
84 let input_u64 = read_u64(&input_chunk[6..]); in internal_encode()
95 let input_u64 = read_u64(&input_chunk[12..]); in internal_encode()
106 let input_u64 = read_u64(&input_chunk[18..]); in internal_encode()
225 fn read_u64(s: &[u8]) -> u64 { in read_u64() function
/external/rust/crates/regex-automata/src/
Dbyteorder.rs6 fn read_u64(buf: &[u8]) -> u64; in read_u64() method
32 fn read_u64(buf: &[u8]) -> u64 {
Dstate_id.rs284 NativeEndian::read_u64(slice) in read_bytes()
Dsparse.rs904 let start = S::from_usize(NativeEndian::read_u64(buf) as usize); in from_bytes()
908 let state_count = NativeEndian::read_u64(buf) as usize; in from_bytes()
912 let max_match = S::from_usize(NativeEndian::read_u64(buf) as usize); in from_bytes()
/external/rust/crates/bitreader/src/
Dlib.rs213 pub fn read_u64(&mut self, bit_count: u8) -> Result<u64> { in read_u64() method
220 self.relative_reader().read_u64(bit_count) in peek_u64()
457 impl_read_into!(u64, read_u64);
Dtests.rs135 assert_eq!(reader.read_u64(64).unwrap(), 0x4a1e39bbd007ca9a); in try_all_sizes()
136 assert_eq!(reader.read_u64(64).unwrap(), 0xa6ba25526f0a6aba); in try_all_sizes()
/external/rust/crates/ahash/src/
Dconvert.rs79 fn read_u64(&self) -> (u64, &[u8]); in read_u64() method
105 fn read_u64(&self) -> (u64, &[u8]) { in read_u64() method
Dfallback_hash.rs187 self.large_update([data.read_u64().0, data.read_last_u64()].convert()); in write()
/external/crosvm/cros_async/src/
Dio_source.rs113 pub async fn read_u64(&self) -> AsyncResult<u64> { in read_u64() method
114 await_on_inner!(self, read_u64) in read_u64()
325 source.read_u64().await.unwrap() in read_u64s()
/external/rust/crates/rand_core/src/
Dblock.rs198 let read_u64 = |results: &[u32], index| { in next_u64() localVariable
209 read_u64(self.results.as_ref(), index) in next_u64()
212 read_u64(self.results.as_ref(), 0) in next_u64()
/external/rust/crates/protobuf/src/text_format/
Dparse.rs84 fn read_u64(&mut self) -> ParseResult<u64> { in read_u64() method
233 RuntimeType::U64 => ReflectValueBox::U64(self.read_u64()?), in read_value_of_type()
/external/rust/crates/byteorder/src/
Dlib.rs305 fn read_u64(buf: &[u8]) -> u64; in read_u64() method
631 Self::read_u64(buf) as i64 in read_i64()
745 f64::from_bits(Self::read_u64(buf)) in read_f64()
1982 fn read_u64(buf: &[u8]) -> u64 { in read_u64() method
2198 fn read_u64(buf: &[u8]) -> u64 { in read_u64() method
2596 read_u64,
3102 too_small!(small_u64, 7, 0, read_u64, write_u64);
3350 let x = BigEndian::read_u64(&xs); in regression173_array_impl()
3367 let x = LittleEndian::read_u64(&xs); in regression173_array_impl()
3535 read_u64,
Dio.rs321 fn read_u64<T: ByteOrder>(&mut self) -> Result<u64> { in read_u64() method
324 Ok(T::read_u64(&buf)) in read_u64()
/external/rust/crates/bitreader/
DREADME.md23 …ing the multi-byte values. BitReader supports reading maximum of 64 bits at a time (with read_u64).
/external/rust/crates/tokio/src/io/util/
Dasync_read_ext.rs576 fn read_u64(&mut self) -> ReadU64;
/external/rust/crates/fxhash/
Dlib.rs90 let n = NativeEndian::read_u64(bytes); in write64()
/external/rust/crates/byteorder/benches/
Dbench.rs129 bench_num!(u64, MAX, read_u64, write_u64, 8, [1, 2, 3, 4, 5, 6, 7, 8]);

12