/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 43 HashMap<Integer, String> hm = new HashMap<Integer, String>(); local 58 hm.put(new Integer(val), "V:" + val); 63 if (SPEW) System.out.println("hm.size() = " + hm.size()); 64 assertEquals(tm.size(), hm.size()); 78 String hms = hm.get(vv); 87 String hms = hm.remove(new Integer(val)); 91 assertEquals(tm.size(), hm.size()); 99 String hms = hm.get(vv);
|
OldMapEntryTest.java | 29 HashMap hm = null; field in class:OldMapEntryTest 33 assertTrue(hm.containsKey(me.getKey())); 34 hm.clear(); 44 assertTrue(hm.containsValue(me.getValue())); 45 hm.clear(); 79 hm.clear(); 102 hm = new HashMap(); 104 hm.put(new Integer(1), "one"); 105 hm.put(new Integer(2), "two"); 107 i = hm.entrySet().iterator() [all...] |
OldTreeSetTest.java | 44 HashMap hm = new HashMap(); local 45 hm.put("First", new Integer(1)); 46 hm.put(new Integer(2), "two"); 49 new TreeSet(hm.values()); 79 HashMap hm = new HashMap(); local 80 hm.put("First", new Integer(1)); 81 hm.put(new Integer(2), "two"); 101 HashMap hm = new HashMap(); local 102 hm.put("First", new Integer(1)); 103 hm.put(new Integer(2), "two") [all...] |
OldTreeMapTest.java | 114 HashMap hm = new HashMap(); local 115 hm.put(new Integer(1), "one"); 116 hm.put("one", new Integer(1)); 119 new TreeMap(hm);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 47 HashMap hm = new HashMap(); local 48 hm.put("attribute", "value"); 49 hm.put("KeySize", "1024"); 50 hm.put("AAA", "BBB"); 53 null, hm);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 89 HashMap hm = new HashMap(); local 90 hm.put("attribute", "value"); 91 hm.put("KeySize", "1024"); 92 hm.put("AAA", "BBB"); 95 null, hm);
|
ProviderTest.java | 98 HashMap hm = new HashMap(); local 99 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 100 hm.put("Property 1", "value 1"); 101 hm.put("serviceName.algName attrName", "attrValue"); 102 hm.put("Alg.Alias.engineClassName.aliasName", "standardName"); 103 p.putAll(hm);
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Provider_ImplTest.java | 53 HashMap hm = new HashMap(); local 54 hm.put("KeySize", "1024"); 55 hm.put("AAA", "BBB"); 57 "className", null, hm);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 150 HashMap hm = new HashMap(); local 151 hm.put("KeySize", "1024"); 152 hm.put("AAA", "BBB"); 154 "className", null, hm);
|
/libcore/luni/src/main/java/java/security/ |
Security.java | 235 HashMap<String, String> hm = new HashMap<String, String>(); local 241 hm.put(filter, ""); 243 hm.put(filter.substring(0, i), filter.substring(i + 1)); 245 return getProviders(hm);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 52 IdentityHashMap hm; field in class:IdentityHashMap2Test 110 assertTrue("Failed to construct correct IdentityHashMap", hm 132 hm.clear(); 133 assertEquals("Clear failed to reset size", 0, hm.size()); 136 hm.get(objArray2[i])); 145 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); 146 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm); 148 assertTrue("Clone answered unequal IdentityHashMap", hm 181 assertTrue("Returned false for valid key", hm 183 assertTrue("Returned true for copy of valid key", !hm [all...] |
HashMapTest.java | 96 HashMap hm; field in class:HashMapTest 175 assertTrue("Failed to construct correct HashMap", hm 180 hm = new HashMap(mockMap); 197 hm.clear(); 198 assertEquals("Clear failed to reset size", 0, hm.size()); 201 hm.get(objArray2[i])); 209 assertEquals("Failed to reset size on large integer map", 0, hm.size()); 220 HashMap hm2 = (HashMap) hm.clone(); 221 assertTrue("Clone answered equivalent HashMap", hm2 != hm); 223 assertTrue("Clone answered unequal HashMap", hm 601 HashMap<MyKey, Integer> hm = new HashMap<MyKey, Integer>(10, 0.5f); local 784 HashMap<String, String> hm = new HashMap<String, String>(); local 798 HashMap<String, String> hm = new HashMap<String, String>(); local [all...] |
LinkedHashMapTest.java | 41 LinkedHashMap hm; field in class:LinkedHashMapTest 134 assertTrue("Failed to construct correct LinkedHashMap", hm 145 hm.get("T")); 146 hm.put("T", "HELLO"); 147 assertEquals("Get returned incorecct value for existing key", "HELLO", hm.get("T") 163 hm.put("KEY", "VALUE"); 165 "VALUE", hm.get("KEY")); 183 hm2.putAll(hm); 214 Set s = hm.entrySet(); 216 assertTrue("Returned set of incorrect size", hm.size() == s.size()) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 52 IdentityHashMap hm; field in class:IdentityHashMapTest 101 assertTrue("Failed to construct correct IdentityHashMap", hm 121 hm.clear(); 122 assertEquals("Clear failed to reset size", 0, hm.size()); 125 hm.get(objArray2[i])); 134 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); 135 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm); 137 assertTrue("Clone answered unequal IdentityHashMap", hm 170 assertTrue("Returned false for valid key", hm 172 assertTrue("Returned true for copy of valid key", !hm [all...] |
HashMapTest.java | 45 HashMap hm; field in class:HashMapTest 114 assertTrue("Failed to construct correct HashMap", hm 118 hm = new HashMap(mockMap); 119 assertEquals(hm, mockMap); 127 hm.clear(); 128 assertEquals("Clear failed to reset size", 0, hm.size()); 131 hm.get(objArray2[i])); 140 HashMap hm2 = (HashMap) hm.clone(); 141 assertTrue("Clone answered equivalent HashMap", hm2 != hm); 143 assertTrue("Clone answered unequal HashMap", hm [all...] |
LinkedHashMapTest.java | 38 LinkedHashMap hm; field in class:LinkedHashMapTest 127 assertTrue("Failed to construct correct LinkedHashMap", hm 138 hm.get("T")); 139 hm.put("T", "HELLO"); 140 assertEquals("Get returned incorecct value for existing key", "HELLO", hm.get("T") 156 hm.put("KEY", "VALUE"); 158 "VALUE", hm.get("KEY")); 190 hm2.putAll(hm); 221 Set s = hm.entrySet(); 223 assertTrue("Returned set of incorrect size", hm.size() == s.size()) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
HandlerBox.java | 45 HashMap<String, String> hm = new HashMap<String, String>(); typedefs 46 hm.put("odsm", "ObjectDescriptorStream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 47 hm.put("crsm", "ClockReferenceStream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 48 hm.put("sdsm", "SceneDescriptionStream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 49 hm.put("m7sm", "MPEG7Stream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 50 hm.put("ocsm", "ObjectContentInfoStream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 51 hm.put("ipsm", "IPMP Stream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 52 hm.put("mjsm", "MPEG-J Stream - defined in ISO/IEC JTC1/SC29/WG11 - CODING OF MOVING PICTURES AND AUDIO"); 53 hm.put("mdir", "Apple Meta Data iTunes Reader"); 54 hm.put("mp7b", "MPEG-7 binary XML") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 101 HashMap<String, String> hm = new HashMap<String, String>(); local 102 hm.put("attribute", "value"); 103 hm.put("KeySize", "1024"); 104 hm.put("AAA", "BBB"); 106 s = new Provider.Service(p, "type", "algorithm", "className", null, hm);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedStringTest.java | 418 Map<AttributedCharacterIterator.Attribute, String> hm = new HashMap<AttributedCharacterIterator.Attribute, String>(); local 423 hm.put(aci[0], "value1"); 424 hm.put(aci[1], "value2"); 426 AttributedString attrString = new AttributedString(test, hm); 449 Map<AttributedCharacterIterator.Attribute, String> hm = new HashMap<AttributedCharacterIterator.Attribute, String>(); local 454 hm.put(aci[0], "value1"); 455 hm.put(aci[1], "value2"); 458 attrString.addAttributes(hm, 2, 4);
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserTestSupport.java | 180 HashMap<String, String> hm = new HashMap<String, String>(); local 181 hm.put(KEY_IS_END_DOC, data_isEndDocument.toString()); 182 hm.put(KEY_IS_START_DOC, data_isStartDocument.toString()); 183 hm.put(KEY_TEXT, data_text.toString()); 184 hm.put(KEY_ERROR, data_error.toString()); 185 hm.put(KEY_FATAL_ERROR, data_fatalError.toString()); 186 hm.put(KEY_WARNING, data_warning.toString()); 187 hm.put(KEY_END_ELEMENT, data_endElement.toString()); 188 hm.put(KEY_END_PREFIX_MAPPING, data_endPrefixMapping.toString()); 190 hm.put(KEY_PROCESSING_INSTRUCTION 376 HashMap<String, String> hm = new HashMap<String, String>(); local [all...] |
SAXParserTest.java | 312 HashMap<String, String> hm = local 316 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 347 HashMap<String, String> hm = sp.readFile( local 351 assertTrue(SAXParserTestSupport.equalsMaps(hm, 406 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 411 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 448 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 452 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())); 504 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 509 assertTrue(SAXParserTestSupport.equalsMaps(hm, dh.createData())) 547 HashMap<String, String> hm = sp.readFile( local 655 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 696 HashMap<String, String> hm = sp.readFile(list_out_hb[i].getPath()); local 743 HashMap<String, String> hm = new SAXParserTestSupport().readFile( local 778 HashMap<String, String> hm = sp.readFile( local [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
AbstractHeightMap.java | 222 float[] hm = new float[heightData.length];
local 224 hm[i] = heightScale * heightData[i];
226 return hm;
|
/external/clang/test/SemaCXX/ |
member-pointer.cpp | 74 HasMembers hm; local 78 int *pmii = &hm.i; 82 &hm.f; // expected-error {{cannot create a non-constant pointer to member function}} 94 HasMembers hm, *phm = &hm; local 97 hm.*pi = 0; 99 (void)&(hm.*pi); 101 (void)&((&hm)->*pi); 104 (hm.*pf)(); 107 (void)(hm->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the (…) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainTestReadWrite.java | 293 float[] hm = new float[s * s]; local 296 hm[(i * s) + j] = i * j; 302 System.out.print(hm[i * s + j] + " "); 307 TerrainQuad terrain = new TerrainQuad("terrain", b, s, hm); 311 if (hm[i] != hm2[i]) {
|
/libcore/luni/src/main/java/java/util/jar/ |
JarVerifier.java | 189 HashMap<String, Attributes> hm = entry.getValue(); local 190 if (hm.get(name) != null) {
|