Home
last modified time | relevance | path

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

12345678910>>...40

/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/rust/crates/protobuf/src/rt/
Dpacked.rs10 pub(crate) fn vec_packed_varint_data_size<T: ProtobufVarint>(vec: &[T]) -> u64 { in vec_packed_varint_data_size()
15 pub(crate) fn vec_packed_varint_zigzag_data_size<T: ProtobufVarintZigzag>(vec: &[T]) -> u64 { in vec_packed_varint_zigzag_data_size()
20 pub(crate) fn vec_packed_enum_or_unknown_data_size<E: Enum>(vec: &[EnumOrUnknown<E>]) -> u64 { in vec_packed_enum_or_unknown_data_size()
28 fn vec_packed_varint_size<T: ProtobufVarint>(field_number: u32, vec: &[T]) -> u64 { in vec_packed_varint_size()
39 pub fn vec_packed_int32_size(field_number: u32, vec: &[i32]) -> u64 { in vec_packed_int32_size()
45 pub fn vec_packed_int64_size(field_number: u32, vec: &[i64]) -> u64 { in vec_packed_int64_size()
51 pub fn vec_packed_uint32_size(field_number: u32, vec: &[u32]) -> u64 { in vec_packed_uint32_size()
57 pub fn vec_packed_uint64_size(field_number: u32, vec: &[u64]) -> u64 { in vec_packed_uint64_size()
63 fn vec_packed_varint_zigzag_size<T: ProtobufVarintZigzag>(field_number: u32, vec: &[T]) -> u64 { in vec_packed_varint_zigzag_size()
74 pub fn vec_packed_sint32_size(field_number: u32, vec: &[i32]) -> u64 { in vec_packed_sint32_size()
[all …]
Dsingular.rs8 fn varint_size<T: ProtobufVarint>(field_number: u32, value: T) -> u64 { in varint_size()
14 pub fn int32_size(field_number: u32, value: i32) -> u64 { in int32_size()
20 pub fn int64_size(field_number: u32, value: i64) -> u64 { in int64_size()
26 pub fn uint32_size(field_number: u32, value: u32) -> u64 { in uint32_size()
32 pub fn uint64_size(field_number: u32, value: u64) -> u64 { in uint64_size()
37 pub(crate) fn value_varint_zigzag_size_no_tag<T: ProtobufVarintZigzag>(value: T) -> u64 { in value_varint_zigzag_size_no_tag()
43 fn value_varint_zigzag_size<T: ProtobufVarintZigzag>(field_number: u32, value: T) -> u64 { in value_varint_zigzag_size()
49 pub fn sint32_size(field_number: u32, value: i32) -> u64 { in sint32_size()
55 pub fn sint64_size(field_number: u32, value: i64) -> u64 { in sint64_size()
60 pub(crate) fn bytes_size_no_tag(bytes: &[u8]) -> u64 { in bytes_size_no_tag()
[all …]
/external/rust/crates/tokio/src/loom/std/
Datomic_u64_as_mutex.rs22 pub(crate) fn load(&self, _: Ordering) -> u64 { in load()
26 pub(crate) fn store(&self, val: u64, _: Ordering) { in store()
30 pub(crate) fn fetch_add(&self, val: u64, _: Ordering) -> u64 { in fetch_add()
37 pub(crate) fn fetch_or(&self, val: u64, _: Ordering) -> u64 { in fetch_or()
46 current: u64, in compare_exchange()
47 new: u64, in compare_exchange()
50 ) -> Result<u64, u64> { in compare_exchange() argument
63 current: u64, in compare_exchange_weak()
64 new: u64, in compare_exchange_weak()
67 ) -> Result<u64, u64> { in compare_exchange_weak() argument
Datomic_u64_static_once_cell.rs26 pub(crate) fn load(&self, order: Ordering) -> u64 { in load()
30 pub(crate) fn fetch_add(&self, val: u64, order: Ordering) -> u64 { in fetch_add()
39 current: u64, in compare_exchange_weak()
40 new: u64, in compare_exchange_weak()
43 ) -> Result<u64, u64> { in compare_exchange_weak() argument
54 fn inner(&self) -> &Mutex<u64> { in inner()
/external/rust/crates/psci/src/
Dcalls.rs30 entry_point_address: u64, in cpu_suspend()
31 context_id: u64, in cpu_suspend()
65 pub fn cpu_on(target_cpu: u64, entry_point_address: u64, context_id: u64) -> Result<(), Error> { in cpu_on()
94 target_affinity: u64, in affinity_info()
190 pub fn mem_protect_check_range(base: u64, length: u64) -> Result<(), Error> { in mem_protect_check_range()
211 pub fn cpu_default_suspend(entry_point_address: u64, context_id: u64) -> Result<(), Error> { in cpu_default_suspend()
239 pub fn node_hw_state(target_cpu: u64, power_level: u32) -> Result<PowerState, Error> { in node_hw_state()
266 pub fn system_suspend(entry_point_address: u64, context_id: u64) -> Result<(), Error> { in system_suspend()
299 pub fn stat_residency(target_cpu: u64, power_state: u32) -> u64 { in stat_residency()
325 pub fn stat_count(target_cpu: u64, power_state: u32) -> u64 { in stat_count()
/external/crosvm/disk/src/qcow/
Dqcow_raw_file.rs44 offset: u64, in read_pointer_table()
45 count: u64, in read_pointer_table()
46 mask: Option<u64>, in read_pointer_table()
47 ) -> io::Result<Vec<u64>> { in read_pointer_table()
61 pub fn read_pointer_cluster(&mut self, offset: u64, mask: Option<u64>) -> io::Result<Vec<u64>> { in read_pointer_cluster()
71 offset: u64, in write_pointer_table()
72 table: &[u64], in write_pointer_table()
73 non_zero_flags: u64, in write_pointer_table()
103 pub fn write_refcount_block(&mut self, offset: u64, table: &[u16]) -> io::Result<()> { in write_refcount_block()
113 pub fn add_cluster_end(&mut self, max_valid_cluster_offset: u64) -> io::Result<Option<u64>> { in add_cluster_end()
[all …]
Drefcount.rs56 refcount_table_offset: u64, in new()
57 refcount_table_entries: u64, in new()
58 refcount_block_entries: u64, in new()
59 cluster_size: u64, in new()
79 pub fn refcounts_per_block(&self) -> u64 { in refcounts_per_block()
84 pub fn max_valid_cluster_offset(&self) -> u64 { in max_valid_cluster_offset()
96 cluster_address: u64, in set_cluster_refcount()
98 mut new_cluster: Option<(u64, VecCache<u16>)>, in set_cluster_refcount()
99 ) -> Result<Option<u64>> { in set_cluster_refcount()
177 address: u64, in get_cluster_refcount()
/external/crosvm/third_party/vmm_vhost/src/
Dmaster_req_handler.rs46 fn handle_config_change(&self) -> HandlerResult<u64> { in handle_config_change()
55 ) -> HandlerResult<u64> { in shmem_map()
60 fn shmem_unmap(&self, _req: &VhostUserShmemUnmapMsg) -> HandlerResult<u64> { in shmem_unmap()
69 ) -> HandlerResult<u64> { in fs_slave_map()
74 fn fs_slave_unmap(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_unmap()
79 fn fs_slave_sync(&self, _fs: &VhostUserFSSlaveMsg) -> HandlerResult<u64> { in fs_slave_sync()
88 ) -> HandlerResult<u64> { in fs_slave_io()
100 ) -> HandlerResult<u64> { in gpu_map()
110 fn handle_config_change(&mut self) -> HandlerResult<u64> { in handle_config_change()
119 ) -> HandlerResult<u64> { in shmem_map()
[all …]
/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/crosvm/resources/src/
Daddress_allocator.rs44 min_align: Option<u64>, in new()
45 preferred_align: Option<u64>, in new()
61 min_align: Option<u64>, in new_from_list()
62 preferred_align: Option<u64>, in new_from_list()
105 ) -> Result<u64> { in internal_allocate_from_slot()
124 size: u64, in internal_allocate_with_align()
127 alignment: u64, in internal_allocate_with_align()
129 ) -> Result<u64> { in internal_allocate_with_align()
192 size: u64, in reverse_allocate_with_align()
195 alignment: u64, in reverse_allocate_with_align()
[all …]
Daddress_range.rs25 pub const fn from_start_and_end(start: u64, end: u64) -> Self { in from_start_and_end()
32 pub const fn from_start_and_size(start: u64, size: u64) -> Option<Self> { in from_start_and_size()
146 pub fn len(&self) -> Option<u64> { in len()
186 fn from(address_range: AddressRange) -> RangeInclusive<u64> { in from()
301 fn test_intersect(a: (u64, u64), b: (u64, u64), answer: (u64, u64)) { in test_intersect() argument
331 fn test_intersect_empty(a: (u64, u64), b: (u64, u64)) { in test_intersect_empty() argument
/external/rust/crates/protobuf/src/varint/
Dgeneric.rs6 fn len_varint(&self) -> u64; in len_varint()
9 impl ProtobufVarint for u64 { implementation
10 fn len_varint(&self) -> u64 { in len_varint()
16 fn len_varint(&self) -> u64 { in len_varint()
22 fn len_varint(&self) -> u64 { in len_varint()
29 fn len_varint(&self) -> u64 { in len_varint()
36 fn len_varint(&self) -> u64 { in len_varint()
/external/rust/crates/nix/src/sys/
Dquota.rs122 pub fn blocks_hard_limit(&self) -> Option<u64> { in blocks_hard_limit()
133 pub fn set_blocks_hard_limit(&mut self, limit: u64) { in set_blocks_hard_limit()
138 pub fn blocks_soft_limit(&self) -> Option<u64> { in blocks_soft_limit()
149 pub fn set_blocks_soft_limit(&mut self, limit: u64) { in set_blocks_soft_limit()
154 pub fn occupied_space(&self) -> Option<u64> { in occupied_space()
165 pub fn inodes_hard_limit(&self) -> Option<u64> { in inodes_hard_limit()
176 pub fn set_inodes_hard_limit(&mut self, limit: u64) { in set_inodes_hard_limit()
181 pub fn inodes_soft_limit(&self) -> Option<u64> { in inodes_soft_limit()
192 pub fn set_inodes_soft_limit(&mut self, limit: u64) { in set_inodes_soft_limit()
197 pub fn allocated_inodes(&self) -> Option<u64> { in allocated_inodes()
[all …]
Dsysinfo.rs46 pub fn swap_total(&self) -> u64 { in swap_total()
51 pub fn swap_free(&self) -> u64 { in swap_free()
56 pub fn ram_total(&self) -> u64 { in ram_total()
65 pub fn ram_unused(&self) -> u64 { in ram_unused()
71 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
/external/rust/crates/tokio/src/runtime/metrics/
Druntime.rs119 pub fn remote_schedule_count(&self) -> u64 { in remote_schedule_count()
162 pub fn worker_park_count(&self, worker: usize) -> u64 { in worker_park_count()
205 pub fn worker_noop_count(&self, worker: usize) -> u64 { in worker_noop_count()
251 pub fn worker_steal_count(&self, worker: usize) -> u64 { in worker_steal_count()
297 pub fn worker_steal_operations(&self, worker: usize) -> u64 { in worker_steal_operations()
338 pub fn worker_poll_count(&self, worker: usize) -> u64 { in worker_poll_count()
429 pub fn worker_local_schedule_count(&self, worker: usize) -> u64 { in worker_local_schedule_count()
475 pub fn worker_overflow_count(&self, worker: usize) -> u64 { in worker_overflow_count()
/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()
/external/rust/crates/ahash/src/
Dspecialize.rs21 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64; in get_hash()
30 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
43 default fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
73 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
81 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
89 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
97 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
105 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
113 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
121 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash()
[all …]
/external/rust/crates/uuid/src/
Dtimestamp.rs75 pub const fn from_rfc4122(ticks: u64, counter: u16) -> Self { in from_rfc4122()
92 pub fn from_unix(context: impl ClockSequence<Output = u16>, seconds: u64, nanos: u32) -> Self { in from_unix()
114 pub const fn to_rfc4122(&self) -> (u64, u16) { in to_rfc4122()
122 pub const fn to_unix(&self) -> (u64, u32) { in to_unix()
127 const fn unix_to_rfc4122_ticks(seconds: u64, nanos: u32) -> u64 { in unix_to_rfc4122_ticks()
133 const fn rfc4122_to_unix(ticks: u64) -> (u64, u32) { in rfc4122_to_unix()
157 pub(crate) const fn encode_rfc4122_timestamp(ticks: u64, counter: u16, node_id: &[u8; 6]) -> Uuid { in encode_rfc4122_timestamp()
176 pub(crate) const fn decode_rfc4122_timestamp(uuid: &Uuid) -> (u64, u16) { in decode_rfc4122_timestamp()
195 ticks: u64, in encode_sorted_rfc4122_timestamp()
218 pub(crate) const fn decode_sorted_rfc4122_timestamp(uuid: &Uuid) -> (u64, u16) { in decode_sorted_rfc4122_timestamp()
[all …]
/external/rust/crates/ring/src/aead/gcm/
Dgcm_nohw.rs29 fn gcm_mul64_nohw(a: u64, b: u64) -> (u64, u64) { in gcm_mul64_nohw()
31 fn lo(a: u128) -> u64 { in gcm_mul64_nohw()
36 fn hi(a: u128) -> u64 { in gcm_mul64_nohw()
41 fn mul(a: u64, b: u64) -> u128 { in gcm_mul64_nohw()
89 fn gcm_mul32_nohw(a: u32, b: u32) -> u64 { in gcm_mul32_nohw()
91 fn mul(a: u32, b: u32) -> u64 { in gcm_mul32_nohw()
119 fn gcm_mul64_nohw(a: u64, b: u64) -> (u64, u64) { in gcm_mul64_nohw()
/external/rust/crates/quiche/src/
Dstream.rs73 fn finish(&self) -> u64 { in finish()
78 fn write_u64(&mut self, id: u64) { in write_u64()
185 max_streams_bidi: u64, max_streams_uni: u64, max_stream_window: u64, in new()
223 &mut self, id: u64, local_params: &crate::TransportParams, in get_or_create()
352 pub fn push_flushable(&mut self, stream_id: u64, urgency: u8, incr: bool) { in push_flushable()
374 pub fn peek_flushable(&mut self) -> Option<u64> { in peek_flushable()
410 pub fn mark_readable(&mut self, stream_id: u64, readable: bool) { in mark_readable()
424 pub fn mark_writable(&mut self, stream_id: u64, writable: bool) { in mark_writable()
435 pub fn mark_almost_full(&mut self, stream_id: u64, almost_full: bool) { in mark_almost_full()
447 pub fn mark_blocked(&mut self, stream_id: u64, blocked: bool, off: u64) { in mark_blocked()
[all …]
Dranges.rs49 pub fn insert(&mut self, item: Range<u64>) { in insert()
91 pub fn remove_until(&mut self, largest: u64) { in remove_until()
108 pub fn push_item(&mut self, item: u64) { in push_item()
112 pub fn first(&self) -> Option<u64> { in first()
116 pub fn last(&self) -> Option<u64> { in last()
138 fn prev_to(&self, item: u64) -> Option<Range<u64>> { in prev_to()
145 fn next_to(&self, item: u64) -> Option<Range<u64>> { in next_to()
202 fn next(&mut self) -> Option<Range<u64>> { in next()
209 fn next_back(&mut self) -> Option<Range<u64>> { in next_back()
230 fn next(&mut self) -> Option<u64> { in next()
[all …]
/external/rust/crates/protobuf/src/
Dzigzag.rs19 pub(crate) fn encode_zig_zag_64(n: i64) -> u64 { in encode_zig_zag_64()
26 fn len_varint_zigzag(&self) -> u64; in len_varint_zigzag()
30 fn len_varint_zigzag(&self) -> u64 { in len_varint_zigzag()
36 fn len_varint_zigzag(&self) -> u64 { in len_varint_zigzag()
51 fn test_zig_zag_pair_64(decoded: i64, encoded: u64) { in test_zig_zag()
/external/rust/crates/ahash/tests/
Dnopanic.rs9 fn hash_test_final(num: i32, string: &str) -> (u64, u64) { in hash_test_final()
48 fn hash_test_specialize(num: i32, string: &str) -> (u64, u64) { in hash_test_specialize()
64 fn hash_test_random(num: i32, string: &str) -> (u64, u64) { in hash_test_random()

12345678910>>...40