Home
last modified time | relevance | path

Searched defs:u64 (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/external/rust/crates/ryu/src/
Dd2s_intrinsics.rs26 pub fn umul128(a: u64, b: u64) -> (u64, u64) { in umul128()
56 pub fn shiftright128(lo: u64, hi: u64, dist: u32) -> u64 { in shiftright128()
64 pub fn div5(x: u64) -> u64 { in div5()
69 pub fn div10(x: u64) -> u64 { in div10()
74 pub fn div100(x: u64) -> u64 { in div100()
96 pub fn multiple_of_power_of_5(value: u64, p: u32) -> bool { in multiple_of_power_of_5()
103 pub fn multiple_of_power_of_2(value: u64, p: u32) -> bool { in multiple_of_power_of_2()
112 pub fn mul_shift_64(m: u64, mul: &(u64, u64), j: u32) -> u64 { in mul_shift_64() argument
121 m: u64, in mul_shift_all_64()
122 mul: &(u64, u64), in mul_shift_all_64() argument
[all …]
Dd2s_small_table.rs101 pub unsafe fn compute_pow5(i: u32) -> (u64, u64) { in compute_pow5()
125 pub unsafe fn compute_inv_pow5(i: u32) -> (u64, u64) { in compute_inv_pow5()
149 pub unsafe fn compute_pow5(i: u32) -> (u64, u64) { in compute_pow5()
179 pub unsafe fn compute_inv_pow5(i: u32) -> (u64, u64) { in compute_inv_pow5()
/external/rust/crates/tokio/src/loom/std/
Datomic_u64.rs33 pub(crate) fn load(&self, _: Ordering) -> u64 { in load()
37 pub(crate) fn store(&self, val: u64, _: Ordering) { in store()
41 pub(crate) fn fetch_or(&self, val: u64, _: Ordering) -> u64 { in fetch_or()
50 current: u64, in compare_exchange()
51 new: u64, in compare_exchange()
54 ) -> Result<u64, u64> { in compare_exchange() argument
67 current: u64, in compare_exchange_weak()
68 new: u64, in compare_exchange_weak()
71 ) -> Result<u64, u64> { in compare_exchange_weak() argument
/external/crosvm/resources/src/
Daddress_allocator.rs42 pub fn new(pool_base: u64, pool_size: u64, align_size: Option<u64>) -> Result<Self> { in new()
70 size: u64, in allocate_with_align()
73 alignment: u64, in allocate_with_align()
74 ) -> Result<u64> { in allocate_with_align()
121 pub fn allocate(&mut self, size: u64, alloc: Alloc, tag: String) -> Result<u64> { in allocate()
129 pub fn allocate_at(&mut self, start: u64, size: u64, alloc: Alloc, tag: String) -> Result<()> { in allocate_at()
168 pub fn get(&self, alloc: &Alloc) -> Option<&(u64, u64, String)> { in get()
173 fn insert_at(&mut self, start: u64, size: u64) -> Result<()> { in insert_at()
220 pub fn address_from_pci_offset(&self, alloc: Alloc, offset: u64, size: u64) -> Result<u64> { in address_from_pci_offset()
256 size: u64, in allocate_with_align()
[all …]
Dsystem_allocator.rs73 io_base: Option<u64>, in new()
74 io_size: Option<u64>, in new()
75 high_base: u64, in new()
76 high_size: u64, in new()
77 low_base: u64, in new()
78 low_size: u64, in new()
206 pub fn add_io_addresses(mut self, base: u64, size: u64) -> Self { in add_io_addresses()
212 pub fn add_low_mmio_addresses(mut self, base: u64, size: u64) -> Self { in add_low_mmio_addresses()
218 pub fn add_high_mmio_addresses(mut self, base: u64, size: u64) -> Self { in add_high_mmio_addresses()
/external/rust/crates/ahash/src/
Dspecialize.rs31 fn get_hash<H: Hasher>(value: &Self, hasher: H) -> u64; in get_hash()
40 fn get_hash<H: Hasher>(value: &T, mut hasher: H) -> u64 { in get_hash()
52 default fn get_hash<H: Hasher>(value: &T, mut hasher: H) -> u64 { in get_hash()
95 fn get_hash<H: Hasher>(value: &u128, mut hasher: H) -> u64 { in get_hash()
104 fn get_hash<H: Hasher>(value: &&u128, mut hasher: H) -> u64 { in get_hash()
113 fn get_hash<H: Hasher>(value: &&&u128, mut hasher: H) -> u64 { in get_hash()
122 fn get_hash<H: Hasher>(value: &i128, mut hasher: H) -> u64 { in get_hash()
131 fn get_hash<H: Hasher>(value: &&i128, mut hasher: H) -> u64 { in get_hash()
140 fn get_hash<H: Hasher>(value: &&&i128, mut hasher: H) -> u64 { in get_hash()
149 fn get_hash<H: Hasher>(value: &Self, mut hasher: H) -> u64 { in get_hash()
[all …]
Dlib.rs122 fn hash_u64(self, value: u64) -> u64; in hash_u64()
125 fn short_finish(&self) -> u64; in short_finish()
131 default fn hash_u64(mut self, value: u64) -> u64 { in hash_u64()
138 fn hash_u64(mut self, value: u64) -> u64 { in hash_u64()
145 default fn short_finish(&self) -> u64 { in short_finish()
150 fn short_finish(&self) -> u64 { in short_finish()
/external/crosvm/disk/src/qcow/
Dqcow_raw_file.rs38 offset: u64, in read_pointer_table()
39 count: u64, in read_pointer_table()
40 mask: Option<u64>, in read_pointer_table()
41 ) -> io::Result<Vec<u64>> { in read_pointer_table()
55 pub fn read_pointer_cluster(&mut self, offset: u64, mask: Option<u64>) -> io::Result<Vec<u64>> { in read_pointer_cluster()
65 offset: u64, in write_pointer_table()
66 table: &[u64], in write_pointer_table()
67 non_zero_flags: u64, in write_pointer_table()
97 pub fn write_refcount_block(&mut self, offset: u64, table: &[u16]) -> io::Result<()> { in write_refcount_block()
107 pub fn add_cluster_end(&mut self, max_valid_cluster_offset: u64) -> io::Result<Option<u64>> { in add_cluster_end()
[all …]
Drefcount.rs67 refcount_table_offset: u64, in new()
68 refcount_table_entries: u64, in new()
69 refcount_block_entries: u64, in new()
70 cluster_size: u64, in new()
90 pub fn refcounts_per_block(&self) -> u64 { in refcounts_per_block()
95 pub fn max_valid_cluster_offset(&self) -> u64 { in max_valid_cluster_offset()
107 cluster_address: u64, in set_cluster_refcount()
109 mut new_cluster: Option<(u64, VecCache<u16>)>, in set_cluster_refcount()
110 ) -> Result<Option<u64>> { in set_cluster_refcount()
188 address: u64, in get_cluster_refcount()
[all …]
Dmod.rs213 fn read_u64_from_file(mut f: &File) -> Result<u64> { in read_u64_from_file()
269 pub fn create_for_size_and_path(size: u64, backing_file: Option<&str>) -> Result<QcowHeader> { in create_for_size_and_path()
380 fn max_refcount_clusters(refcount_order: u32, cluster_size: u32, num_clusters: u32) -> u64 { in max_refcount_clusters()
632 pub fn l1_table(&self) -> &[u64] { in l1_table()
637 pub fn l2_table(&mut self, l1_index: usize) -> Result<Option<&[u64]>> { in l2_table()
669 pub fn ref_table(&self) -> &[u64] { in ref_table()
681 pub fn first_zero_refcount(&mut self) -> Result<Option<u64>> { in first_zero_refcount()
729 fn add_ref(refcounts: &mut [u16], cluster_size: u64, cluster_address: u64) -> Result<()> { in rebuild_refcounts()
747 cluster_size: u64, in rebuild_refcounts()
761 cluster_size: u64, in rebuild_refcounts()
[all …]
/external/rust/crates/nix/src/sys/
Dquota.rs120 pub fn blocks_hard_limit(&self) -> Option<u64> { in blocks_hard_limit()
130 pub fn set_blocks_hard_limit(&mut self, limit: u64) { in set_blocks_hard_limit()
135 pub fn blocks_soft_limit(&self) -> Option<u64> { in blocks_soft_limit()
145 pub fn set_blocks_soft_limit(&mut self, limit: u64) { in set_blocks_soft_limit()
150 pub fn occupied_space(&self) -> Option<u64> { in occupied_space()
160 pub fn inodes_hard_limit(&self) -> Option<u64> { in inodes_hard_limit()
170 pub fn set_inodes_hard_limit(&mut self, limit: u64) { in set_inodes_hard_limit()
175 pub fn inodes_soft_limit(&self) -> Option<u64> { in inodes_soft_limit()
185 pub fn set_inodes_soft_limit(&mut self, limit: u64) { in set_inodes_soft_limit()
190 pub fn allocated_inodes(&self) -> Option<u64> { in allocated_inodes()
[all …]
Dsysinfo.rs44 pub fn swap_total(&self) -> u64 { in swap_total()
49 pub fn swap_free(&self) -> u64 { in swap_free()
54 pub fn ram_total(&self) -> u64 { in ram_total()
63 pub fn ram_unused(&self) -> u64 { in ram_unused()
67 fn scale_mem(&self, units: mem_blocks_t) -> u64 { in scale_mem()
/external/crosvm/devices/src/pci/
Dpci_device.rs86 fn allocate_io_bars(&mut self, _resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars() argument
96 ) -> Result<Vec<(u64, u64)>> { in allocate_device_bars() argument
107 fn ioevents(&self) -> Vec<(&Event, u64, Datamatch)> { in ioevents() argument
119 fn write_config_register(&mut self, reg_idx: usize, offset: u64, data: &[u8]); in write_config_register()
124 fn read_bar(&mut self, addr: u64, data: &mut [u8]); in read_bar()
128 fn write_bar(&mut self, addr: u64, data: &[u8]); in write_bar()
149 offset: u64, in config_register_write()
208 fn allocate_io_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_io_bars() argument
211 fn allocate_device_bars(&mut self, resources: &mut SystemAllocator) -> Result<Vec<(u64, u64)>> { in allocate_device_bars() argument
217 fn ioevents(&self) -> Vec<(&Event, u64, Datamatch)> { in ioevents() argument
[all …]
/external/rust/crates/vmm_vhost/src/vhost_user/
Dmaster_req_handler.rs31 fn handle_config_change(&self) -> HandlerResult<u64> { in handle_config_change()
36 fn fs_slave_map(&self, _fs: &VhostUserFSSlaveMsg, fd: RawFd) -> HandlerResult<u64> { in fs_slave_map()
43 fn fs_slave_unmap(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
48 fn fs_slave_sync(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_sync()
53 fn fs_slave_io(&self, _fs: &VhostUserFSSlaveMsg, fd: RawFd) -> HandlerResult<u64> { in fs_slave_io()
68 fn handle_config_change(&mut self) -> HandlerResult<u64> { in handle_config_change()
73 fn fs_slave_map(&mut self, _fs: &VhostUserFSSlaveMsg, fd: RawFd) -> HandlerResult<u64> { in fs_slave_map()
80 fn fs_slave_unmap(&mut self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
85 fn fs_slave_sync(&mut self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_sync()
90 fn fs_slave_io(&mut self, _fs: &VhostUserFSSlaveMsg, fd: RawFd) -> HandlerResult<u64> { in fs_slave_io()
[all …]
Dslave_fs_cache.rs25 fn check_state(&self) -> Result<u64> { in check_state()
37 ) -> Result<u64> { in send_message()
50 fn wait_for_ack(&mut self, hdr: &VhostUserMsgHeader<SlaveReq>) -> Result<u64> { in wait_for_ack()
104 ) -> io::Result<u64> { in send_message()
132 fn fs_slave_map(&self, fs: &VhostUserFSSlaveMsg, fd: RawFd) -> HandlerResult<u64> { in fs_slave_map()
137 fn fs_slave_unmap(&self, fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
/external/rust/crates/ahash/tests/
Dnopanic.rs9 fn hash_test_final(num: i32, string: &str) -> (u64, u64) { in hash_test_final()
25 fn hash_test_specialize(num: i32, string: &str) -> (u64, u64) { in hash_test_specialize()
38 fn hash_test_random(num: i32, string: &str) -> (u64, u64) { in hash_test_random()
Dbench.rs8 fn aeshash<H: Hash>(b: &H) -> u64 { in aeshash()
13 fn aeshash<H: Hash>(_b: &H) -> u64 { in aeshash()
18 fn fallbackhash<H: Hash>(b: &H) -> u64 { in fallbackhash()
23 fn fallbackhash<H: Hash>(_b: &H) -> u64 { in fallbackhash()
27 fn fnvhash<H: Hash>(b: &H) -> u64 { in fnvhash()
33 fn siphash<H: Hash>(b: &H) -> u64 { in siphash()
39 fn fxhash<H: Hash>(b: &H) -> u64 { in fxhash()
45 fn seahash<H: Hash>(b: &H) -> u64 { in seahash()
/external/rust/crates/ring/src/aead/gcm/
Dgcm_nohw.rs30 fn gcm_mul64_nohw(a: u64, b: u64) -> (u64, u64) { in gcm_mul64_nohw()
32 fn lo(a: u128) -> u64 { in gcm_mul64_nohw()
37 fn hi(a: u128) -> u64 { in gcm_mul64_nohw()
42 fn mul(a: u64, b: u64) -> u128 { in gcm_mul64_nohw()
90 fn gcm_mul32_nohw(a: u32, b: u32) -> u64 { in gcm_mul32_nohw()
92 fn mul(a: u32, b: u32) -> u64 { in gcm_mul32_nohw()
120 fn gcm_mul64_nohw(a: u64, b: u64) -> (u64, u64) { in gcm_mul64_nohw()
/external/crosvm/sys_util/src/
Dseek_hole.rs17 fn seek_hole(&mut self, offset: u64) -> Result<Option<u64>>; in seek_hole()
22 fn seek_data(&mut self, offset: u64) -> Result<Option<u64>>; in seek_data()
26 fn lseek(file: &mut File, offset: i64, whence: i32) -> Result<Option<u64>> { in lseek()
45 fn seek_hole(&mut self, offset: u64) -> Result<Option<u64>> { in seek_hole()
49 fn seek_data(&mut self, offset: u64) -> Result<Option<u64>> { in seek_data()
61 fn seek_cur(file: &mut File) -> u64 { in seek_cur()
/external/rust/crates/walkdir/src/
Dutil.rs5 pub fn device_num<P: AsRef<Path>>(path: P) -> io::Result<u64> { in device_num()
12 pub fn device_num<P: AsRef<Path>>(path: P) -> io::Result<u64> { in device_num()
20 pub fn device_num<P: AsRef<Path>>(_: P) -> io::Result<u64> { in device_num()
/external/rust/crates/quiche/src/
Dranges.rs49 pub fn insert(&mut self, item: Range<u64>) { in insert()
93 pub fn remove_until(&mut self, largest: u64) { in remove_until()
110 pub fn push_item(&mut self, item: u64) { in push_item()
115 pub fn first(&self) -> Option<u64> { in first()
119 pub fn last(&self) -> Option<u64> { in last()
141 fn prev_to(&self, item: u64) -> Option<Range<u64>> { in prev_to()
148 fn next_to(&self, item: u64) -> Option<Range<u64>> { in next_to()
205 fn next(&mut self) -> Option<Range<u64>> { in next()
212 fn next_back(&mut self) -> Option<Range<u64>> { in next_back()
233 fn next(&mut self) -> Option<u64> { in next()
[all …]
/external/crosvm/devices/src/virtio/
Dvirtio_pci_common_config.rs46 offset: u64, in read()
74 offset: u64, in write()
111 fn write_common_config_byte(&mut self, offset: u64, value: u8) { in write_common_config_byte()
120 fn read_common_config_word(&self, offset: u64, queues: &[Queue]) -> u16 { in read_common_config_word()
139 fn write_common_config_word(&mut self, offset: u64, value: u16, queues: &mut [Queue]) { in write_common_config_word()
152 fn read_common_config_dword(&self, offset: u64, device: &dyn VirtioDevice) -> u32 { in read_common_config_dword()
171 offset: u64, in write_common_config_dword()
213 fn read_common_config_qword(&self, _offset: u64) -> u64 { in read_common_config_qword()
217 fn write_common_config_qword(&mut self, offset: u64, value: u64, queues: &mut [Queue]) { in write_common_config_qword()
271 fn features(&self) -> u64 { in features()
/external/crosvm/x86_64/src/
Dregs.rs72 fn get_power_of_two(data: u64) -> u64 { in get_power_of_two()
78 fn get_max_len(base: u64, len: u64) -> u64 { in get_max_len()
91 fn get_mtrr_pairs(base: u64, len: u64) -> Vec<(u64, u64)> { in get_mtrr_pairs() argument
106 fn append_mtrr_entries(vpu: &dyn VcpuX86_64, pci_start: u64, entries: &mut Vec<Register>) { in append_mtrr_entries()
232 pub fn setup_regs(vcpu: &dyn VcpuX86_64, boot_ip: u64, boot_sp: u64, boot_si: u64) -> Result<()> { in setup_regs()
257 fn write_gdt_table(table: &[u64], guest_mem: &GuestMemory) -> Result<()> { in write_gdt_table()
270 fn write_idt_value(val: u64, guest_mem: &GuestMemory) -> Result<()> { in write_idt_value()
366 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64()
/external/rust/crates/uuid/src/
Dv1.rs45 pub const fn from_rfc4122(ticks: u64, counter: u16) -> Self { in from_rfc4122()
74 seconds: u64, in from_unix()
92 pub const fn to_rfc4122(&self) -> (u64, u16) { in to_rfc4122()
102 pub const fn to_unix(&self) -> (u64, u32) { in to_unix()
116 pub const fn to_unix_nanos(&self) -> u64 { in to_unix_nanos()
126 fn generate_sequence(&self, seconds: u64, subsec_nanos: u32) -> u16; in generate_sequence()
130 fn generate_sequence(&self, seconds: u64, subsec_nanos: u32) -> u16 { in generate_sequence()
274 fn generate_sequence(&self, _: u64, _: u32) -> u16 { in generate_sequence()
/external/rust/crates/smallvec/benches/
Dbench.rs139 fn gen_push<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_push()
141 fn push_noinline<V: Vector<u64>>(vec: &mut V, x: u64) { in gen_push()
154 fn gen_insert<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_insert()
156 fn insert_noinline<V: Vector<u64>>(vec: &mut V, p: usize, x: u64) { in gen_insert()
175 fn remove_noinline<V: Vector<u64>>(vec: &mut V, p: usize) -> u64 { in gen_remove()
188 fn gen_extend<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_extend()
196 fn gen_from_iter<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_from_iter()
204 fn gen_from_slice<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_from_slice()
212 fn gen_extend_from_slice<V: Vector<u64>>(n: u64, b: &mut Bencher) { in gen_extend_from_slice()
223 fn pushpop_noinline<V: Vector<u64>>(vec: &mut V, x: u64) -> Option<u64> { in gen_pushpop()

12345678910>>...24