Home
last modified time | relevance | path

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

12345678910>>...62

/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 …]
DTokenRewriteStream.m205 programs = [HashMap newHashMap];
206 …[programs addObject:[MapElement newMapElementWithName:DEFAULT_PROGRAM_NAME Node:[HashMap newHashMa…
207 lastRewriteTokenIndexes = [HashMap newHashMap];
215 programs = [HashMap newHashMap];
216 …[programs addObject:[MapElement newMapElementWithName:DEFAULT_PROGRAM_NAME Node:[HashMap newHashMa…
217 lastRewriteTokenIndexes = [HashMap newHashMap];
226 programs = [HashMap newHashMap];
227 …[programs addObject:[MapElement newMapElementWithName:DEFAULT_PROGRAM_NAME Node:[HashMap newHashMa…
228 lastRewriteTokenIndexes = [HashMap newHashMap];
235 - (HashMap *)getPrograms
[all …]
DHashMap.m2 // HashMap.m
33 #import "HashMap.h"
106 * in the HashMap.
108 - (void) recordAccess:(HashMap *)m
117 - (void) recordRemoval:(HashMap *)m
133 + (HashIterator *)newIterator:(HashMap *)aHM
138 - (id) init:(HashMap *)aHM
201 + (HMValueIterator *)newIterator:(HashMap *)aHM
206 - (id) init:(HashMap *)aHM
223 + (HMKeyIterator *)newIterator:(HashMap *)aHM
[all …]
/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/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/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/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/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/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/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/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()
160 Map changes = new HashMap(); in TestSpecial12_19()
180 Map changes = new HashMap(); in TestPaucalExcept11_14()
200 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/external/icu/android_icu4j/src/main/tests/android/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()
163 Map changes = new HashMap(); in TestSpecial12_19()
183 Map changes = new HashMap(); in TestPaucalExcept11_14()
203 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/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/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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLClientInfoExceptionTest.java23 import java.util.HashMap;
53 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LMap()
74 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LMapLThrowable()
113 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LStringLMap()
136 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LStringLMapLThrowable()
163 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LStringLStringLMap()
186 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LStringLStringLMapLThrowable()
213 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in test_Constructor_LStringLStringILMapLThrowable()
259 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in testSerializationSelf()
274 Map<String, ClientInfoStatus> failedProperties = new HashMap<String, ClientInfoStatus>(); in testSerializationCompatibility()
/external/testng/src/test/java/test/
DBaseTest.java11 import java.util.HashMap;
91 private Map<Long, XmlTest> m_tests= new HashMap<>();
92 private Map<Long, Map> m_passedTests= new HashMap<>();
93 private Map<Long, Map> m_failedTests= new HashMap<>();
94 private Map<Long, Map> m_skippedTests= new HashMap<>();
95 private Map<Long, XmlTest> m_testConfigs= new HashMap<>();
96 private Map<Long, Map> m_passedConfigs= new HashMap<>();
97 private Map<Long, Map> m_failedConfigs= new HashMap<>();
98 private Map<Long, Map> m_skippedConfigs= new HashMap<>();
99 private Map<Long, Map> m_failedButWithinSuccessPercentageTests= new HashMap<>();
[all …]
/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/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMapTypeAdapterFactory.java31 import java.util.HashMap;
50 final TypeAdapter<HashMap<?, ?>> hashMapAdapter = in create()
51 (TypeAdapter<HashMap<?, ?>>) gson.getAdapter( in create()
52 TypeToken.get(betterToken.getSupertype(Map.class).getSubtype(HashMap.class) in create()
56 HashMap<?, ?> hashMap = Maps.newHashMap((Map<?, ?>) value); in create()
61 HashMap<?, ?> hashMap = hashMapAdapter.read(in); in create()
/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<>();
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java26 import java.util.HashMap;
32 private HashMap<String, PackageInfo> mPackages
33 = new HashMap<String, PackageInfo>();
34 private HashMap<String, ClassInfo> mAllClasses
35 = new HashMap<String, ClassInfo>();
37 = new HashMap<ClassInfo, String>();
39 = new HashMap<ClassInfo, ArrayList<String>>();
137 public HashMap<String, PackageInfo> getPackages() { in getPackages()
/external/emma/core/java12/com/vladium/emma/data/
DMetaData.java14 import java.util.HashMap;
50 final HashMap _classMap; in shallowCopy()
54 _classMap = (HashMap) m_classMap.clone (); in shallowCopy()
209 m_classMap = new HashMap (); in MetaData()
223 final HashMap classMap = new HashMap (size); in readExternal()
269 private MetaData (final CoverageOptions options, final HashMap classMap, in MetaData()
284 private /*final*/ HashMap /* classVMName:String->ClassDescriptor */ m_classMap; // [never null]
DCoverageData.java14 import java.util.HashMap;
47 final HashMap _coverageMap; in shallowCopy()
51 _coverageMap = (HashMap) m_coverageMap.clone (); in shallowCopy()
159 m_coverageMap = new HashMap (); in CoverageData()
167 final HashMap coverageMap = new HashMap (size); in readExternal()
220 private CoverageData (final HashMap coverageMap) in CoverageData()
227 private /*final*/ HashMap /* String(classVMName) -> DataHolder */ m_coverageMap; // never null
/external/doclava/src/com/google/doclava/
DPackageInfo.java64 mAnnotationsMap = new HashMap<String, ClassInfo>(); in initializeMaps()
65 mInterfacesMap = new HashMap<String, ClassInfo>(); in initializeMaps()
66 mOrdinaryClassesMap = new HashMap<String, ClassInfo>(); in initializeMaps()
67 mEnumsMap = new HashMap<String, ClassInfo>(); in initializeMaps()
68 mExceptionsMap = new HashMap<String, ClassInfo>(); in initializeMaps()
69 mErrorsMap = new HashMap<String, ClassInfo>(); in initializeMaps()
320 private HashMap<String, ClassInfo> mAnnotationsMap;
321 private HashMap<String, ClassInfo> mInterfacesMap;
322 private HashMap<String, ClassInfo> mOrdinaryClassesMap;
323 private HashMap<String, ClassInfo> mEnumsMap;
[all …]

12345678910>>...62