Home
last modified time | relevance | path

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

12345678910>>...45

/external/libmojo/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(); }
49 static bool Insert(WTF::HashMap<K, V>& input, const K& key, V&& value) {
50 if (!WTF::HashMap<K, V>::isValidKey(key)) {
[all …]
Dwtf_map.h33 using Iterator = typename WTF::HashMap<Key, Value>::iterator;
34 using ConstIterator = typename WTF::HashMap<Key, Value>::const_iterator;
43 WTFMap(WTF::HashMap<Key, Value>&& other) in WTFMap()
47 WTFMap& operator=(WTF::HashMap<Key, Value>&& other) {
64 return WTF::HashMap<Key, Value>::isValidKey(key); in IsValidKey()
126 const WTF::HashMap<Key, Value>& storage() const { return map_; } in storage()
129 WTF::HashMap<Key, Value> PassStorage() { in PassStorage()
145 void Swap(WTF::HashMap<Key, Value>* other) { in Swap()
192 WTF::HashMap<Key, Value> map_;
/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.java28 import java.util.HashMap;
67 new HashMap<String, String>()); in testConfigureServlets()
71 new HashMap<String, String>()); in testConfigureServlets()
75 new HashMap<String, String>()); in testConfigureServlets()
79 new HashMap<String, String>()); in testConfigureServlets()
85 serve("/4/*").with(DummyServlet.class, new HashMap<String, String>()); in testConfigureServlets()
89 new HashMap<String, String>()); in testConfigureServlets()
93 new HashMap<String, String>()); in testConfigureServlets()
97 new HashMap<String, String>()); in testConfigureServlets()
101 new HashMap<String, String>()); in testConfigureServlets()
/external/libmojo/mojo/public/cpp/bindings/lib/
Dwtf_clone_equals_util.h32 struct CloneTraits<WTF::HashMap<K, V>, false> {
33 static WTF::HashMap<K, V> Clone(const WTF::HashMap<K, V>& input) {
34 WTF::HashMap<K, V> result;
56 struct EqualsTraits<WTF::HashMap<K, V>, false> {
57 static bool Equals(const WTF::HashMap<K, V>& a, const WTF::HashMap<K, V>& b) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatTest.java12 import java.util.HashMap;
74 Map changes = new HashMap(); in TestOneFormLocales()
84 Map changes = new HashMap(); in TestSingular1Locales()
95 Map changes = new HashMap(); in TestSingular01Locales()
105 Map changes = new HashMap(); in TestZeroSingularLocales()
130 Map changes = new HashMap(); in TestSingularDual()
142 Map changes = new HashMap(); in TestSingularZeroSome()
156 Map changes = new HashMap(); in TestSpecial12_19()
176 Map changes = new HashMap(); in TestPaucalExcept11_14()
196 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java11 import java.util.HashMap;
73 Map changes = new HashMap(); in TestOneFormLocales()
83 Map changes = new HashMap(); in TestSingular1Locales()
94 Map changes = new HashMap(); in TestSingular01Locales()
104 Map changes = new HashMap(); in TestZeroSingularLocales()
129 Map changes = new HashMap(); in TestSingularDual()
141 Map changes = new HashMap(); in TestSingularZeroSome()
155 Map changes = new HashMap(); in TestSpecial12_19()
175 Map changes = new HashMap(); in TestPaucalExcept11_14()
195 Map changes = new HashMap(); in TestPaucalRu()
[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/volley/src/test/java/com/android/volley/mock/
DTestRequest.java23 import java.util.HashMap;
63 mPostParams = new HashMap<String, String>(); in DeprecatedPost()
95 mParams = new HashMap<String, String>(); in PostWithBody()
117 private Map<String, String> mParams = new HashMap<String, String>();
120 mParams = new HashMap<String, String>(); in PutWithBody()
167 private Map<String, String> mParams = new HashMap<String, String>();
170 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/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/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/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/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/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue173/
DRecursiveAnchorTest.java18 import java.util.HashMap;
30 Map<String, Map<String, Object>> rootMap = new HashMap<String, Map<String, Object>>(); in testWithoutCustomStyle()
31 Map<String, Object> enclosedMap = new HashMap<String, Object>(); in testWithoutCustomStyle()
40 Map<String, Map<String, Object>> rootMap = new HashMap<String, Map<String, Object>>(); in testWithBlockStyle()
41 Map<String, Object> enclosedMap = new HashMap<String, Object>(); in testWithBlockStyle()
/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()
300 private HashMap<String, ClassInfo> mAnnotationsMap;
301 private HashMap<String, ClassInfo> mInterfacesMap;
302 private HashMap<String, ClassInfo> mOrdinaryClassesMap;
303 private HashMap<String, ClassInfo> mEnumsMap;
[all …]
/external/testng/src/test/java/test/thread/
DHelper.java3 import java.util.HashMap;
7 private static Map<String, Map<Long, Long>> m_maps = new HashMap<>();
16 result = new HashMap<>(); in getMap()
26 m_maps = new HashMap<>(); in reset()
/external/v8/src/profiler/
Dstrings-storage.cc26 for (base::HashMap::Entry* p = names_.Start(); p != NULL; in ~StringsStorage()
35 base::HashMap::Entry* entry = GetEntry(src, len); in GetCopy()
57 base::HashMap::Entry* entry = GetEntry(str, len); in AddOrDisposeString()
112 size += sizeof(base::HashMap::Entry) * names_.capacity(); in GetUsedMemorySize()
113 for (base::HashMap::Entry* p = names_.Start(); p != NULL; in GetUsedMemorySize()
120 base::HashMap::Entry* StringsStorage::GetEntry(const char* str, int len) { in GetEntry()
/external/v8/src/snapshot/
Dserializer.h44 for (base::HashMap::Entry* p = impl_.Start(); p != NULL; in ~NameMap()
51 base::HashMap::Entry* entry = FindOrCreateEntry(code_address); in Insert()
58 base::HashMap::Entry* entry = FindEntry(code_address); in Lookup()
63 base::HashMap::Entry* entry = FindEntry(code_address); in Remove()
72 base::HashMap::Entry* from_entry = FindEntry(from); in Move()
76 base::HashMap::Entry* to_entry = FindOrCreateEntry(to); in Move()
93 base::HashMap::Entry* FindOrCreateEntry(Address code_address) { in FindOrCreateEntry()
98 base::HashMap::Entry* FindEntry(Address code_address) { in FindEntry()
102 void RemoveEntry(base::HashMap::Entry* entry) { in RemoveEntry()
106 base::HashMap impl_;
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DValue.java22 import java.util.HashMap;
44 EMPTY_PART_ESCAPED = new HashMap<EscapeMode, Value>(2);
50 EMPTY_UNESCAPED = new HashMap<EscapeMode, Value>(2);
55 ZERO_PART_ESCAPED = new HashMap<EscapeMode, Value>(2);
60 ZERO_UNESCAPED = new HashMap<EscapeMode, Value>(2);
65 ONE_PART_ESCAPED = new HashMap<EscapeMode, Value>(2);
70 ONE_UNESCAPED = new HashMap<EscapeMode, Value>(2);
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DSchema.java18 import java.util.HashMap;
38 private HashMap theEntities =
39 new HashMap(); // String -> Character
40 private HashMap theElementTypes =
41 new HashMap(); // String -> ElementType
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DConstrainedMapTest.java26 import java.util.HashMap;
45 new HashMap<String, String>(), in testPutWithForbiddenKeyForbiddenValue()
57 new HashMap<String, String>(), in testPutWithForbiddenKeyAllowedValue()
69 new HashMap<String, String>(), in testPutWithAllowedKeyForbiddenValue()
83 new HashMap<String, String>(), in create()
/external/autotest/frontend/client/src/autotest/moblab/
DConfigSettingsView.java24 import java.util.HashMap;
40 private HashMap<String, HashMap<String, TextBox> > configValueTextBoxes;
95 … for (Entry<String, HashMap<String, TextBox> > sections : configValueTextBoxes.entrySet()) { in initialize()
138 configValueTextBoxes = new HashMap<String, HashMap<String, TextBox> >(); in loadData()
142 HashMap<String, TextBox> sectionKeyValues = new HashMap<String, TextBox>(); in loadData()
/external/emma/core/java12/com/vladium/util/
DIProperties.java15 import java.util.HashMap;
87 final HashMap map = new HashMap (); in wrap()
176 _clone.m_valueMap = (HashMap) m_valueMap.clone (); in copy()
198 _delegateClone.m_valueMap = (HashMap) delegate.m_valueMap.clone (); in copy()
299 PropertiesImpl (final HashMap values, final IMapper mapper) in PropertiesImpl()
302 m_valueMap = values != null ? values : new HashMap (); in PropertiesImpl()
354 private /*final*/ HashMap m_valueMap; // never null

12345678910>>...45