Home
last modified time | relevance | path

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

12345678910>>...85

/external/antlr/runtime/ObjC/Framework/
DHashMap.h43 @class HashMap;
67 - (void) recordAccess:(HashMap *)m;
68 - (void) recordRemoval:(HashMap *)m;
76 HashMap *hm;
79 + (HashIterator *) newIterator:(HashMap *)aHM;
81 - (id) init:(HashMap *)aHM;
91 + (HMEntryIterator *)newIterator:(HashMap *)aHM;
93 - (id) init:(HashMap *)aHM;
101 + (HMValueIterator *)newIterator:(HashMap *)aHM;
103 - (id) init:(HashMap *)aHM;
[all …]
DTokenRewriteStream.h108 HashMap *programs;
111 HashMap *lastRewriteTokenIndexes;
114 @property (retain, getter=getPrograms, setter=setPrograms:) HashMap *programs;
115 @property (retain, getter=getLastRewriteTokenIndexes, setter=setLastRewriteTokenIndexes:) HashMap *…
125 - (HashMap *)getPrograms;
126 - (void)setPrograms:(HashMap *)aProgList;
155 - (HashMap *) getProgram:(NSString *)name;
156 - (HashMap *) initializeProgram:(NSString *)name;
163 - (HashMap *)reduceToSingleOperationPerIndex:(HashMap *)rewrites;
164 - (HashMap *)getKindOfOps:(HashMap *)rewrites KindOfClass:(Class)kind;
[all …]
/external/rust/crates/nom/tests/
Dini_str.rs12 use std::collections::HashMap;
46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values()
53 named!(category_and_keys<&str,(&str,HashMap<&str,&str>)>,
57 named!(categories_aggregator<&str, Vec<(&str, HashMap<&str,&str>)> >, many0!(category_and_keys));
59 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
154 let mut expected: HashMap<&str, &str> = HashMap::new(); in parse_multiple_keys_and_values_test()
179 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test()
205 let mut expected_1: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
208 let mut expected_2: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
211 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test()
Dini.rs13 use std::collections::HashMap;
38 named!(keys_and_values<&[u8], HashMap<&str, &str> >,
45 named!(category_and_keys<&[u8],(&str,HashMap<&str,&str>)>,
54 named!(categories<&[u8], HashMap<&str, HashMap<&str,&str> > >,
158 let mut expected: HashMap<&str, &str> = HashMap::new(); in parse_multiple_keys_and_values_test()
183 let mut expected_h: HashMap<&str, &str> = HashMap::new(); in parse_category_then_multiple_keys_and_values_test()
211 let mut expected_1: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
214 let mut expected_2: HashMap<&str, &str> = HashMap::new(); in parse_multiple_categories_test()
217 let mut expected_h: HashMap<&str, HashMap<&str, &str>> = HashMap::new(); in parse_multiple_categories_test()
/external/libchrome/mojo/public/cpp/bindings/
Dmap_traits_wtf_hash_map.h15 struct MapTraits<WTF::HashMap<K, V>> {
18 using Iterator = typename WTF::HashMap<K, V>::iterator;
19 using ConstIterator = typename WTF::HashMap<K, V>::const_iterator;
21 static bool IsNull(const WTF::HashMap<K, V>& input) {
26 static void SetToNull(WTF::HashMap<K, V>* output) {
31 static size_t GetSize(const WTF::HashMap<K, V>& input) {
35 static ConstIterator GetBegin(const WTF::HashMap<K, V>& input) {
38 static Iterator GetBegin(WTF::HashMap<K, V>& input) { return input.begin(); }
50 static bool Insert(WTF::HashMap<K, V>& input, IK&& key, IV&& value) {
51 if (!WTF::HashMap<K, V>::IsValidKey(key)) {
[all …]
/external/testng/src/test/java/test/asserttests/
DArrayEqualityAssertTest.java8 import java.util.HashMap;
89 Map<String, int[]> map = new HashMap<>(); in arrayInsideMapAssertEquals()
91 Map<String, int[]> mapCopy = new HashMap<>(); in arrayInsideMapAssertEquals()
100 Map<String, int[]> map = new HashMap<>(); in arrayInsideMapAssertEqualsWithMessage()
102 Map<String, int[]> mapCopy = new HashMap<>(); in arrayInsideMapAssertEqualsWithMessage()
111 Map<String, int[]> map = new HashMap<>(); in arrayInsideMapAssertNotEquals()
113 Map<String, int[]> mapCopy = new HashMap<>(); in arrayInsideMapAssertNotEquals()
153 Map<String, Map<String, int[]>> map = new HashMap<>(); in arrayDeepInMapsAssertEquals()
154 Map<String, int[]> innerMap = new HashMap<>(); in arrayDeepInMapsAssertEquals()
157 Map<String, Map<String, int[]>> mapCopy = new HashMap<>(); in arrayDeepInMapsAssertEquals()
[all …]
/external/rust/crates/itertools/src/
Dgrouping_map.rs4 use std::collections::HashMap;
100 pub fn aggregate<FO, R>(self, mut operation: FO) -> HashMap<K, R> in aggregate()
103 let mut destination_map = HashMap::new(); in aggregate()
140 pub fn fold<FO, R>(self, init: R, mut operation: FO) -> HashMap<K, R> in fold()
177 pub fn fold_first<FO>(self, mut operation: FO) -> HashMap<K, V> in fold_first()
206 pub fn collect<C>(self) -> HashMap<K, C> in collect()
209 let mut destination_map = HashMap::new(); in collect()
236 pub fn max(self) -> HashMap<K, V> in max()
261 pub fn max_by<F>(self, mut compare: F) -> HashMap<K, V> in max_by()
289 pub fn max_by_key<F, CK>(self, mut f: F) -> HashMap<K, V> in max_by_key()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DEdslTest.java25 import java.util.HashMap;
68 filter("*.html").through(DummyFilterImpl.class, new HashMap<String, String>()); in testConfigureServlets()
72 .through(DummyFilterImpl.class, new HashMap<String, String>()); in testConfigureServlets()
76 .through(Key.get(DummyFilterImpl.class), new HashMap<String, String>()); in testConfigureServlets()
80 .through(new DummyFilterImpl(), new HashMap<String, String>()); in testConfigureServlets()
85 serve("/4/*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets()
88 serve("*.html").with(Key.get(DummyServlet.class), new HashMap<String, String>()); in testConfigureServlets()
91 serveRegex("/person/[0-9]*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets()
95 .with(Key.get(DummyServlet.class), new HashMap<String, String>()); in testConfigureServlets()
98 serveRegex("/person/[0-9]/3/*").with(new DummyServlet(), new HashMap<String, String>()); in testConfigureServlets()
/external/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()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/
DB3FormatTest.java33 import java.util.HashMap;
74 Map<String, String> carrier = new HashMap<String, String>(); in serialize_SampledContext()
83 Map<String, String> carrier = new HashMap<String, String>(); in serialize_NotSampledContext()
91 Map<String, String> headersNotSampled = new HashMap<String, String>(); in parseMissingSampledAndMissingFlag()
100 Map<String, String> headersSampled = new HashMap<String, String>(); in parseSampled()
110 Map<String, String> headersNotSampled = new HashMap<String, String>(); in parseZeroSampled()
120 Map<String, String> headersFlagSampled = new HashMap<String, String>(); in parseFlag()
130 Map<String, String> headersFlagNotSampled = new HashMap<String, String>(); in parseZeroFlag()
140 Map<String, String> headersEightBytes = new HashMap<String, String>(); in parseEightBytesTraceId()
150 Map<String, String> headersEightBytes = new HashMap<String, String>(); in parseEightBytesTraceId_NotSampledSpanContext()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitPreferences.java8 import java.util.HashMap;
20 … private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences = new HashMap<>();
85HashMap<String, UnitPreference[]> unitPreferencesMap = this.mapToUnitPreferences.get(key); in getUnitPreferences()
131 private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences;
134 this.mapToUnitPreferences = new HashMap<>(); in UnitPreferencesSink()
137 public HashMap<String, HashMap<String, UnitPreference[]>> getMapToUnitPreferences() { in getMapToUnitPreferences()
207 HashMap<String, UnitPreference[]> shouldInsert; in insertUnitPreferences()
211 shouldInsert = new HashMap<>(); in insertUnitPreferences()
/external/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<>();
81HashMap<String, UnitPreference[]> unitPreferencesMap = this.mapToUnitPreferences.get(key); in getUnitPreferences()
121 private HashMap<String, HashMap<String, UnitPreference[]>> mapToUnitPreferences;
124 this.mapToUnitPreferences = new HashMap<>(); in UnitPreferencesSink()
127 public HashMap<String, HashMap<String, UnitPreference[]>> getMapToUnitPreferences() { in getMapToUnitPreferences()
197 HashMap<String, UnitPreference[]> shouldInsert; in insertUnitPreferences()
201 shouldInsert = new HashMap<>(); in insertUnitPreferences()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dwtf_clone_equals_util.h31 struct CloneTraits<WTF::HashMap<K, V>, false> {
32 static WTF::HashMap<K, V> Clone(const WTF::HashMap<K, V>& input) {
33 WTF::HashMap<K, V> result;
55 struct EqualsTraits<WTF::HashMap<K, V>, false> {
56 static bool Equals(const WTF::HashMap<K, V>& a, const WTF::HashMap<K, V>& b) {
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DAnySetterTest.java18 HashMap<String,Object> _map;
21 _map = new HashMap<String,Object>(); in MapImitator()
47 HashMap<String,int[]> _map;
50 _map = new HashMap<String,int[]>(); in MapImitatorWithValue()
72 HashMap<String,Object> map = new HashMap<String,Object>();
90 if (additionalProperties == null) additionalProperties = new HashMap<String, Object>(); in addAdditionalProperty()
119 return new HashMap<String, JsonNode>(); in getUndefinedProperties()
135 protected Map<String,Base> props = new HashMap<String,Base>();
152 protected HashMap<String, String> other = new HashMap<String, String>();
164 protected HashMap<String, String> other;
[all …]
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsMapContainingKeyTest.java6 import java.util.HashMap;
21 Map<String,Integer> map = new HashMap<String, Integer>(); in testMatchesSingletonMapContainingKey()
28 Map<String,Integer> map = new HashMap<String, Integer>(); in testMatchesMapContainingKey()
50 Map<Integer, String> map = new HashMap<Integer, String>(); in testMatchesMapContainingKeyWithIntegerKeys()
58 Map<Number, String> map = new HashMap<Number, String>(); in testMatchesMapContainingKeyWithNumberKeys()
73 assertMismatchDescription("map was []", hasKey("Foo"), new HashMap<String,Integer>()); in testDoesNotMatchEmptyMap()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLanguageTest.java4 import java.util.HashMap;
34 final HashMap<String, String> language2likely = new HashMap<String, String>();
35 final HashMap<String, String> script2likely = new HashMap<String, String>();
37 …final HashMap<String, Map<Type, String>> language2script = new HashMap<String, Map<Type, String>>(…
38 …final HashMap<String, Map<Type, String>> language2territory = new HashMap<String, Map<Type, String…
39 …final HashMap<String, Map<Type, String>> script2language = new HashMap<String, Map<Type, String>>(…
40 …final HashMap<String, Map<Type, String>> script2territory = new HashMap<String, Map<Type, String>>…
81 final HashMap<String, Map<Type, String>> language2script, in getBest()
88 public void addMap(HashMap<String, Map<Type, String>> hashMap, in addMap()
/external/robolectric-shadows/resources/src/test/java/org/robolectric/manifest/
DActivityDataTest.java6 import java.util.HashMap;
16 HashMap<String, String> attrs = new HashMap<>(); in test_non_android_namespace()
26 HashMap<String, String> attrs = new HashMap<>(); in test_config_changes()
/external/turbine/java/com/google/turbine/bytecode/
DConstantPool.java25 import java.util.HashMap;
36 private final Map<String, Integer> utf8Pool = new HashMap<>();
37 private final Map<Integer, Integer> classInfoPool = new HashMap<>();
38 private final Map<Integer, Integer> stringPool = new HashMap<>();
39 private final Map<Integer, Integer> integerPool = new HashMap<>();
40 private final Map<Double, Integer> doublePool = new HashMap<>();
41 private final Map<Float, Integer> floatPool = new HashMap<>();
42 private final Map<Long, Integer> longPool = new HashMap<>();
43 private final Map<Integer, Integer> modulePool = new HashMap<>();
44 private final Map<Integer, Integer> packagePool = new HashMap<>();
/external/rust/crates/protobuf/src/reflect/
Dmessage.rs9 use std::collections::HashMap;
35 index_by_name: HashMap<String, usize>,
36 index_by_name_or_json_name: HashMap<String, usize>,
37 index_by_number: HashMap<u32, usize>,
76 let mut field_proto_by_name = HashMap::new(); in new_non_generic_by_rust_name()
81 let mut index_by_name = HashMap::new(); in new_non_generic_by_rust_name()
82 let mut index_by_name_or_json_name = HashMap::new(); in new_non_generic_by_rust_name()
83 let mut index_by_number = HashMap::new(); in new_non_generic_by_rust_name()
140 let mut field_proto_by_name = HashMap::new(); in new_non_generic_by_pb_name()
145 let mut index_by_name = HashMap::new(); in new_non_generic_by_pb_name()
[all …]
Denums.rs8 use std::collections::HashMap;
39 index_by_name: HashMap<String, usize>,
40 index_by_number: HashMap<i32, usize>,
63 let mut index_by_name = HashMap::new(); in new()
64 let mut index_by_number = HashMap::new(); in new()
97 let mut index_by_name = HashMap::new(); in new_pb_name()
98 let mut index_by_number = HashMap::new(); in new_pb_name()
/external/rust/crates/hashbrown/src/external_trait_impls/rayon/
Dmap.rs4 use crate::hash_map::HashMap;
298 impl<K: Sync, V: Sync, S, A: Allocator + Clone> HashMap<K, V, S, A> { implementation
318 impl<K: Send, V: Send, S, A: Allocator + Clone> HashMap<K, V, S, A> { impl
338 impl<K, V, S, A> HashMap<K, V, S, A> impl
358 for HashMap<K, V, S, A>
372 for &'a HashMap<K, V, S, A>
387 for &'a mut HashMap<K, V, S, A>
405 impl<K, V, S> FromParallelIterator<(K, V)> for HashMap<K, V, S, Global> implementation
415 let mut map = HashMap::default(); in from_par_iter()
422 impl<K, V, S, A> ParallelExtend<(K, V)> for HashMap<K, V, S, A> implementation
[all …]
/external/volley/src/test/java/com/android/volley/mock/
DTestRequest.java22 import java.util.HashMap;
61 mPostParams = new HashMap<String, String>(); in DeprecatedPost()
93 mParams = new HashMap<String, String>(); in PostWithBody()
115 private Map<String, String> mParams = new HashMap<String, String>();
118 mParams = new HashMap<String, String>(); in PutWithBody()
165 private Map<String, String> mParams = new HashMap<String, String>();
168 mParams = new HashMap<String, String>(); in PatchWithBody()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotationMap.java16 protected HashMap<Class<?>,Annotation> _annotations;
21 HashMap<Class<?>,Annotation> ann = new HashMap<>(4); in of()
26 AnnotationMap(HashMap<Class<?>,Annotation> a) { in AnnotationMap()
97 HashMap<Class<?>,Annotation> annotations = new HashMap<Class<?>,Annotation>(); in merge()
153 _annotations = new HashMap<Class<?>,Annotation>(); in _add()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/
DResolvedTypeParametersMap.java42 nameToValue = new HashMap<>(); in Builder()
43 nameToDeclaration = new HashMap<>(); in Builder()
48 this.nameToValue = new HashMap<>(); in Builder()
50 this.nameToDeclaration = new HashMap<>(); in Builder()
100 this.nameToValue = new HashMap<>(); in ResolvedTypeParametersMap()
102 this.nameToDeclaration = new HashMap<>(); in ResolvedTypeParametersMap()
140 Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes = new HashMap<>(); in replaceAll()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLocaleDataTables.java4 import java.util.HashMap;
1460 Map<Integer, Byte> buildMap = new HashMap<>();
2218 Map<Integer, Integer> buildMap = new HashMap<>();
2232 Map<Integer, Integer> buildMap = new HashMap<>();
2369 Map<Integer, Integer> buildMap = new HashMap<>();
2379 Map<String, Map<Integer, Integer>> buildMap = new HashMap<>();

12345678910>>...85