Home
last modified time | relevance | path

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

12345678910>>...31

/external/rust/crates/ryu/src/
Dd2s_intrinsics.rs24 pub fn div5(x: u64) -> u64 { in div5()
29 pub fn div10(x: u64) -> u64 { in div10()
34 pub fn div100(x: u64) -> u64 { in div100()
56 pub fn multiple_of_power_of_5(value: u64, p: u32) -> bool { in multiple_of_power_of_5()
63 pub fn multiple_of_power_of_2(value: u64, p: u32) -> bool { in multiple_of_power_of_2()
71 pub fn mul_shift_64(m: u64, mul: &(u64, u64), j: u32) -> u64 { in mul_shift_64() argument
79 m: u64, in mul_shift_all_64()
80 mul: &(u64, u64), in mul_shift_all_64() argument
82 vp: *mut u64, in mul_shift_all_64()
83 vm: *mut u64, in mul_shift_all_64()
[all …]
/external/crosvm/resources/src/
Daddress_allocator.rs39 pool: RangeInclusive<u64>, in new()
40 min_align: Option<u64>, in new()
41 preferred_align: Option<u64>, in new()
57 min_align: Option<u64>, in new_from_list()
58 preferred_align: Option<u64>, in new_from_list()
94 pub fn pools(&self) -> &Vec<RangeInclusive<u64>> { in pools()
100 size: u64, in internal_allocate_with_align()
103 alignment: u64, in internal_allocate_with_align()
105 ) -> Result<u64> { in internal_allocate_with_align()
175 size: u64, in reverse_allocate_with_align()
[all …]
/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.rs54 refcount_table_offset: u64, in new()
55 refcount_table_entries: u64, in new()
56 refcount_block_entries: u64, in new()
57 cluster_size: u64, in new()
77 pub fn refcounts_per_block(&self) -> u64 { in refcounts_per_block()
82 pub fn max_valid_cluster_offset(&self) -> u64 { in max_valid_cluster_offset()
94 cluster_address: u64, in set_cluster_refcount()
96 mut new_cluster: Option<(u64, VecCache<u16>)>, in set_cluster_refcount()
97 ) -> Result<Option<u64>> { in set_cluster_refcount()
175 address: u64, in get_cluster_refcount()
/external/rust/crates/webpki/src/
Dcalendar.rs18 year: u64, in time_from_ymdhms_utc()
19 month: u64, in time_from_ymdhms_utc()
20 day_of_month: u64, in time_from_ymdhms_utc()
21 hours: u64, in time_from_ymdhms_utc()
22 minutes: u64, in time_from_ymdhms_utc()
23 seconds: u64, in time_from_ymdhms_utc()
65 fn days_before_year_since_unix_epoch(year: u64) -> Result<u64, Error> { in days_before_year_since_unix_epoch()
77 fn days_before_year_ad(year: u64) -> u64 { in days_before_year_ad()
84 pub fn days_in_month(year: u64, month: u64) -> u64 { in days_in_month()
93 fn days_in_feb(year: u64) -> u64 { in days_in_feb()
/external/rust/crates/nix/src/sys/
Dquota.rs122 pub fn blocks_hard_limit(&self) -> Option<u64> { in blocks_hard_limit()
132 pub fn set_blocks_hard_limit(&mut self, limit: u64) { in set_blocks_hard_limit()
137 pub fn blocks_soft_limit(&self) -> Option<u64> { in blocks_soft_limit()
147 pub fn set_blocks_soft_limit(&mut self, limit: u64) { in set_blocks_soft_limit()
152 pub fn occupied_space(&self) -> Option<u64> { in occupied_space()
162 pub fn inodes_hard_limit(&self) -> Option<u64> { in inodes_hard_limit()
172 pub fn set_inodes_hard_limit(&mut self, limit: u64) { in set_inodes_hard_limit()
177 pub fn inodes_soft_limit(&self) -> Option<u64> { in inodes_soft_limit()
187 pub fn set_inodes_soft_limit(&mut self, limit: u64) { in set_inodes_soft_limit()
192 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/rust/crates/minimal-lexical/tests/
Dlemire_tests.rs8 fn compute_error32(q: i32, w: u64) -> (i32, u64) { in compute_error32() argument
13 fn compute_error64(q: i32, w: u64) -> (i32, u64) { in compute_error64() argument
18 fn compute_error_scaled32(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled32()
23 fn compute_error_scaled64(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled64()
28 fn compute_float32(q: i32, w: u64) -> (i32, u64) { in compute_float32() argument
33 fn compute_float64(q: i32, w: u64) -> (i32, u64) { in compute_float64() argument
Dbellerophon.rs9 pub fn bellerophon_test<F: Float + core::fmt::Debug>( in bellerophon_test()
13 ymant: u64, in bellerophon_test()
41 pub fn compute_float32(q: i32, w: u64) -> (i32, u64) { in compute_float32() argument
51 pub fn compute_float64(q: i32, w: u64) -> (i32, u64) { in compute_float64() argument
/external/crosvm/third_party/vmm_vhost/src/
Dmaster_req_handler.rs45 fn handle_config_change(&self) -> HandlerResult<u64> { in handle_config_change()
54 ) -> HandlerResult<u64> { in fs_slave_map()
59 fn fs_slave_unmap(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
64 fn fs_slave_sync(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_sync()
73 ) -> HandlerResult<u64> { in fs_slave_io()
86 fn handle_config_change(&mut self) -> HandlerResult<u64> { in handle_config_change()
95 ) -> HandlerResult<u64> { in fs_slave_map()
100 fn fs_slave_unmap(&mut self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
105 fn fs_slave_sync(&mut self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_sync()
114 ) -> HandlerResult<u64> { in fs_slave_io()
[all …]
/external/crosvm/devices/src/virtio/vhost/user/vmm/
Dhandler.rs24 fn set_features(vu: &mut SocketMaster, avail_features: u64, ack_features: u64) -> Result<u64> { in set_features()
42 max_queue_num: u64, in new_from_path()
43 allow_features: u64, in new_from_path()
44 init_features: u64, in new_from_path()
60 max_queue_num: u64, in new_from_stream()
61 allow_features: u64, in new_from_stream()
62 init_features: u64, in new_from_stream()
76 allow_features: u64, in new()
77 init_features: u64, in new()
128 pub fn read_config<T>(&mut self, offset: u64, mut data: &mut [u8]) -> Result<()> { in read_config()
[all …]
/external/rust/crates/ahash/src/
Dspecialize.rs42 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64; in get_hash()
51 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
64 default fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
94 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
102 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
110 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
118 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
126 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
134 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
142 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
[all …]
Dlib.rs132 fn hash_as_u64<T: Hash + ?Sized>(&self, value: &T) -> u64; in hash_as_u64()
135 fn hash_as_fixed_length<T: Hash + ?Sized>(&self, value: &T) -> u64; in hash_as_fixed_length()
138 fn hash_as_str<T: Hash + ?Sized>(&self, value: &T) -> u64; in hash_as_str()
144 default fn hash_as_u64<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_u64()
151 fn hash_as_u64<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_u64()
158 default fn hash_as_fixed_length<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_fixed_length()
165 fn hash_as_fixed_length<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_fixed_length()
172 default fn hash_as_str<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_str()
179 fn hash_as_str<T: Hash + ?Sized>(&self, value: &T) -> u64 { in hash_as_str()
/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/rust/crates/minimal-lexical/src/
Dlemire.rs162 pub fn compute_error_scaled<F: Float>(q: i32, mut w: u64, lz: i32) -> ExtendedFloat { in compute_error_scaled()
184 fn full_multiplication(a: u64, b: u64) -> (u64, u64) { in full_multiplication()
192 fn compute_product_approx(q: i32, w: u64, precision: usize) -> (u64, u64) { in compute_product_approx()
Dmask.rs16 pub fn lower_n_mask(n: u64) -> u64 { in lower_n_mask()
37 pub fn lower_n_halfway(n: u64) -> u64 { in lower_n_halfway()
57 pub fn nth_bit(n: u64) -> u64 { in nth_bit()
/external/crosvm/base/src/windows/
Dpoll.rs13 fn as_raw_token(&self) -> u64; in as_raw_token()
24 fn as_raw_token(&self) -> u64 { in as_raw_token()
33 impl PollToken for u64 { implementation
34 fn as_raw_token(&self) -> u64 { in as_raw_token()
44 fn as_raw_token(&self) -> u64 { in as_raw_token()
54 fn as_raw_token(&self) -> u64 { in as_raw_token()
64 fn as_raw_token(&self) -> u64 { in as_raw_token()
74 fn as_raw_token(&self) -> u64 { in as_raw_token()
/external/rust/crates/ahash/tests/
Dbench.rs11 fn aeshash<H: Hash>(b: &H) -> u64 { in aeshash()
19 fn aeshash<H: Hash>(_b: &H) -> u64 { in aeshash()
27 fn fallbackhash<H: Hash>(b: &H) -> u64 { in fallbackhash()
35 fn fallbackhash<H: Hash>(_b: &H) -> u64 { in fallbackhash()
39 fn fnvhash<H: Hash>(b: &H) -> u64 { in fnvhash()
45 fn siphash<H: Hash>(b: &H) -> u64 { in siphash()
51 fn fxhash<H: Hash>(b: &H) -> u64 { in fxhash()
57 fn seahash<H: Hash>(b: &H) -> u64 { in seahash()
Dnopanic.rs9 fn hash_test_final(num: i32, string: &str) -> (u64, u64) { in hash_test_final()
37 fn hash_test_specialize(num: i32, string: &str) -> (u64, u64) { in hash_test_specialize()
53 fn hash_test_random(num: i32, string: &str) -> (u64, u64) { in hash_test_random()
/external/crosvm/x86_64/src/
Dregs.rs62 fn get_power_of_two(data: u64) -> u64 { in get_power_of_two()
68 fn get_max_len(base: u64, len: u64) -> u64 { in get_max_len()
81 fn get_mtrr_pairs(base: u64, len: u64) -> Vec<(u64, u64)> { in get_mtrr_pairs() argument
99 pci_start: u64, in append_mtrr_entries()
227 pub fn setup_regs(vcpu: &dyn VcpuX86_64, boot_ip: u64, boot_sp: u64, boot_si: u64) -> Result<()> { in setup_regs()
252 fn write_gdt_table(table: &[u64], guest_mem: &GuestMemory) -> Result<()> { in write_gdt_table()
265 fn write_idt_value(val: u64, guest_mem: &GuestMemory) -> Result<()> { in write_idt_value()
361 fn read_u64(gm: &GuestMemory, offset: u64) -> u64 { in read_u64()
/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 …]
Dstream.rs138 pub fn new(max_streams_bidi: u64, max_streams_uni: u64) -> StreamMap { in new()
173 &mut self, id: u64, local_params: &crate::TransportParams, in get_or_create()
275 pub fn push_flushable(&mut self, stream_id: u64, urgency: u8, incr: bool) { in push_flushable()
297 pub fn pop_flushable(&mut self) -> Option<u64> { in pop_flushable()
332 pub fn mark_readable(&mut self, stream_id: u64, readable: bool) { in mark_readable()
346 pub fn mark_writable(&mut self, stream_id: u64, writable: bool) { in mark_writable()
357 pub fn mark_almost_full(&mut self, stream_id: u64, almost_full: bool) { in mark_almost_full()
369 pub fn mark_blocked(&mut self, stream_id: u64, blocked: bool, off: u64) { in mark_blocked()
382 &mut self, stream_id: u64, reset: bool, error_code: u64, final_size: u64, in mark_reset()
396 &mut self, stream_id: u64, stopped: bool, error_code: u64, in mark_stopped()
[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/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/ciborium/src/
Dtag.rs239 fn serialize_bool(self, _: bool) -> Result<u64, Self::Error> { in serialize_bool()
244 fn serialize_i8(self, _: i8) -> Result<u64, Self::Error> { in serialize_i8()
249 fn serialize_i16(self, _: i16) -> Result<u64, Self::Error> { in serialize_i16()
254 fn serialize_i32(self, _: i32) -> Result<u64, Self::Error> { in serialize_i32()
259 fn serialize_i64(self, _: i64) -> Result<u64, Self::Error> { in serialize_i64()
264 fn serialize_i128(self, _: i128) -> Result<u64, Self::Error> { in serialize_i128()
269 fn serialize_u8(self, v: u8) -> Result<u64, Self::Error> { in serialize_u8()
274 fn serialize_u16(self, v: u16) -> Result<u64, Self::Error> { in serialize_u16()
279 fn serialize_u32(self, v: u32) -> Result<u64, Self::Error> { in serialize_u32()
284 fn serialize_u64(self, v: u64) -> Result<u64, Self::Error> { in serialize_u64()
[all …]

12345678910>>...31