Home
last modified time | relevance | path

Searched refs:BTreeMap (Results 1 – 25 of 83) sorted by relevance

1234

/external/crosvm/devices/src/virtio/input/
Ddefaults.rs5 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 …]
Devdev.rs15 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/
Ddeps.rs1 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/
Dbtree_map.rs5 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/
Dcapability.rs9 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()
Dmod.rs8 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/
Dvalue.rs8 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()
Dser.rs49 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()
Denum.rs32 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/
Dser.rs9 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()
Dmod.rs7 use std::collections::BTreeMap;
53 Map(BTreeMap<Value, Value>),
132 impl_from!(Value::Map, BTreeMap<Value, Value>);
/external/crosvm/devices/src/virtio/fs/
Dmultikey.rs6 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/
Devent_loop.rs10 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/
Dserial.rs6 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()
Dlib.rs10 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/
Ddescriptor.rs9 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/
Dcrosvm.rs16 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/
Dparam_cache.rs3 use std::collections::BTreeMap;
9 pub(crate) struct ParamIndexCache(RefCell<BTreeMap<SmallCString, usize>>);
/external/crosvm/devices/src/virtio/video/
Dasync_cmd_desc_map.rs5 use std::collections::BTreeMap;
17 pub struct AsyncCmdDescMap(BTreeMap<AsyncCmdTag, DescriptorChain>);
/external/rust/crates/clap/src/
Dmap.rs10 use std::collections::BTreeMap;
15 inner: BTreeMap<usize, V>,
/external/crosvm/devices/src/virtio/video/encoder/
Dlibvda_encoder.rs6 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/
DREADME.md71 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/
Dregister_space.rs6 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/
Dgroup.rs2 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/
Dtraversal.rs5 use std::collections::{BTreeMap, VecDeque};
269 pub struct Paths<'ctx>(BTreeMap<ItemId, ItemId>, &'ctx BindgenContext);
273 Paths(BTreeMap::new(), ctx) in new()

1234