Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/flutter/flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/
DMotionEventCodec.java12 import java.util.HashMap;
20 public static HashMap<String, Object> encode(MotionEvent event) { in encode()
21 ArrayList<HashMap<String,Object>> pointerProperties = new ArrayList<>(); in encode()
22 ArrayList<HashMap<String,Object>> pointerCoords = new ArrayList<>(); in encode()
34 HashMap<String, Object> eventMap = new HashMap<>(); in encode()
53 private static HashMap<String, Object> encodePointerProperties(PointerProperties properties) { in encodePointerProperties()
54 HashMap<String, Object> map = new HashMap<>(); in encodePointerProperties()
60 private static HashMap<String, Object> encodePointerCoords(PointerCoords coords) { in encodePointerCoords()
61 HashMap<String, Object> map = new HashMap<>(); in encodePointerCoords()
75 public static MotionEvent decode(HashMap<String, Object> data) { in decode()
[all …]
/third_party/rust/crates/nom/tests/
Dini_str.rs10 use std::collections::HashMap;
46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values()
53 fn category_and_keys(i: &str) -> IResult<&str, (&str, HashMap<&str, &str>)> { in category_and_keys()
57 fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { in categories_aggregator()
61 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
156 let mut expected: HashMap<&str, &str> = HashMap::new(); in parse_multiple_keys_and_values_test()
181 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test()
207 let mut expected_1: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
210 let mut expected_2: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
213 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test()
Dini.rs12 use std::collections::HashMap;
30 fn keys_and_values(i: &[u8]) -> IResult<&[u8], HashMap<&str, &str>> { in keys_and_values()
36 fn category_and_keys(i: &[u8]) -> IResult<&[u8], (&str, HashMap<&str, &str>)> { in category_and_keys()
42 fn categories(i: &[u8]) -> IResult<&[u8], HashMap<&str, HashMap<&str, &str>>> { in categories()
144 let mut expected: HashMap<&str, &str> = HashMap::new(); in parse_multiple_keys_and_values_test()
169 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test()
197 let mut expected_1: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
200 let mut expected_2: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
203 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test()
/third_party/rust/crates/once_cell/examples/
Dlazy_static.rs4 use std::collections::HashMap;
6 static HASHMAP: Lazy<HashMap<u32, &'static str>> = Lazy::new(|| {
7 let mut m = HashMap::new();
15 fn hashmap() -> &'static HashMap<u32, &'static str> { in hashmap()
16 static INSTANCE: OnceCell<HashMap<u32, &'static str>> = OnceCell::new(); in hashmap()
18 let mut m = HashMap::new(); in hashmap()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitPreferences.java7 import java.util.HashMap;
16 … private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences = new HashMap<>();
83HashMap<String, UnitPreference[]> unitPreferencesMap = this.mapToUnitPreferences.get(key); in getUnitPreferences()
123 private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences;
126 this.mapToUnitPreferences = new HashMap<>(); in UnitPreferencesSink()
129 public HashMap<String, HashMap<String, UnitPreference[]>> getMapToUnitPreferences() { in getMapToUnitPreferences()
199 HashMap<String, UnitPreference[]> shouldInsert; in insertUnitPreferences()
203 shouldInsert = new HashMap<>(); in insertUnitPreferences()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java11 import java.util.HashMap;
78 Map changes = new HashMap(); in TestOneFormLocales()
88 Map changes = new HashMap(); in TestSingular1Locales()
99 Map changes = new HashMap(); in TestSingular01Locales()
109 Map changes = new HashMap(); in TestZeroSingularLocales()
134 Map changes = new HashMap(); in TestSingularDual()
146 Map changes = new HashMap(); in TestSingularZeroSome()
161 Map changes = new HashMap(); in TestSpecial12_19()
181 Map changes = new HashMap(); in TestPaucalExcept11_14()
201 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralFormatTest.java12 import java.util.HashMap;
81 Map changes = new HashMap(); in TestOneFormLocales()
91 Map changes = new HashMap(); in TestSingular1Locales()
102 Map changes = new HashMap(); in TestSingular01Locales()
112 Map changes = new HashMap(); in TestZeroSingularLocales()
137 Map changes = new HashMap(); in TestSingularDual()
149 Map changes = new HashMap(); in TestSingularZeroSome()
164 Map changes = new HashMap(); in TestSpecial12_19()
184 Map changes = new HashMap(); in TestPaucalExcept11_14()
204 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/java/com/google/oboe/samples/hellooboe/
DMainActivity.java37 import java.util.HashMap;
207 HashMap<String, String> selectedOption = (HashMap<String, String>) in getBufferSizeInBursts()
255 private List<HashMap<String, String>> createBufferSizeOptionsList() { in createBufferSizeOptionsList()
257 ArrayList<HashMap<String, String>> bufferSizeOptions = new ArrayList<>(); in createBufferSizeOptionsList()
260 HashMap<String, String> option = new HashMap<>(); in createBufferSizeOptionsList()
272 private List<HashMap<String, String>> createAudioApisOptionsList() { in createAudioApisOptionsList()
274 ArrayList<HashMap<String, String>> audioApiOptions = new ArrayList<>(); in createAudioApisOptionsList()
277 HashMap<String, String> option = new HashMap<>(); in createAudioApisOptionsList()
/third_party/rust/crates/nom/benchmarks/benches/
Dini_str.rs15 use std::collections::HashMap;
46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values()
53 fn category_and_keys(i: &str) -> IResult<&str, (&str, HashMap<&str, &str>)> { in category_and_keys()
57 fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { in categories_aggregator()
61 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dmod.rs59 use crate::HashMap;
180 ) -> HashMap<ItemId, Vec<ItemId>> in generate_dependencies()
184 let mut dependencies = HashMap::default(); in generate_dependencies()
214 use crate::{HashMap, HashSet};
265 struct Graph(HashMap<Node, Vec<Node>>);
299 reachable: HashMap<Node, HashSet<Node>>,
307 type Output = HashMap<Node, HashSet<Node>>;
370 impl<'a> From<ReachableFrom<'a>> for HashMap<Node, HashSet<Node>> { implementation
389 let mut expected = HashMap::default(); in monotone()
Dhas_vtable.rs7 use crate::{Entry, HashMap};
68 have_vtable: HashMap<ItemId, HasVtableResult>,
77 dependencies: HashMap<ItemId, Vec<ItemId>>,
136 type Output = HashMap<ItemId, HasVtableResult>;
139 let have_vtable = HashMap::default(); in new()
215 impl<'ctx> From<HasVtableAnalysis<'ctx>> for HashMap<ItemId, HasVtableResult> { implementation
Dtemplate_params.rs97 use crate::{HashMap, HashSet};
154 used: HashMap<ItemId, Option<ItemSet>>,
156 dependencies: HashMap<ItemId, Vec<ItemId>>,
377 type Output = HashMap<ItemId, ItemSet>;
380 let mut used = HashMap::default(); in new()
381 let mut dependencies = HashMap::default(); in new()
599 impl<'ctx> From<UsedTemplateParameters<'ctx>> for HashMap<ItemId, ItemSet> { implementation
Dsizedness.rs10 use crate::{Entry, HashMap};
107 dependencies: HashMap<TypeId, Vec<TypeId>>,
110 sized: HashMap<TypeId, SizednessResult>,
168 type Output = HashMap<TypeId, SizednessResult>;
186 let sized = HashMap::default(); in new()
337 impl<'ctx> From<SizednessAnalysis<'ctx>> for HashMap<TypeId, SizednessResult> { implementation
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DTpiStream.cpp145 if (!HashMap.empty()) in buildHashMap()
150 HashMap.resize(Header->NumHashBuckets); in buildHashMap()
156 HashMap[HV].push_back(TIB++); in buildHashMap()
165 if (Bucket > HashMap.size()) in findRecordsByName()
169 for (TypeIndex TI : HashMap[Bucket]) { in findRecordsByName()
177 bool TpiStream::supportsTypeLookup() const { return !HashMap.empty(); } in supportsTypeLookup()
194 for (TypeIndex TI : HashMap[BucketIdx]) { in findFullDeclForForwardRef()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DAccessibilityChannel.java6 import java.util.HashMap;
41 final HashMap<String, Object> annotatedEvent = (HashMap<String, Object>) message;
44 final HashMap<String, Object> data = (HashMap<String, Object>) annotatedEvent.get("data");
/third_party/rust/crates/tracing/tracing-opentelemetry/tests/
Dtrace_state_propagation.rs12 use std::collections::{HashMap, HashSet};
72 let mut outgoing_req_carrier = HashMap::new(); in inject_context_into_outgoing_requests()
92 carrier_a: &HashMap<String, String>, in assert_carrier_attrs_eq()
93 carrier_b: &HashMap<String, String>, in assert_carrier_attrs_eq()
134 fn test_carrier() -> HashMap<String, String> { in test_carrier()
135 let mut carrier = HashMap::new(); in test_carrier()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java36 import java.util.HashMap;
72 new HashMap<FieldDescriptor, List<TextFormatParseLocation>>(); in TextFormatParseInfoTree()
79 new HashMap<FieldDescriptor, List<TextFormatParseInfoTree>>(); in TextFormatParseInfoTree()
171 locationsFromField = new HashMap<FieldDescriptor, List<TextFormatParseLocation>>(); in Builder()
172 subtreeBuildersFromField = new HashMap<FieldDescriptor, List<Builder>>(); in Builder()
/third_party/rust/crates/tracing/examples/examples/
Dvaluable_instrument.rs3 use std::collections::HashMap;
10 headers: HashMap<&'a str, &'a str>,
28 .collect::<HashMap<_, _>>(); in run()
Dopentelemetry-remote-context.rs3 use std::collections::HashMap;
15 fn build_example_carrier() -> HashMap<String, String> { in build_example_carrier()
16 let mut carrier = HashMap::new(); in build_example_carrier()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleImpl.java12 import java.util.HashMap;
35 HashMap<String, String> aliasesVisited, in createBundleObject()
158 …protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> ali… in createBundleObject()
198 protected UResourceBundle handleGet(String indexStr, HashMap<String, String> aliasesVisited, in handleGet()
204 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet()
232 protected UResourceBundle handleGet(String resKey, HashMap<String, String> aliasesVisited, in handleGet()
241 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUResourceBundleImpl.java13 import java.util.HashMap;
36 HashMap<String, String> aliasesVisited, in createBundleObject()
159 …protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> ali… in createBundleObject()
199 protected UResourceBundle handleGet(String indexStr, HashMap<String, String> aliasesVisited, in handleGet()
205 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet()
233 protected UResourceBundle handleGet(String resKey, HashMap<String, String> aliasesVisited, in handleGet()
242 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DInternalLocaleBuilder.java14 import java.util.HashMap;
33 private HashMap<CaseInsensitiveChar, String> _extensions;
35 private HashMap<CaseInsensitiveString, String> _ukeywords;
140 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setUnicodeLocaleKeyword()
193 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setExtension()
300 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setExtensions()
310 _extensions = new HashMap<CaseInsensitiveChar, String>(1); in setExtensions()
426 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setLocale()
432 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setLocale()
599 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setUnicodeLocaleExtension()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java13 import java.util.HashMap;
29 private HashMap<CaseInsensitiveChar, String> _extensions;
31 private HashMap<CaseInsensitiveString, String> _ukeywords;
136 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setUnicodeLocaleKeyword()
189 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setExtension()
296 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setExtensions()
306 _extensions = new HashMap<CaseInsensitiveChar, String>(1); in setExtensions()
422 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setLocale()
428 _extensions = new HashMap<CaseInsensitiveChar, String>(4); in setLocale()
595 _ukeywords = new HashMap<CaseInsensitiveString, String>(4); in setUnicodeLocaleExtension()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DFakeTransformer.java5 import java.util.HashMap;
15 private final Map<CldrValue, ImmutableList<Result>> resultMap = new HashMap<>();
16 private final Map<RbPath, ImmutableList<Result>> fallbackMap = new HashMap<>();
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DIDNAConformanceTest.java18 import java.util.HashMap;
59 HashMap tempHash = (HashMap) inputData.get(element); in TestConformance()
259 HashMap hashItem = new HashMap(); in getInputData()
300 hashItem = new HashMap(); in getInputData()

12345678910>>...19