/external/crosvm/devices/src/virtio/input/ |
D | defaults.rs | 5 use std::collections::BTreeMap; 35 BTreeMap::new(), in new_mouse_config() 48 BTreeMap::new(), in new_keyboard_config() 60 BTreeMap::new(), in new_switches_config() 90 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo() 91 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_touchscreen_absinfo() 97 fn default_touchscreen_events() -> BTreeMap<u16, virtio_input_bitmap> { in default_touchscreen_events() 98 let mut supported_events: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in default_touchscreen_events() 109 ) -> BTreeMap<u16, virtio_input_absinfo> { in default_multitouchscreen_absinfo() 110 let mut absinfo: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in default_multitouchscreen_absinfo() [all …]
|
D | evdev.rs | 15 use std::collections::BTreeMap; 193 ) -> Result<BTreeMap<u16, virtio_input_bitmap>> { in supported_events() 194 let mut evts: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in supported_events() 236 pub fn abs_info<T: AsRawDescriptor>(descriptor: &T) -> BTreeMap<u16, virtio_input_absinfo> { in abs_info() 237 let mut ret: BTreeMap<u16, virtio_input_absinfo> = BTreeMap::new(); in abs_info()
|
/external/rust/cxx/gen/build/src/ |
D | deps.rs | 1 use std::collections::BTreeMap; 42 let mut crates: BTreeMap<String, Crate> = BTreeMap::new(); in direct_dependencies() 43 let mut exported_header_dirs: BTreeMap<String, Vec<(usize, PathBuf)>> = BTreeMap::new(); in direct_dependencies()
|
/external/rust/crates/rayon/src/collections/ |
D | btree_map.rs | 5 use std::collections::BTreeMap; 19 BTreeMap<K, V> => IntoIter<K, V>, 43 &'a BTreeMap<K, V> => Iter<'a, K, V>, 59 &'a mut BTreeMap<K, V> => IterMut<'a, K, V>,
|
/external/crosvm/devices/src/virtio/video/decoder/ |
D | capability.rs | 9 use std::collections::BTreeMap; 43 profiles: BTreeMap<Format, Vec<Profile>>, 44 levels: BTreeMap<Format, Vec<Level>>, 54 let mut profiles: BTreeMap<Format, Vec<Profile>> = Default::default(); in new() 80 let levels: BTreeMap<Format, Vec<Level>> = if profiles.contains_key(&Format::H264) { in new()
|
D | mod.rs | 8 use std::collections::{BTreeMap, BTreeSet, VecDeque}; 58 timestamp_to_res_id: BTreeMap<Timestamp, InputResourceId>, 61 res_id_to_res_handle: BTreeMap<InputResourceId, ResourceHandle>, 64 res_id_to_offset: BTreeMap<InputResourceId, u32>, 70 res_id_to_frame_buf_id: BTreeMap<OutputResourceId, FrameBufferId>, 71 frame_buf_id_to_res_id: BTreeMap<FrameBufferId, OutputResourceId>, 91 res_id_to_res_handle: BTreeMap<OutputResourceId, ResourceHandle>, 355 map: BTreeMap<StreamId, Context<S>>,
|
/external/rust/crates/serde_cbor/tests/ |
D | value.rs | 8 use std::collections::BTreeMap; 20 map: BTreeMap<String, String>, 35 let map = BTreeMap::from_iter( in serde() 66 fn as_object(value: &Value) -> &BTreeMap<Value, Value> { in serde()
|
D | ser.rs | 49 use std::collections::BTreeMap; 65 let mut object = BTreeMap::new(); in test_object() 78 let mut object = BTreeMap::new(); in test_object_list_keys() 100 let mut object = BTreeMap::new(); in test_object_object_keys() 110 .map(|v| BTreeMap::from_iter(v.into_iter().map(|s| (s.to_owned(), ())))); in test_object_object_keys()
|
D | enum.rs | 32 use std::collections::BTreeMap; 177 let mut struct_map = BTreeMap::new(); in test_enum_as_map() 195 let mut number_map = BTreeMap::new(); in test_enum_as_map() 202 let mut flag_map = BTreeMap::new(); in test_enum_as_map() 212 let mut point_map = BTreeMap::new(); in test_enum_as_map()
|
/external/rust/crates/serde_cbor/src/value/ |
D | ser.rs | 9 use std::collections::BTreeMap; 169 let mut values = BTreeMap::new(); in serialize_newtype_variant() 220 map: BTreeMap::new(), in serialize_map() 242 map: BTreeMap::new(), in serialize_struct_variant() 262 map: BTreeMap<Value, Value>, 268 map: BTreeMap<Value, Value>, 333 let mut object = BTreeMap::new(); in end() 401 let mut object = BTreeMap::new(); in end()
|
D | mod.rs | 7 use std::collections::BTreeMap; 53 Map(BTreeMap<Value, Value>), 132 impl_from!(Value::Map, BTreeMap<Value, Value>);
|
/external/crosvm/devices/src/virtio/fs/ |
D | multikey.rs | 6 use std::collections::BTreeMap; 16 main: BTreeMap<K1, (K2, V)>, 17 alt: BTreeMap<K2, K1>, 28 main: BTreeMap::default(), in new() 29 alt: BTreeMap::default(), in new()
|
/external/crosvm/devices/src/utils/ |
D | event_loop.rs | 10 use std::collections::BTreeMap; 45 handlers: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>>, 64 let fd_callbacks: Arc<Mutex<BTreeMap<RawDescriptor, Weak<dyn EventHandler>>>> = in start() 65 Arc::new(Mutex::new(BTreeMap::new())); in start()
|
/external/crosvm/arch/src/ |
D | serial.rs | 6 use std::collections::BTreeMap; 358 serial_parameters: &mut BTreeMap<(SerialHardware, u8), SerialParameters>, in set_default_serial_parameters() 416 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in add_serial_devices() 485 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in get_serial_cmdline() 540 let mut serial_parameters = BTreeMap::new(); in get_serial_cmdline_default() 553 let mut serial_parameters = BTreeMap::new(); in get_serial_cmdline_virtio_console() 581 let mut serial_parameters = BTreeMap::new(); in get_serial_cmdline_virtio_console_serial_earlycon() 625 let mut serial_parameters = BTreeMap::new(); in get_serial_cmdline_virtio_console_invalid_earlycon()
|
D | lib.rs | 10 use std::collections::BTreeMap; 72 PerVcpu(BTreeMap<usize, Vec<usize>>), 112 pub pid_debug_label_map: BTreeMap<u32, String>, 152 serial_parameters: &BTreeMap<(SerialHardware, u8), SerialParameters>, in build_vm() 318 BTreeMap<u32, String>, in generate_pci_root() 324 let mut pid_labels = BTreeMap::new(); in generate_pci_root() 338 let mut io_ranges = BTreeMap::new(); in generate_pci_root() 347 let mut device_ranges = BTreeMap::new(); in generate_pci_root()
|
/external/crosvm/usb_util/src/ |
D | descriptor.rs | 9 use std::collections::BTreeMap; 18 config_descriptors: BTreeMap<u8, ConfigDescriptorTree>, 25 interface_descriptors: BTreeMap<(u8, u8), InterfaceDescriptorTree>, 32 endpoint_descriptors: BTreeMap<u8, EndpointDescriptor>, 126 config_descriptors: BTreeMap::new(), in parse_usbfs_descriptors() 135 interface_descriptors: BTreeMap::new(), in parse_usbfs_descriptors() 144 endpoint_descriptors: BTreeMap::new(), in parse_usbfs_descriptors()
|
/external/crosvm/src/ |
D | crosvm.rs | 16 use std::collections::BTreeMap; 224 pub wayland_socket_paths: BTreeMap<String, PathBuf>, 238 pub serial_parameters: BTreeMap<(SerialHardware, u8), SerialParameters>, 303 wayland_socket_paths: BTreeMap::new(), in default() 314 serial_parameters: BTreeMap::new(), in default()
|
/external/rust/crates/rusqlite/src/util/ |
D | param_cache.rs | 3 use std::collections::BTreeMap; 9 pub(crate) struct ParamIndexCache(RefCell<BTreeMap<SmallCString, usize>>);
|
/external/crosvm/devices/src/virtio/video/ |
D | async_cmd_desc_map.rs | 5 use std::collections::BTreeMap; 17 pub struct AsyncCmdDescMap(BTreeMap<AsyncCmdTag, DescriptorChain>);
|
/external/rust/crates/clap/src/ |
D | map.rs | 10 use std::collections::BTreeMap; 15 inner: BTreeMap<usize, V>,
|
/external/crosvm/devices/src/virtio/video/encoder/ |
D | libvda_encoder.rs | 6 use std::collections::BTreeMap; 87 let mut parsed_formats: BTreeMap<Format, ParsedFormat> = BTreeMap::new(); in new() 127 let mut coded_format_profiles = BTreeMap::new(); in new()
|
/external/rust/crates/managed/ |
D | README.md | 71 The `std` feature enables use of `Box`, `Vec`, and `BTreeMap` through a dependency 76 The `alloc` feature enables use of `Box`, `Vec`, and `BTreeMap` through a dependency 107 #[cfg(/* BTreeMap available */)] 108 Owned(BTreeMap<K, V>)
|
/external/crosvm/devices/src/register_space/ |
D | register_space.rs | 6 use std::collections::btree_map::BTreeMap; 10 regs: BTreeMap<RegisterRange, Box<dyn RegisterInterface>>, 17 regs: BTreeMap::new(), in new()
|
/external/rust/crates/clap/src/args/ |
D | group.rs | 2 use std::collections::BTreeMap; 461 impl<'a> From<&'a BTreeMap<Yaml, Yaml>> for ArgGroup<'a> { 462 fn from(b: &'a BTreeMap<Yaml, Yaml>) -> Self { in from()
|
/external/rust/crates/bindgen/src/ir/ |
D | traversal.rs | 5 use std::collections::{BTreeMap, VecDeque}; 269 pub struct Paths<'ctx>(BTreeMap<ItemId, ItemId>, &'ctx BindgenContext); 273 Paths(BTreeMap::new(), ctx) in new()
|