Home
last modified time | relevance | path

Searched defs:u16 (Results 1 – 25 of 243) sorted by relevance

12345678910

/external/crosvm/devices/src/pci/
Dac97_mixer.rs74 pub fn readw(&self, offset: u64) -> u16 { in readw()
94 pub fn writew(&mut self, offset: u64, val: u16) { in writew()
120 pub fn get_sample_rate(&self) -> u16 { in get_sample_rate()
127 fn get_master_reg(&self) -> u16 { in get_master_reg()
137 fn set_master_reg(&mut self, val: u16) { in set_master_reg()
144 fn get_mic_volume(&self) -> u16 { in get_mic_volume()
156 fn set_mic_volume(&mut self, val: u16) { in set_mic_volume()
163 fn get_pcm_out_volume(&self) -> u16 { in get_pcm_out_volume()
173 fn set_pcm_out_volume(&mut self, val: u16) { in set_pcm_out_volume()
180 fn get_record_gain_reg(&self) -> u16 { in get_record_gain_reg()
[all …]
Dmsix.rs97 pub fn new(msix_vectors: u16, vm_socket: Tube) -> Self { in new()
118 pub fn num_vectors(&self) -> u16 { in num_vectors()
205 fn add_msi_route(&self, index: u16, gsi: u32) -> MsixResult<()> { in add_msi_route()
445 fn set_pba_bit(&mut self, vector: u16, set: bool) { in set_pba_bit()
493 pub fn trigger(&mut self, vector: u16) { in trigger()
564 table_size: u16, in new()
/external/rust/crates/uuid/src/builder/
Dmod.rs72 d2: u16, in from_fields()
73 d3: u16, in from_fields()
129 d2: u16, in from_fields_le()
130 d3: u16, in from_fields_le()
395 d2: u16, in from_fields()
396 d3: u16, in from_fields()
/external/rust/crates/half/src/
Dslice.rs39 fn reinterpret_cast(&self) -> &[u16]; in reinterpret_cast()
65 fn reinterpret_cast_mut(&mut self) -> &mut [u16]; in reinterpret_cast_mut()
304 impl SealedHalfBitsSlice for [u16] {} implementation
309 fn reinterpret_cast(&self) -> &[u16] { in reinterpret_cast()
310 let pointer = self.as_ptr() as *const u16; in reinterpret_cast() constant
318 fn reinterpret_cast_mut(&mut self) -> &mut [u16] { in reinterpret_cast_mut()
461 fn reinterpret_cast(&self) -> &[u16] { in reinterpret_cast()
462 let pointer = self.as_ptr() as *const u16; in reinterpret_cast() constant
470 fn reinterpret_cast_mut(&mut self) -> &mut [u16] { in reinterpret_cast_mut()
555 impl HalfBitsSliceExt for [u16] { implementation
[all …]
Dvec.rs42 fn reinterpret_into(self) -> Vec<u16>; in reinterpret_into()
123 fn reinterpret_into(mut self) -> Vec<u16> { in reinterpret_into()
165 fn reinterpret_into(mut self) -> Vec<u16> { in reinterpret_into()
251 pub fn to_bits(numbers: Vec<f16>) -> Vec<u16> { in to_bits()
/external/crosvm/devices/src/virtio/
Dinterrupt.rs14 fn signal(&self, vector: u16, interrupt_status_mask: u32); in signal()
17 fn signal_used_queue(&self, vector: u16) { in signal_used_queue()
45 fn signal(&self, vector: u16, interrupt_status_mask: u32) { in signal()
90 config_msix_vector: u16, in new()
Dqueue.rs85 queue_size: u16, in checked_new()
86 index: u16, in checked_new()
87 required_flags: u16, in checked_new()
258 pub fn actual_size(&self) -> u16 { in actual_size()
331 fn get_avail_index(&self, mem: &GuestMemory) -> Wrapping<u16> { in get_avail_index()
347 fn set_avail_event(&mut self, mem: &GuestMemory, avail_index: Wrapping<u16>) { in set_avail_event()
371 fn get_used_event(&self, mem: &GuestMemory) -> Wrapping<u16> { in get_used_event()
383 fn set_used_index(&mut self, mem: &GuestMemory, used_index: Wrapping<u16>) { in set_used_index()
395 fn set_used_flag(&mut self, mem: &GuestMemory, flag: u16, value: bool) { in set_used_flag()
469 pub fn add_used(&mut self, mem: &GuestMemory, desc_index: u16, len: u32) { in add_used()
/external/flac/src/test_libFLAC/
Dendswap.c36 uint16_t u16 = 0xabcd; in test_endswap() local
42 uint16_t u16; in test_endswap() member
/external/rust/crates/tokio/src/net/
Daddr.rs91 impl ToSocketAddrs for (IpAddr, u16) {} implementation
93 impl sealed::ToSocketAddrsPriv for (IpAddr, u16) { implementation
105 impl ToSocketAddrs for (Ipv4Addr, u16) {} implementation
107 impl sealed::ToSocketAddrsPriv for (Ipv4Addr, u16) { implementation
119 impl ToSocketAddrs for (Ipv6Addr, u16) {} implementation
121 impl sealed::ToSocketAddrsPriv for (Ipv6Addr, u16) { implementation
/external/libchrome/base/
Dbig_endian_unittest.cc19 uint16_t u16; in TEST() local
49 uint16_t u16; in TEST() local
94 uint16_t u16 = 0; in TEST() local
/external/rust/crates/zip/src/
Dtypes.rs61 pub fn from_msdos(datepart: u16, timepart: u16) -> DateTime { in from_msdos()
89 year: u16, in from_date_and_time()
151 pub fn timepart(&self) -> u16 { in timepart()
156 pub fn datepart(&self) -> u16 { in datepart()
178 pub fn year(&self) -> u16 { in year()
278 pub fn version_needed(&self) -> u16 { in version_needed()
/external/crosvm/devices/src/usb/xhci/
Dxhci_backend_device.rs23 fn get_vid(&self) -> u16; in get_vid()
25 fn get_pid(&self) -> u16; in get_pid()
/external/crosvm/devices/src/virtio/input/
Ddefaults.rs90 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo()
109 ) -> BTreeMap<u16, virtio_input_absinfo> { in default_multitouchscreen_absinfo()
136 fn default_trackpad_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_trackpad_absinfo()
/external/rust/crates/ahash/src/
Dconvert.rs93 fn read_u16(&self) -> (u16, &[u8]); in read_u16()
99 fn read_last_u16(&self) -> u16; in read_last_u16()
109 fn read_u16(&self) -> (u16, &[u8]) { in read_u16()
145 fn read_last_u16(&self) -> u16 { in read_last_u16()
/external/crosvm/disk/src/qcow/
Drefcount.rs108 refcount: u16, in set_cluster_refcount()
109 mut new_cluster: Option<(u64, VecCache<u16>)>, in set_cluster_refcount()
189 ) -> Result<u16> { in get_cluster_refcount()
221 ) -> Result<Option<&[u16]>> { in refcount_block()
/external/rust/crates/nix/src/sys/socket/
Daddr.rs312 pub fn port(&self) -> u16 { in port()
372 pub fn new_v6(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> IpAddr { in new_v6()
477 pub fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr { in new()
1066 pub fn protocol(&self) -> u16 { in protocol()
1076 pub fn hatype(&self) -> u16 { in hatype()
/external/rust/crates/uuid/src/
Dv1.rs92 pub const fn to_rfc4122(&self) -> (u64, u16) { in to_rfc4122() argument
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/aho-corasick/src/
Dstate_id.rs54 impl Sealed for u16 {} implementation
141 impl StateID for u16 { implementation
143 fn from_usize(n: usize) -> u16 { in from_usize()
/external/rust/crates/half/src/bfloat/
Dconvert.rs1 pub(crate) fn f32_to_bf16(value: f32) -> u16 { in f32_to_bf16()
20 pub(crate) fn f64_to_bf16(value: f64) -> u16 { in f64_to_bf16()
/external/rust/crates/tokio/src/runtime/
Dqueue.rs170 head: u16, in push_overflow()
171 tail: u16, in push_overflow()
349 fn steal_into2(&self, dst: &mut Local<T>, dst_tail: u16) -> u16 { in steal_into2()
619 fn unpack(n: u32) -> (u16, u16) { in unpack()
627 fn pack(steal: u16, real: u16) -> u32 { in pack()
/external/rust/crates/byteorder/src/
Dlib.rs225 fn read_u16(buf: &[u8]) -> u16; in read_u16()
383 fn write_u16(buf: &mut [u8], n: u16); in write_u16()
993 fn read_u16_into(src: &[u8], dst: &mut [u16]); in read_u16_into()
1324 fn write_u16_into(src: &[u16], dst: &mut [u8]); in write_u16_into()
1452 slice::from_raw_parts(src.as_ptr() as *const u16, src.len()) in write_i16_into() constant
1616 fn from_slice_u16(numbers: &mut [u16]); in from_slice_u16()
1972 fn read_u16(buf: &[u8]) -> u16 { in read_u16()
2022 fn write_u16(buf: &mut [u8], n: u16) { in write_u16()
2070 fn read_u16_into(src: &[u8], dst: &mut [u16]) { in read_u16_into()
2090 fn write_u16_into(src: &[u16], dst: &mut [u8]) { in write_u16_into()
[all …]
/external/llvm-project/clang/test/Headers/
Dwasm.c25 uint16_t u16 = wasm_u16x8_extract_lane(v, 7); in main() local
/external/crosvm/vhost/src/
Dlib.rs182 queue_max_size: u16, in is_valid()
183 queue_size: u16, in is_valid()
226 queue_max_size: u16, in set_vring_addr()
227 queue_size: u16, in set_vring_addr()
/external/rust/crates/half/src/binary16/
Dconvert.rs144 fn f32_to_f16_fallback(value: f32) -> u16 { in f32_to_f16_fallback()
203 fn f64_to_f16_fallback(value: f64) -> u16 { in f64_to_f16_fallback()
429 pub(super) unsafe fn f32_to_f16_x86_f16c(f: f32) -> u16 { in f32_to_f16_x86_f16c()
/external/openscreen/util/
Dbig_endian_unittest.cc171 uint16_t u16; in TEST() local
210 uint16_t u16; in TEST() local
241 uint16_t u16; in TEST() local

12345678910