Home
last modified time | relevance | path

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

12345678910>>...14

/external/crosvm/devices/src/pci/
Dac97_mixer.rs72 pub fn readw(&self, offset: u64) -> u16 { in readw()
92 pub fn writew(&mut self, offset: u64, val: u16) { in writew()
118 pub fn get_sample_rate(&self) -> u16 { in get_sample_rate()
125 fn get_master_reg(&self) -> u16 { in get_master_reg()
135 fn set_master_reg(&mut self, val: u16) { in set_master_reg()
142 fn get_mic_volume(&self) -> u16 { in get_mic_volume()
154 fn set_mic_volume(&mut self, val: u16) { in set_mic_volume()
161 fn get_pcm_out_volume(&self) -> u16 { in get_pcm_out_volume()
171 fn set_pcm_out_volume(&mut self, val: u16) { in set_pcm_out_volume()
178 fn get_record_gain_reg(&self) -> u16 { in get_record_gain_reg()
[all …]
/external/rust/crates/uuid/src/
Dbuilder.rs123 pub const fn from_fields(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { in from_fields()
169 pub const fn from_fields_le(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { in from_fields_le()
552 pub const fn from_rfc4122_timestamp(ticks: u64, counter: u16, node_id: &[u8; 6]) -> Self { in from_rfc4122_timestamp()
604 counter: u16, in from_sorted_rfc4122_timestamp()
746 pub const fn from_fields(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Self { in from_fields()
770 pub const fn from_fields_le(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Self { in from_fields_le()
/external/rust/crates/half/src/
Dslice.rs34 fn reinterpret_cast(&self) -> &[u16]; in reinterpret_cast()
61 fn reinterpret_cast_mut(&mut self) -> &mut [u16]; in reinterpret_cast_mut()
299 impl SealedHalfBitsSlice for [u16] {} implementation
304 fn reinterpret_cast(&self) -> &[u16] { in reinterpret_cast()
305 let pointer = self.as_ptr() as *const u16; in reinterpret_cast() constant
313 fn reinterpret_cast_mut(&mut self) -> &mut [u16] { in reinterpret_cast_mut()
390 fn reinterpret_cast(&self) -> &[u16] { in reinterpret_cast()
391 let pointer = self.as_ptr() as *const u16; in reinterpret_cast() constant
399 fn reinterpret_cast_mut(&mut self) -> &mut [u16] { in reinterpret_cast_mut()
486 impl HalfBitsSliceExt for [u16] { implementation
Dvec.rs36 fn reinterpret_into(self) -> Vec<u16>; in reinterpret_into()
116 fn reinterpret_into(mut self) -> Vec<u16> { in reinterpret_into()
160 fn reinterpret_into(mut self) -> Vec<u16> { in reinterpret_into()
/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.rs90 impl ToSocketAddrs for (IpAddr, u16) {} implementation
92 impl sealed::ToSocketAddrsPriv for (IpAddr, u16) { implementation
104 impl ToSocketAddrs for (Ipv4Addr, u16) {} implementation
106 impl sealed::ToSocketAddrsPriv for (Ipv4Addr, u16) { implementation
118 impl ToSocketAddrs for (Ipv6Addr, u16) {} implementation
120 impl sealed::ToSocketAddrsPriv for (Ipv6Addr, u16) { implementation
/external/rust/crates/derive-getters/tests/
D02-simple-single-generic.rs10 pub fn new(concrete: u16, generic: T) -> Self { in new()
29 pub fn new(concrete: u16, generic: T) -> Self { in new()
45 pub fn new(concrete: u16, generic: T) -> Self { in new()
D03-simple-multi-generic.rs14 pub fn new(concrete: u16, generic_t: T, generic_u: U, generic_v: V) -> Self { in new()
35 pub fn new(concrete: u16, generic_t: T, generic_u: U, generic_v: V) -> Self { in new()
58 pub fn new(concrete: u16, generic_t: T, generic_u: U, generic_v: V) -> Self { in new()
/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/ahash/src/
Dconvert.rs77 fn read_u16(&self) -> (u16, &[u8]); in read_u16()
83 fn read_last_u16(&self) -> u16; in read_last_u16()
93 fn read_u16(&self) -> (u16, &[u8]) { in read_u16()
129 fn read_last_u16(&self) -> u16 { in read_last_u16()
/external/rust/crates/virtio-drivers/src/transport/
Dfake.rs37 fn notify(&mut self, queue: u16) { in notify()
59 queue: u16, in queue_set()
72 fn queue_unset(&mut self, queue: u16) { in queue_unset()
115 pub fn write_to_queue<const QUEUE_SIZE: usize>(&mut self, queue_index: u16, data: &[u8]) { in write_to_queue()
159 queue_index: u16, in read_write_queue()
/external/crosvm/devices/src/virtio/
Dinterrupt.rs21 fn signal(&self, vector: u16, interrupt_status_mask: u32); in signal()
24 fn signal_used_queue(&self, vector: u16) { in signal_used_queue()
66 fn signal(&self, vector: u16, interrupt_status_mask: u32) { in signal()
129 config_msix_vector: u16, in new()
Dqueue.rs132 queue_size: u16, in checked_new()
133 index: u16, in checked_new()
134 required_flags: u16, in checked_new()
389 pub fn max_size(&self) -> u16 { in max_size()
395 pub fn size(&self) -> u16 { in size()
400 pub fn set_size(&mut self, val: u16) { in set_size()
487 fn wrap_queue_index(&self, index: Wrapping<u16>) -> u16 { in wrap_queue_index()
571 fn get_avail_index(&self, mem: &GuestMemory) -> Wrapping<u16> { in get_avail_index()
587 fn set_avail_event(&mut self, mem: &GuestMemory, avail_index: Wrapping<u16>) { in set_avail_event()
619 fn get_used_event(&self, mem: &GuestMemory) -> Wrapping<u16> { in get_used_event()
[all …]
/external/crosvm/vhost/src/
Dlib.rs205 queue_max_size: u16, in is_valid()
206 queue_size: u16, in is_valid()
250 queue_max_size: u16, in set_vring_addr()
251 queue_size: u16, in set_vring_addr()
328 fn get_vring_base(&self, queue_index: usize) -> Result<u16> { in get_vring_base()
/external/crosvm/devices/src/usb/xhci/
Dxhci_backend_device.rs24 fn get_vid(&self) -> u16; in get_vid()
26 fn get_pid(&self) -> u16; in get_pid()
/external/crosvm/devices/src/virtio/vhost/user/device/vvu/
Dqueue.rs128 pub fn new<I>(queue_size: u16, device_writable: bool, tag: u8, iova_alloc: &I) -> Result<Self> in new()
151 max_queue_size: u16, in init_memory()
280 fn write_desc_entry(&self, index: Wrapping<u16>, desc: Desc) -> Result<()> { in write_desc_entry()
304 fn read_used_idx(&self) -> Result<Wrapping<u16>> { in read_used_idx()
362 fn write_to_buffer(&self, index: Wrapping<u16>, data: &[u8]) -> Result<IOVA> { in write_to_buffer()
502 fn drv_to_dev(queue_size: u16, count: u32) { in drv_to_dev()
548 fn dev_to_drv(queue_size: u16, count: u32) { in dev_to_drv()
/external/crosvm/media/libva/src/
Dbuffer_type.rs88 horizontal_size: u16, in new()
89 vertical_size: u16, in new()
323 frame_width: u16, in new()
324 frame_height: u16, in new()
332 first_partition_size: u16,
494 picture_width_in_mbs_minus1: u16,
495 picture_height_in_mbs_minus1: u16,
502 slice_group_change_rate_minus1: u16,
508 frame_num: u16,
655 segment_reference_enabled: u16, in new()
[all …]
/external/openthread/tests/unit/
Dtest_data.cpp49 uint16_t u16 = 0x3456; in TestData() local
132 uint16_t u16; in TestMutableData() local
/external/crosvm/devices/src/virtio/input/
Ddefaults.rs96 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo()
115 ) -> BTreeMap<u16, virtio_input_absinfo> { in default_multitouchscreen_absinfo()
142 fn default_trackpad_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_trackpad_absinfo()
/external/rust/crates/tokio/src/loom/std/
Datomic_u16.rs25 pub(crate) unsafe fn unsync_load(&self) -> u16 { in unsync_load()
26 core::ptr::read(self.inner.get() as *const u16) in unsync_load() constant
/external/rust/crates/regex-automata/src/
Dbyteorder.rs4 fn read_u16(buf: &[u8]) -> u16; in read_u16()
8 fn write_u16(buf: &mut [u8], n: u16); in write_u16()
/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/crosvm/disk/src/qcow/
Drefcount.rs97 refcount: u16, in set_cluster_refcount()
98 mut new_cluster: Option<(u64, VecCache<u16>)>, in set_cluster_refcount()
178 ) -> Result<u16> { in get_cluster_refcount()
/external/cronet/base/
Dbig_endian_unittest.cc51 uint16_t u16 = 0; in TEST() local
82 uint16_t u16; in TEST() local
173 uint16_t u16; in TEST() local
232 uint16_t u16 = 0; in TEST() local
/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 …]

12345678910>>...14