Home
last modified time | relevance | path

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

/external/rust/crates/zip/src/
Dspec.rs111 let end_of_central_directory_offset = reader.read_u64::<LittleEndian>()?; in parse()
148 let _record_size = reader.read_u64::<LittleEndian>()?; in find_and_parse()
155 let number_of_files_on_this_disk = reader.read_u64::<LittleEndian>()?; in find_and_parse()
156 let number_of_files = reader.read_u64::<LittleEndian>()?; in find_and_parse()
157 let central_directory_size = reader.read_u64::<LittleEndian>()?; in find_and_parse()
158 let central_directory_offset = reader.read_u64::<LittleEndian>()?; in find_and_parse()
Dread.rs605 file.uncompressed_size = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
609 file.compressed_size = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
613 file.header_start = reader.read_u64::<LittleEndian>()?; in parse_extra_field()
/external/crosvm/fuzz/
Dqcow_fuzzer.rs22 let addr = read_u64(&mut disk_image);
23 let value = read_u64(&mut disk_image);
34 fn read_u64<T: Read>(readable: &mut T) -> u64 { in read_u64() function
Dblock_fuzzer.rs40 let first_index = read_u64(&mut data_image);
49 let command_addr = read_u64(&mut data_image);
64 let desc_table = read_u64(&mut data_image);
103 fn read_u64<T: Read>(readable: &mut T) -> u64 { in read_u64() function
/external/crosvm/x86_64/src/
Dregs.rs366 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64() function
377 assert_eq!(0x0, read_u64(&gm, BOOT_GDT_OFFSET)); in segments_and_sregs()
378 assert_eq!(0xaf9b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 8)); in segments_and_sregs()
379 assert_eq!(0xcf93000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 16)); in segments_and_sregs()
380 assert_eq!(0x8f8b000000ffff, read_u64(&gm, BOOT_GDT_OFFSET + 24)); in segments_and_sregs()
381 assert_eq!(0x0, read_u64(&gm, BOOT_IDT_OFFSET)); in segments_and_sregs()
402 assert_eq!(0xa003, read_u64(&gm, 0x9000)); in page_tables()
403 assert_eq!(0xb003, read_u64(&gm, 0xa000)); in page_tables()
405 assert_eq!((i << 21) + 0x83u64, read_u64(&gm, 0xb000 + i * 8)); in page_tables()
/external/crosvm/cros_async/src/
During_source.rs97 async fn read_u64(&self) -> AsyncResult<u64> { in read_u64() method
312 async fn read_u64<T: AsRawFd>(source: &UringSource<T>) -> u64 { in read_u64() function
328 assert_eq!(0u64, ex.run_until(read_u64(&source)).unwrap()); in u64_from_file()
338 read_u64(&wait).await; in event()
340 read_u64(&wait).await; in event()
342 read_u64(&wait).await; in event()
347 assert_eq!(read_u64(&source).await, 55); in event()
349 assert_eq!(read_u64(&source).await, 66); in event()
351 assert_eq!(read_u64(&source).await, 77); in event()
378 let pending = Box::pin(read_u64(&source)); in pend_on_pipe()
Dio_ext.rs69 async fn read_u64(&self) -> Result<u64>; in read_u64() method
350 source.read_u64().await.unwrap() in read_u64s()
364 source.read_u64().await.unwrap() in read_eventfds()
Devent.rs33 self.io_source.read_u64().await in next_val()
Dtimer.rs36 self.io_source.read_u64().await in next_val()
Dpoll_source.rs157 async fn read_u64(&self) -> AsyncResult<u64> { in read_u64() method
/external/rust/crates/rand_core/src/
Dblock.rs192 let read_u64 = |results: &[u32], index| { in next_u64() localVariable
203 read_u64(self.results.as_ref(), index) in next_u64()
206 read_u64(self.results.as_ref(), 0) in next_u64()
/external/avb/libavb_aftl/
Davb_aftl_util.c325 static bool read_u64(uint64_t* value, uint8_t** data, uint8_t* data_end) { in read_u64() function
377 if (!read_u64( in parse_trillian_log_root_descriptor()
405 if (!read_u64( in parse_trillian_log_root_descriptor()
412 if (!read_u64( in parse_trillian_log_root_descriptor()
588 if (!read_u64(&(leaf->timestamp), aftl_blob, blob_end)) { in parse_annotation_leaf()
645 if (!read_u64(&(icp_entry->leaf_index), aftl_blob, blob_end)) { in parse_icp_entry()
/external/rust/crates/ahash/src/
Dconvert.rs95 fn read_u64(&self) -> (u64, &[u8]); in read_u64() method
121 fn read_u64(&self) -> (u64, &[u8]) { in read_u64() method
Dfallback_hash.rs175 self.large_update([data.read_u64().0, data.read_last_u64()].convert()); in write()
Daes_hash.rs210 let value: [u64; 2] = [data.read_u64().0, data.read_last_u64()]; in write()
/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/tokio/src/io/util/
Dasync_read_ext.rs549 fn read_u64(&mut self) -> ReadU64;
/external/rust/crates/regex-automata/src/
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()
Ddense.rs1353 let start = S::from_usize(NativeEndian::read_u64(buf) as usize); in from_bytes()
1357 let state_count = NativeEndian::read_u64(buf) as usize; in from_bytes()
1361 let max_match = S::from_usize(NativeEndian::read_u64(buf) as usize); in from_bytes()
/external/rust/crates/byteorder/benches/
Dbench.rs129 bench_num!(u64, MAX, read_u64, write_u64, 8, [1, 2, 3, 4, 5, 6, 7, 8]);
/external/rust/crates/tokio/tests/
Dasync_send_sync.rs332 async_assert_fn!(tokio::io::AsyncReadExt::read_u64(&mut BoxAsyncRead): !Unpin);
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi6112 …<var-decl name="read_u64" type-id="ad13fd93" visibility="default" filepath="include/linux/cgroup-d…
74259 …<var-decl name="read_u64" type-id="ad13fd93" visibility="default" filepath="include/linux/cgroup-d…
Dtest-PR27569-v0.abi6112 …<var-decl name="read_u64" type-id="ad13fd93" visibility="default" filepath="include/linux/cgroup-d…
74245 …<var-decl name="read_u64" type-id="ad13fd93" visibility="default" filepath="include/linux/cgroup-d…