Home
last modified time | relevance | path

Searched refs:HashMap (Results 1 – 24 of 24) sorted by relevance

/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DStringPool.java21 import java.util.HashMap;
38 private HashMap<Integer, Integer> lengthMap = new HashMap<>();
40 private HashMap<Integer, StringItem> offsetMap;
41 private HashMap<Integer, String> int2StrMap = new HashMap<>();
46 public StringPool(HashMap<String, Integer> hashMap, int offset) { in StringPool()
60 offsetMap = new HashMap<>(); in StringPool()
DPluralFetcher.java18 import java.util.HashMap;
42 private HashMap<String, String> map;
43 private HashMap<String, String> decimalMap;
60 map = new HashMap<>(); in init()
72 decimalMap = new HashMap<>(); in init()
DMeasureFormatPatternFetcher.java18 import java.util.HashMap;
45 private HashMap<String, String> locale2Pattern;
75 locale2Pattern = new HashMap<>(); in init()
DDataFetcher.java34 import java.util.HashMap;
65 private static final HashMap<String, Integer> ID_MAP = new HashMap<>(64);
66 private static final HashMap<String, Integer> LOCALES = new HashMap<>();
67 … private static final HashMap<Integer, ArrayList<LocaleConfig>> LOCALE_CONFIGS = new HashMap<>(64);
DLocaleList.java21 import java.util.HashMap;
38 public LocaleList(int startOffset, HashMap<String, Integer> locales, Map<Integer, in LocaleList()
DFetcher.java29 import java.util.HashMap;
52 private static HashMap<Integer, String> int2Str = new HashMap<>();
53 private static HashMap<String, Integer> str2Int = new HashMap<>();
130 public static HashMap<Integer, String> getInt2Str() { in getInt2Str()
139 public static HashMap<String, Integer> getStr2Int() { in getStr2Int()
/base/request/request/services/service/request/src/task/
Dnotify.rs14 use std::collections::HashMap;
44 pub(crate) extras: HashMap<String, String>,
65 extras: HashMap::<String, String>::new(), in new()
Dtick.rs14 use std::collections::HashMap;
24 registers: Mutex<HashMap<u32, Waker>>,
57 registers: Mutex::new(HashMap::new()), in get_instance()
Dconfig.rs14 use std::collections::HashMap;
74 pub(crate) headers: HashMap<String, String>,
78 pub(crate) extras: HashMap<String, String>,
Dinfo.rs14 use std::collections::HashMap;
36 pub(crate) extras: HashMap<String, String>,
/base/request/request/services/service/request/src/utils/
Dmod.rs18 use std::collections::HashMap;
69 pub(crate) fn hashmap_to_string(map: &HashMap<String, String>) -> String { in hashmap_to_string()
80 pub(crate) fn string_to_hashmap(str: &mut String) -> HashMap<String, String> { in string_to_hashmap()
81 let mut map = HashMap::<String, String>::new(); in string_to_hashmap()
/base/update/updater/services/rust/hash_signed_data/src/
Dimg_hash_check.rs17 use std::collections::HashMap;
82 data: HashMap<String, HashMap<Tuple<T>, Vec<u8>>>
182 let mut hash_data_map: HashMap<String, HashMap<Tuple<T>, Vec<u8>>> = HashMap::new(); in load_img_hash_data()
190 let mut single_data: HashMap<Tuple<T>, Vec<u8>> = HashMap::new(); in load_img_hash_data()
/base/request/request/test/unittest/rust/src/
Dcommon.rs17 use std::collections::HashMap;
39 headers: HashMap::<String, String>::new(), in construct_download_task()
42 extras: HashMap::<String, String>::new(), in construct_download_task()
/base/request/request/services/service/request/src/manager/
Dunload.rs14 use std::collections::{HashMap, HashSet};
172 pub(crate) fn query_all_task_config(&self) -> Option<HashMap<u32, TaskConfig>> { in query_all_task_config()
174 let mut task_config_map: HashMap<u32, TaskConfig> = HashMap::new(); in query_all_task_config()
Dtask_manager.rs14 use std::collections::{HashMap, HashSet};
41 pub(crate) tasks: HashMap<u32, Arc<RequestTask>>,
44 pub(crate) app_task_map: HashMap<u64, HashSet<u32>>,
45 pub(crate) app_state_map: HashMap<u64, Arc<AtomicU8>>,
140 tasks: HashMap::new(), in new()
141 app_task_map: HashMap::new(), in new()
142 app_state_map: HashMap::new(), in new()
Dqos.rs15 use std::collections::{HashMap, HashSet};
64 foreground_low_qos_cases: HashMap<u64, SortQueue>,
69 background_low_qos_cases: HashMap<u64, SortQueue>,
73 app_state_map: HashMap<u64, ApplicationState>,
74 app_high_qos_count: HashMap<u64, usize>,
135 foreground_low_qos_cases: HashMap::new(), in new()
139 background_low_qos_cases: HashMap::new(), in new()
143 app_state_map: HashMap::new(), in new()
144 app_high_qos_count: HashMap::new(), in new()
682 let mut changes_filter = HashMap::new(); in state_turn_to_background()
[all …]
/base/request/request/services/service/request/src/service/notify/
Dmanager.rs14 use std::collections::HashMap;
27 remotes: HashMap<NotifyKey, Notifier>,
28 unregistered: HashMap<NotifyKey, Box<NotifyData>>,
35 remotes: HashMap::new(), in new()
36 unregistered: HashMap::new(), in new()
/base/request/request/services/service/request/src/service/command/
Dconstruct.rs14 use std::collections::HashMap;
176 let mut headers: HashMap<String, String> = HashMap::new(); in execute()
189 let mut extras: HashMap<String, String> = HashMap::new(); in execute()
/base/msdp/device_status/rust/plugin_manager/src/
Dlib.rs25 use std::collections::HashMap;
60 loaders: HashMap<Intention, libloading::Library>
/base/security/asset/frameworks/definition/src/
Dextension.rs18 use std::{collections::HashMap, fmt::Display, hash::Hash};
92 impl<K> Extension<K> for HashMap<K, Value> implementation
Dlib.rs18 use std::collections::HashMap;
143 pub type AssetMap = HashMap<Tag, Value>;
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
Ddsoftbus.rs23 use std::collections::{HashMap, HashSet};
143 session_dev_map: HashMap<String, i32>,
145 channel_status_map: HashMap<String, bool>,
147 operation_mutex: Mutex<HashMap<String, i32>>,
760 fn get_session_dev_map(&self) -> HashMap<String, i32> { in get_session_dev_map()
1190 pub fn get_session_dev_map(&self) -> FusionResult<HashMap<String, i32>> { in get_session_dev_map()
/base/security/asset/services/db_operator/src/
Dtypes.rs18 use std::{cmp::Ordering, collections::HashMap};
23 pub type DbMap = HashMap<&'static str, Value>;
/base/security/asset/test/unittest/inner_api_rust/src/
Dquery.rs16 use std::collections::HashMap;
283 let mut bytes_tags: HashMap<Tag, &[u8]> = HashMap::new(); in query_with_bytes_tag()