Home
last modified time | relevance | path

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

12345678910>>...48

/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/v8/src/
Daddress-map.h17 static void SetValue(HashMap::Entry* entry, uint32_t v) { in SetValue()
21 static uint32_t GetValue(HashMap::Entry* entry) { in GetValue()
25 inline static HashMap::Entry* LookupEntry(HashMap* map, HeapObject* obj, in LookupEntry()
51 HashMap::Entry* entry = LookupEntry(map_, obj, false); in Lookup()
57 HashMap* map_;
151 : no_allocation_(), map_(new HashMap(HashMap::PointersMatch)) {} in BackReferenceMap()
156 HashMap::Entry* entry = LookupEntry(map_, obj, false); in Lookup()
163 HashMap::Entry* entry = LookupEntry(map_, obj, true); in Add()
177 HashMap* map_;
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
DEncryptedPrivateKeyInfoData.java21 import java.util.HashMap;
1132 private static final HashMap<String, byte[]> validEPKIEncodings = new HashMap<String, byte[]>();
1134 … private static final HashMap<String, byte[]> validEPKIEncodingsNP = new HashMap<String, byte[]>();
1136 private static final HashMap<String, byte[]> validAPEncodings = new HashMap<String, byte[]>();
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java9 import java.util.HashMap;
73 Map changes = new HashMap(); in TestOneFormLocales()
82 Map changes = new HashMap(); in TestSingular1Locales()
92 Map changes = new HashMap(); in TestSingular01Locales()
101 Map changes = new HashMap(); in TestZeroSingularLocales()
125 Map changes = new HashMap(); in TestSingularDual()
136 Map changes = new HashMap(); in TestSingularZeroSome()
149 Map changes = new HashMap(); in TestSpecial12_19()
168 Map changes = new HashMap(); in TestPaucalExcept11_14()
187 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatTest.java10 import java.util.HashMap;
77 Map changes = new HashMap(); in TestOneFormLocales()
86 Map changes = new HashMap(); in TestSingular1Locales()
96 Map changes = new HashMap(); in TestSingular01Locales()
105 Map changes = new HashMap(); in TestZeroSingularLocales()
129 Map changes = new HashMap(); in TestSingularDual()
140 Map changes = new HashMap(); in TestSingularZeroSome()
153 Map changes = new HashMap(); in TestSpecial12_19()
172 Map changes = new HashMap(); in TestPaucalExcept11_14()
191 Map changes = new HashMap(); in TestPaucalRu()
[all …]
/external/v8/test/cctest/
Dtest-dictionary.cc45 template<typename HashMap>
46 static void TestHashMap(Handle<HashMap> table) { in TestHashMap()
52 table = HashMap::Put(table, a, b); in TestHashMap()
65 table = HashMap::Put(table, a, factory->NewJSArray(13)); in TestHashMap()
71 table = HashMap::Remove(table, a, &was_present); in TestHashMap()
81 table = HashMap::Put(table, key, value); in TestHashMap()
83 CHECK_NE(table->FindEntry(key), HashMap::kNotFound); in TestHashMap()
93 CHECK_EQ(table->FindEntry(key), HashMap::kNotFound); in TestHashMap()
109 TEST(HashMap) { in TEST() argument
200 template<class HashMap>
[all …]
/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/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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DTestKeyPair.java31 import java.util.HashMap;
39 private static final HashMap privateKeyEncoding = new HashMap();
40 private static final HashMap publicKeyEncoding = new HashMap();
/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/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/
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
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]
/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/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/v8/src/profiler/
Dstrings-storage.cc25 for (HashMap::Entry* p = names_.Start(); p != NULL; p = names_.Next(p)) { in ~StringsStorage()
33 HashMap::Entry* entry = GetEntry(src, len); in GetCopy()
55 HashMap::Entry* entry = GetEntry(str, len); in AddOrDisposeString()
110 size += sizeof(HashMap::Entry) * names_.capacity(); in GetUsedMemorySize()
111 for (HashMap::Entry* p = names_.Start(); p != NULL; p = names_.Next(p)) { in GetUsedMemorySize()
118 HashMap::Entry* StringsStorage::GetEntry(const char* str, int len) { in GetEntry()
/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/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/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/autotest/frontend/client/src/autotest/moblab/
DConfigSettingsView.java22 import java.util.HashMap;
28 private HashMap<String, HashMap<String, TextBox> > configValueTextBoxes;
81 … for (Entry<String, HashMap<String, TextBox> > sections : configValueTextBoxes.entrySet()) { in initialize()
130 configValueTextBoxes = new HashMap<String, HashMap<String, TextBox> >(); in loadData()
134 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
/external/apache-http/src/org/apache/http/impl/client/
DBasicCredentialsProvider.java33 import java.util.HashMap;
60 private final HashMap<AuthScope, Credentials> credMap;
67 this.credMap = new HashMap<AuthScope, Credentials>(); in BasicCredentialsProvider()
98 final HashMap<AuthScope, Credentials> map, in matchCredentials()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java20 import java.util.HashMap;
54 private final HashMap<Integer, BluetoothGattCharacteristic> mCharacteristicList;
55 private final HashMap<Integer, BluetoothGattDescriptor> mDescriptorList;
56 private final HashMap<Integer, BluetoothGattServer> mBluetoothGattServerList;
57 private final HashMap<Integer, myBluetoothGattServerCallback> mBluetoothGattServerCallbackList;
58 private final HashMap<Integer, BluetoothGattService> mGattServiceList;
59 private final HashMap<Integer, List<BluetoothGattService>> mBluetoothGattDiscoveredServicesList;
60 private final HashMap<Integer, List<BluetoothDevice>> mGattServerDiscoveredDevicesList;
79 mCharacteristicList = new HashMap<Integer, BluetoothGattCharacteristic>(); in GattServerFacade()
80 mDescriptorList = new HashMap<Integer, BluetoothGattDescriptor>(); in GattServerFacade()
[all …]

12345678910>>...48